CVE-2025-22604CWE-78

Cacti has Authenticated RCE via multi-line SNMP responses

Critical · published January 27, 2025

CVSS v3.1
9.1
EPSS
5%
Percentile
92.6
In the wild
Unconfirmed
What it is

🚨 Authenticated users can inject malformed OIDs in Cacti, and it leads to a command execution vulnerability! This critical flaw could wreak havoc if left unchecked! 🔥 Think of it as a restaurant where a clever diner can slip in unauthorized modifications to the chef's special, causing the kitchen to serve up whatever mess they create. This sneaky flaw lets users manipulate the command array like a prankster rearranging the menu and ordering whatever they please! An attacker could exploit this vulnerability to execute commands on the server, effectively taking control of critical systems. This could lead to unauthorized data access, service disruptions, and even a full system compromise - absolutely devastating if exploited!

Put simply

Think of it as a restaurant where a clever diner can slip in unauthorized modifications to the chef's special, causing the kitchen to serve up whatever mess they create. This sneaky flaw lets users manipulate the command array like a prankster rearranging the menu and ordering whatever they please! CVE-2025-22604 stems from a flaw in Cacti's multi-line SNMP result parser, where malformed Object Identifiers (OIDs) can be injected. When processed by certain functions, these OIDs can be used unsafely as keys in an array, paving the way for command execution vulnerabilities.

What to do

An attacker could exploit this vulnerability to execute commands on the server, effectively taking control of critical systems. This could lead to unauthorized data access, service disruptions, and even a full system compromise - absolutely devastating if exploited! Update Cacti immediately to version 1.2.29, where this vulnerability has been patched. Implement strict input validation on OIDs and monitor system logs for any suspicious activity related to SNMP processing. Don't let this slip through the cracks! You've got this! With these steps, you'll be locking down your systems and securing your environment in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.05381 · 92.6th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2025-01-27T17:06Z
EPSS history
Timeline
  • 27 JAN 17:06Z
    Cacti has Authenticated RCE via multi-line SNMP responses
    cvelistv5