CVE-2016-3172 SQL injection in n/a

High 8.8 Published Updated

Authenticated attackers can execute arbitrary SQL commands in Cacti via the parent_id parameter, potentially compromising database integrity and confidentiality.

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-2016-3172?

CVE-2016-3172 is a high-severity SQL injection vulnerability in Cacti Cacti, published on 12 Apr 2016. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

SQL injection vulnerability in tree.php in Cacti 0.8.8g and earlier allows remote authenticated users to execute arbitrary SQL commands via the parent_id parameter in an item_edit action.

Weakness: CWE-89

Which versions are affected by CVE-2016-3172?

It affects 1 product.

Products include Cacti Cacti.

How do I fix CVE-2016-3172?

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-2016-3172 being exploited?

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

All Cacti Cacti vulnerabilities

Sources

Also known as ALPINE-CVE-2016-3172, DEBIAN-CVE-2016-3172, GHSA-3pph-g5w6-c57w, UBUNTU-CVE-2016-3172.

Is CVE-2016-3172 in your software?

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

Check your SBOMs for free