Name | CVE-2020-35701 |
Description | An issue was discovered in Cacti 1.2.x through 1.2.16. A SQL injection vulnerability in data_debug.php allows remote authenticated attackers to execute arbitrary SQL commands via the site_id parameter. This can lead to remote code execution. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 979998 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
cacti (PTS) | bullseye | 1.2.16+ds1-2+deb11u3 | fixed |
| bullseye (security) | 1.2.16+ds1-2+deb11u4 | fixed |
| bookworm | 1.2.24+ds1-1+deb12u4 | fixed |
| bookworm (security) | 1.2.24+ds1-1+deb12u2 | fixed |
| sid, trixie | 1.2.28+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 | stretch | (not affected) | | | |
cacti | source | buster | 1.2.2+ds1-2+deb10u4 | | | |
cacti | source | (unstable) | 1.2.16+ds1-2 | | | 979998 |
Notes
[stretch] - cacti <not-affected> (Vulnerable code introduced later)
https://github.com/Cacti/cacti/issues/4022
https://asaf.me/2020/12/15/cacti-1-2-0-to-1-2-16-sql-injection/
Introduced in: https://github.com/Cacti/cacti/commit/6e1b8431b77efe55ba5115e35fe045e101dd619b (1.2.0)
Fixed by: https://github.com/Cacti/cacti/commit/565e0604a53f4988dc5b544d01f4a631eaa80d82