Description
SQL injection vulnerability in auth_login.php in Cacti 0.8.5a allows remote attackers to execute arbitrary SQL commands and bypass authentication via the (1) username or (2) password parameters.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cacti | 0.8.5a-5 | — |
| Debian 13 | cacti | 0.8.5a-5 | — |
| Debian 12 | cacti | 0.8.5a-5 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- RaXnet Cacti 0.6.x/0.8.x - 'Auth_Login.php' SQL Injection EDB-24375 · webapps · Jul 16, 2004 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20040816 SQL Injection in CACTI mailing-list
- cacti-authlogin-sql-injection(17011) vdb-entry
- 10960 vdb-entry
- 12308 third-party-advisory
- 20040816 SQL Injection in CACTI mailing-list
- GLSA-200408-21 vendor-advisory