CVE-2023-39362
Published: 05 September 2023
Summary
CVE-2023-39362 is a high-severity OS Command Injection (CWE-78) vulnerability in Fedoraproject Fedora. Its CVSS base score is 7.2 (High).
Operationally, ranked in the top 0.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
Cacti 1.2.24 contains a command-injection vulnerability in the SNMP handling routines located in lib/snmp.php. Several functions accept values supplied through a device’s SNMP options and insert them directly into operating-system exec calls without escaping or validation, enabling an attacker to break out of the intended command and execute arbitrary shell instructions on the underlying host.
An authenticated user holding administrative privileges on the Cacti instance can exploit the flaw by placing a suitably crafted string in the SNMP options field of any monitored device. Successful injection yields remote code execution with the privileges of the Cacti process, giving the attacker full control over the monitoring server.
The vulnerability is resolved in Cacti 1.2.25; the project advisory states there are no workarounds and explicitly recommends upgrading. Downstream distributions including Debian LTS and Fedora have published corresponding package updates that apply the same fix. The EPSS score for the issue is currently 0.8723, and public proof-of-concept code has been posted to Packet Storm.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-43088
Vulnerability details
Cacti is an open source operational monitoring and fault management framework. In Cacti 1.2.24, under certain conditions, an authenticated privileged user, can use a malicious string in the SNMP options of a Device, performing command injection and obtaining remote code…
more
execution on the underlying server. The `lib/snmp.php` file has a set of functions, with similar behavior, that accept in input some variables and place them into an `exec` call without a proper escape or validation. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.