PT-2023-31518 · Bazarr · Bazarr

Sylwia Budzynska

·

Published

2023-12-15

·

Updated

2023-12-19

·

CVE-2023-50265

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Bazarr versions prior to 1.3.1
Description The issue arises from the lack of validation of the user-controlled filename variable in the /api/swaggerui/static endpoint, which is located in bazarr/app/ui.py. This oversight allows the variable to be used in the send file function, resulting in an arbitrary file read on the system.
Recommendations For versions prior to 1.3.1, update to version 1.3.1 to resolve the issue. As a temporary workaround, consider restricting access to the /api/swaggerui/static endpoint until the update is applied. Avoid using the filename variable in the affected endpoint until the issue is resolved.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2023-50265

Affected Products

Bazarr