CVE-2019-12386 Cross-site scripting in n/a
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.
Other vulnerabilities in n/a
Sources
Also known as GHSA-367h-866v-prvm, UBUNTU-CVE-2019-12386.