CVE-2005-2148
Cacti 0.8.6e and earlier does not perform proper input validation to protect against common attacks, which allows remote attackers to execute arbitrary commands or SQL by sending a legitimate value in a POST request or cookie, then specifying the attack string in the URL, which causes the get_request_var function to return the wrong value in the $_REQUEST variable, which is cleansed while the original malicious $_GET value remains unmodified, as demonstrated in (1) graph_image.php and (2) graph.php.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | cacti | Fixed | 0.8.6f-1 | DEBIAN-CVE-2005-2148 |
| Debian 13 | cacti | Fixed | 0.8.6f-1 | DEBIAN-CVE-2005-2148 |
| Debian 12 | cacti | Fixed | 0.8.6f-1 | DEBIAN-CVE-2005-2148 |
What the vendor says
As published in the CVE record by debian, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.debian.org/security/2005/dsa-764 (vendor-advisory)
References
- http://www.cacti.net/downloads/patches/0.8.6e/cacti-0.8.6f_security.patch
- https://exchange.xforce.ibmcloud.com/vulnerabilities/21270
- http://www.hardened-php.net/advisory-032005.php
- http://www.securityfocus.com/archive/1/404047/30/30/threaded
- http://www.securityfocus.com/archive/1/404054
- http://sourceforge.net/mailarchive/forum.php?forum_id=10360&max_rows=25&style=flat&viewmonth=200507&viewday=1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/21266
- http://www.vupen.com/english/advisories/2005/0951
- http://www.debian.org/security/2005/dsa-764
- http://www.securityfocus.com/bid/14128
- http://secunia.com/advisories/15490
- http://securitytracker.com/id?1014361
- http://www.securityfocus.com/bid/14129
- http://www.hardened-php.net/advisory-042005.php
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.