| Name | CVE-2005-2148 |
| Description | 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. |
| Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-764-1 |
| Debian Bugs | 316590 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| cacti (PTS) | bullseye (security), bullseye | 1.2.16+ds1-2+deb11u3 | fixed |
| bookworm, bookworm (security) | 1.2.24+ds1-1+deb12u2 | fixed | |
| trixie, sid | 1.2.27+ds1-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| cacti | source | woody | 0.6.7-2.5 | high | DSA-764-1 | |
| cacti | source | sarge | 0.8.6c-7sarge2 | high | DSA-764-1 | |
| cacti | source | (unstable) | 0.8.6f-1 | high | 316590 |