CVE-2024-51490 Stored Cross-Site Scripting in Ampache
Attackers can inject malicious JavaScript via the Custom URL Logo field in Ampache, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-51490?
CVE-2024-51490 is a medium-severity cross-site scripting vulnerability in ampache, published on 11 Nov 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Ampache is a web based audio/video streaming application and file manager. This vulnerability exists in the interface section of the Ampache menu, where users can change "Custom URL - Logo". This section is not properly sanitized, allowing for the input of strings that can execute JavaScript. This issue has been addressed in version 7.0.1 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-79
Which versions are affected by CVE-2024-51490?
It affects 1 product.
Products include Ampache Ampache.
How do I fix CVE-2024-51490?
No fix has been published for CVE-2024-51490 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-51490 being exploited?
There is no known exploitation of CVE-2024-51490 in the wild and no public exploit code.
Other vulnerabilities in ampache
Sources
Also known as GHSA-x979-f6px-7j2w, UBUNTU-CVE-2024-51490.