Deserialization in Cacti
CVE-2023-30534
Cacti is an open source operational monitoring and fault management framework. There are two instances of insecure deserialization in Cacti version 1.2.24. While a viable gadget chain exists in Cacti’s vendor directory (phpseclib), the necessary gadgets are not included, making them inaccessible and the insecure deserializations not exploitable. Each instance of insecure deserialization is due to using the unserialize function without sanitizing the user input. Cacti has a “safe” deserialization that attempts to sanitize the content and check for specific values before calling unserialize, but it isn’t used in these instances. The vulnerable code lies in graphs_new.php, specifically within the host_new_graphs_save function. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.029, 87.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Cacti — versions < 1.2.25
- Fedoraproject Fedora — versions 37, 38
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (ARPSyndicate/cve-scores, dwinsi/SmartEDA-Data-Science-Platform, k0pak4/k0pak4). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/Cacti/cacti/security/advisories/GHSA-77rf-774j-6h3p (Exploit, Vendor Advisory)
- www.fastly.com/blog/cve-2023-30534-insecure-deserialization-in-cacti-prior-to-1… (Exploit)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)