CVE-2019-12385 SQL injection in n/a

High 8.8 Published Updated

SQL injection in Ampache allows attackers to dump database contents, potentially leading to admin account compromise via weak password generation.

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

What is CVE-2019-12385?

CVE-2019-12385 is a high-severity SQL injection vulnerability in n/a, published on 22 Aug 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue was discovered in Ampache through 3.9.1. The search engine is affected by a SQL Injection, so any user able to perform lib/class/search.class.php searches (even guest users) can dump any data contained in the database (sessions, hashed passwords, etc.). This may lead to a full compromise of admin accounts, when combined with the weak password generator algorithm used in the lostpassword functionality.

Weakness: CWE-89

Which versions are affected by CVE-2019-12385?

It affects 1 product.

Products include Ampache Ampache.

How do I fix CVE-2019-12385?

Upgrade to a fixed version.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2019-12385 being exploited?

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

Sources

Also known as GHSA-p72w-3684-2crg, UBUNTU-CVE-2019-12385.

Is CVE-2019-12385 in your software?

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

Check your SBOMs for free