CVE-2024-41665 Ampache Stored Cross-site Scripting Vulnerability

Medium 5.5 Published Updated

An attacker with Content Manager permissions can inject malicious scripts into playlist names, stealing cookies from administrators and users.

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-41665?

CVE-2024-41665 is a medium-severity cross-site scripting vulnerability in ampache, published on 23 Jul 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, a web based audio/video streaming application and file manager, has a stored cross-site scripting (XSS) vulnerability in versions prior to 6.6.0. This vulnerability exists in the "Playlists - Democratic - Configure Democratic Playlist" feature. An attacker with Content Manager permissions can set the Name field to `<svg onload=alert(8)>`. When any administrator or user accesses the Democratic functionality, they will be affected by this stored XSS vulnerability. The attacker can exploit this vulnerability to obtain the cookies of any user or administrator who accesses the `democratic.php` file. Version 6.6.0 contains a patch for the issue.

Weakness: CWE-79

Which versions are affected by CVE-2024-41665?

It affects 1 product.

Products include Ampache Ampache.

How do I fix CVE-2024-41665?

No fix has been published for CVE-2024-41665 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-41665 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-41665 exists.

Sources

Also known as GHSA-cp44-89r2-fxph, UBUNTU-CVE-2024-41665.

Is CVE-2024-41665 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free