CVE-2016-3172 SQL injection in n/a
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.
Other vulnerabilities in Cacti Cacti
- CVE-2022-46169 Cacti Command Injection
- CVE-2026-39893 Cacti: Pre-authentication SQL injection via rfilter RLIKE clause in graph_view.php
- CVE-2026-39938 Cacti: Unauthenticated RCE on Graph Image
- CVE-2026-39955 Cacti has Pre-Authentication SQL Injection via unanchored FILTER_VALIDATE_REGEXP in graph_view.php
- CVE-2023-39361 Unauthenticated SQL Injection in graph_view.php in Cacti
Sources
Also known as ALPINE-CVE-2016-3172, DEBIAN-CVE-2016-3172, GHSA-3pph-g5w6-c57w, UBUNTU-CVE-2016-3172.