CVE-2025-22604 Cacti has Authenticated RCE via multi-line SNMP responses
HighCVSS 7.2
EPSS 5.3%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Cacti is an open source performance and fault management framework. Due to a flaw in multi-line SNMP result parser, authenticated users can inject malformed OIDs in the response. When processed by ss_net_snmp_disk_io() or ss_net_snmp_disk_bytes(), a part of each OID will be used as a key in an array that is used as part of a system command, causing a command execution vulnerability. This vulnerability is fixed in 1.2.29.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/cacti(Debian:12) | < 1.2.24+ds1-1+deb12u5 | 1.2.24+ds1-1+deb12u5 |
| debian/cacti(Debian:12) | = 1.2.24+ds1-1 | No fix listed |
| debian/cacti(Debian:12) | = 1.2.24+ds1-1+deb12u1 | No fix listed |
| debian/cacti(Debian:12) | = 1.2.24+ds1-1+deb12u2 | No fix listed |
| debian/cacti(Debian:12) | = 1.2.24+ds1-1+deb12u3 | No fix listed |
| debian/cacti(Debian:12) | = 1.2.24+ds1-1+deb12u4 | No fix listed |
| debian/cacti(Debian:13) | < 1.2.28+ds1-4 | 1.2.28+ds1-4 |
| debian/cacti(Debian:14) | < 1.2.28+ds1-4 | 1.2.28+ds1-4 |
| cacti | = <= 1.2.8 | No fix listed |
| ubuntu/cacti(Ubuntu:22.04) | All versions | No fix listed |
| alpine/cacti(Alpine:v3.21) | < 1.2.29-r0 | 1.2.29-r0 |
| alpine/cacti(Alpine:v3.22) | < 1.2.29-r0 | 1.2.29-r0 |
| alpine/cacti(Alpine:v3.23) | < 1.2.29-r0 | 1.2.29-r0 |
| alpine/cacti(Alpine:v3.24) | < 1.2.29-r0 | 1.2.29-r0 |
| ubuntu/cacti(Ubuntu:24.04) | All versions | No fix listed |
| cacti | < 1.2.29 | 1.2.29 |
References
- Debian Security Tracker CVE-2025-22604 vendor-advisory
- https://github.com/Cacti/cacti/security/advisories/GHSA-c5j8-jxj3-hh36 exploit vendor-advisory
- https://github.com/Cacti/cacti/commit/c7e4ee798d263a3209ae6e7ba182c7b65284d8f0 patch
- lists.debian.org
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking