CVE-2008-0785: Multiple SQL injection vulnerabilities in Cacti 0.8.7 before 0.8.7b and 0.8.6 before 0.8.6k allow remote authenticated users to execute…
Noroxi assessment
Priority: Monitor (action score 31/100)
- Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 3.4% (FIRST EPSS); higher than 89.1% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: cacti (Debian:12) 0.8.7b-1; cacti (Debian:4.0) 0.8.6i-3.3.
Low priority for now. Upgrade to cacti (Debian:12) 0.8.7b-1; cacti (Debian:4.0) 0.8.6i-3.3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Multiple SQL injection vulnerabilities in Cacti 0.8.7 before 0.8.7b and 0.8.6 before 0.8.6k allow remote authenticated users to execute arbitrary SQL commands via the (1) graph_list parameter to graph_view.php, (2) leaf_id and id parameters to tree.php, (3) local_graph_id parameter to graph_xport.php, and (4) login_username parameter to index.php/login.
- Published
- Feb 14, 2008
- Updated
- Jun 16, 2026
- EPSS
- 3.4% · 89th percentile
- CWE
- CWE-89
Report tools
Action score
31
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| cacti | cacti | cpe:2.3:a:cacti:cacti |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- cacti cacti0.6.7
- cacti cacti0.8
- cacti cacti0.8.1
- cacti cacti0.8.2
- cacti cacti0.8.2a
- cacti cacti0.8.3
- cacti cacti0.8.3a
- cacti cacti0.8.4
+8 more rows
- cacti cacti0.8.5
- cacti cacti0.8.5a
- cacti cacti0.8.6c
- cacti cacti0.8.6f
- cacti cacti0.8.6i
- cacti cacti0.8.6j
- cacti cacti0.8.7
- cacti cacti0.8.7a
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.7b-1 | 0.8.7b-1 |
| Debian:4.0 | cacti | before 0.8.6i-3.3 | 0.8.6i-3.3 |
Same product
cacti: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-46169Unauthenticated Command InjectionKEV99Now
- CVE-2024-29895Cacti command injection in cmd_realtime.php70This week
- CVE-2023-39361Unauthenticated SQL Injection in graph_view.php in Cacti66This week
Published before and after this one in the same product
- ← EarlierCVE-2008-0783Feb 14, 2008 · Multiple cross-site scripting (XSS) vulnerabilities in Cacti 0.8.7 before 0.8.7b and 0.8.6 before 0.8.6k allow remote attackers to inject…19Monitor
- ← EarlierCVE-2008-0784Feb 14, 2008 · graph.php in Cacti 0.8.7 before 0.8.7b and 0.8.6 before 0.8.6k allows remote attackers to obtain the full path via an invalid…21Monitor
- Later →CVE-2008-0786Feb 14, 2008 · CRLF injection vulnerability in Cacti 0.8.7 before 0.8.7b and 0.8.6 before 0.8.6k, when running on older PHP interpreters, allows remote…18Monitor
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.7b-1 · Debian:12 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×4
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | webapps | 2008-02-12 |
| Exploit-DB entry | webapps | 2008-02-12 |
| Exploit-DB entry | webapps | 2008-02-12 |
| Exploit-DB entry | webapps | 2008-02-12 |
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.
- First PoC-3 d
- Published
- TodayNov 16, 2026+6849 d
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
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)
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd-primary
Root cause
The query text is built by concatenating user input. The database cannot tell where the data ends and the command begins.
The bug in code
The whole CWE-89 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const owner = req.query.owner;
const rows = await db.query(
"SELECT * FROM files WHERE owner = '" + owner + "'"
);Fixed
const owner = req.query.owner;
const rows = await db.query(
"SELECT * FROM files WHERE owner = $1",
[owner]
);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Expanding Control over the Operating System from the DatabaseCAPEC-470Very High
- SQL InjectionCAPEC-66likelihood: High · High
- Blind SQL InjectionCAPEC-7likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (17 more)Show less
- secunia.com/advisories/28872
- secunia.com/advisories/28976
- secunia.com/advisories/29242
- secunia.com/advisories/29274
- secunia.com/advisories/30045
- security.gentoo.org/glsa/glsa-200803-18.xml
- securityreason.com/securityalert/3657
- www.cacti.net/release_notes_0_8_7b.php
- www.debian.org/security/2008/dsa-1569
- www.mandriva.com/security/advisories?name=MDVSA-2008:052
- www.securityfocus.com/archive/1/488013/100/0/threaded
- www.securityfocus.com/archive/1/488018/100/0/threaded
- www.securitytracker.com/id?1019414
- www.vupen.com/english/advisories/2008/0540
- bugzilla.redhat.com/show_bug.cgi?id=432758
- www.redhat.com/archives/fedora-package-announce/2008-February/msg00570.html
- www.redhat.com/archives/fedora-package-announce/2008-February/msg00593.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.