SQL injection vulnerability in Cacti 0.8.6i and earlier, when register_argc_argv is enabled, allows remote attackers to execute arbitrary SQ
SQL injection vulnerability in Cacti 0.8.6i and earlier, when register_argc_argv is enabled, allows remote attackers to execute arbitrary SQL commands via the (1) second or (2) third arguments to cmd.php. NOTE: this issue can be leveraged to execute arbitrary commands since the SQL query results are later used in the polling_items array and popen function.
- Published
- Dec 28, 2006
- Updated
- Jun 16, 2026
- EPSS
- 2.6% · 85th percentile
- CWE
- —
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.6%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| the cacti group | cacti | cpe:2.3:a:the_cacti_group:cacti |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- the cacti group cactiup to 0.8.6i inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | cacti | before 0.8.6i-3 | 0.8.6i-3 |
| Debian:3.1 | cacti | before 0.8.6c-7sarge4 | 0.8.6c-7sarge4 |
| openSUSE:Tumbleweed | cacti | before 1.2.18-1.2 | 1.2.18-1.2 |
Same product
the cacti group: all recordsOther highest-scoring records for the same primary product.
- CVE-2005-2149config.php in Cacti 0.8.6e and earlier allows remote attackers to set the no_http_headers switch, then modify session information to gain pr41Plan
- CVE-2002-1478Cacti before 0.6.8 allows attackers to execute arbitrary commands via the "Data Input" option in console mode.41Plan
- CVE-2005-1526PHP remote file inclusion vulnerability in config_settings.php in Cacti before 0.8.6e allows remote attackers to execute arbitrary PHP code 35Monitor
- CVE-2007-3112graph_image.php in Cacti 0.8.6i, and possibly other versions, allows remote authenticated users to cause a denial of service (CPU consumptio32Monitor
- CVE-2005-2148Cacti 0.8.6e and earlier does not perform proper input validation to protect against common attacks, which allows remote attackers to execut31Monitor
- CVE-2005-1525SQL injection vulnerability in config_settings.php for Cacti before 0.8.6e allows remote attackers to execute arbitrary SQL commands via the31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:cacti | 0.8.6i-3 · Debian:12 | Package registry (OSV) |
| opensuse:cacti | 1.2.18-1.2 · openSUSE:Tumbleweed | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
—
CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- secunia.com/advisories/23528
- secunia.com/advisories/23665
- secunia.com/advisories/23917
- secunia.com/advisories/23941
- security.gentoo.org/glsa/glsa-200701-23.xml
- securitytracker.com/id?1017451
- www.cacti.net/release_notes_0_8_6j.php
- www.debian.org/security/2007/dsa-1250
- www.mandriva.com/security/advisories?name=MDKSA-2007:015
- www.novell.com/linux/security/advisories/2007_07_cacti.html
- www.openpkg.com/security/advisories/OpenPKG-SA-2007.001.html
- www.securityfocus.com/archive/1/457290/100/0/threaded
- www.securityfocus.com/bid/21799
- www.vupen.com/english/advisories/2006/5193
- exchange.xforce.ibmcloud.com/vulnerabilities/31177
- www.exploit-db.com/exploits/3029
Vendor advisories and official records. Exploit/PoC links are deliberately left out.