Skip to content

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

ProductAffected versionsFixed 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