CVE-2019-12386 Cross-site scripting in n/a

Medium 5.4 Published Updated

Stored XSS in Ampache allows attackers to force admins to create privileged users, leading to account takeover and privilege escalation.

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
Available

What is CVE-2019-12386?

CVE-2019-12386 is a medium-severity cross-site scripting vulnerability in n/a, published on 22 Aug 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

An issue was discovered in Ampache through 3.9.1. A stored XSS exists in the localplay.php LocalPlay "add instance" functionality. The injected code is reflected in the instances menu. This vulnerability can be abused to force an admin to create a new privileged user whose credentials are known by the attacker.

Weakness: CWE-79

Which versions are affected by CVE-2019-12386?

It affects 1 product.

Products include Ampache Ampache.

How do I fix CVE-2019-12386?

Upgrade to a fixed version.

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-2019-12386 being exploited?

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

Sources

Also known as GHSA-367h-866v-prvm, UBUNTU-CVE-2019-12386.

Is CVE-2019-12386 in your software?

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

Check your SBOMs for free