CVE-2023-50265 Bazarr Arbitrary file read in /api/swaggerui/static endpoint
An attacker can read arbitrary files from the server via the /api/swaggerui/static endpoint due to lack of filename validation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-50265?
CVE-2023-50265 is a high-severity path traversal vulnerability in morpheus65535 bazarr, published on 15 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Bazarr manages and downloads subtitles. Prior to 1.3.1, the /api/swaggerui/static endpoint in bazarr/app/ui.py does not validate the user-controlled filename variable and uses it in the send_file function, which leads to an arbitrary file read on the system. This issue is fixed in version 1.3.1.
Weakness: CWE-22
Which versions are affected by CVE-2023-50265?
It affects 1 product.
Products include Bazarr Bazarr.
How do I fix CVE-2023-50265?
No fix has been published for CVE-2023-50265 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-50265 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-50265 exists.