CVE-2021-32644 Cross-site Scripting in Random.php

Medium 6.4 Published Updated

Authenticated attackers can inject malicious scripts via random.php in Ampache, potentially leading to code execution or account takeover.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-32644?

CVE-2021-32644 is a medium-severity cross-site scripting vulnerability in ampache, published on 22 Jun 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Ampache is an open source web based audio/video streaming application and file manager. Due to a lack of input filtering versions 4.x.y are vulnerable to code injection in random.php. The attack requires user authentication to access the random.php page unless the site is running in demo mode. This issue has been resolved in 4.4.3.

Weakness: CWE-79

Which versions are affected by CVE-2021-32644?

It affects 1 product.

Products include Ampache Ampache.

How do I fix CVE-2021-32644?

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

There is no known exploitation of CVE-2021-32644 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-vqpj-xgw2-r54q, UBUNTU-CVE-2021-32644.

Is CVE-2021-32644 in your software?

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

Check your SBOMs for free