CVE-2023-39362
published high CVSS 3.1 · 7.2Authenticated command injection in SNMP options of a Device
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Cacti | — | cacti< 1.2.25 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | cacti | Fixed | 1.2.25-r0 | Package fix record |
| Debian | bookworm | cacti | Advisory build | 1.2.24+ds1-1+deb12u1 | DSA-5550-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | cactinoarch | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| Alpine Linux | v3.18 | cacti | Fixed | 1.2.26-r0 | Package fix record |
| Alpine Linux | v3.19 | cacti | Fixed | 1.2.25-r0 | Package fix record |
| Alpine Linux | v3.20 | cacti | Fixed | 1.2.25-r0 | Package fix record |
| Alpine Linux | v3.21 | cacti | Fixed | 1.2.25-r0 | Package fix record |
Show 20 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.22 | cacti | Fixed | 1.2.25-r0 | Package fix record |
| Alpine Linux | v3.23 | cacti | Fixed | 1.2.25-r0 | Package fix record |
| Alpine Linux | v3.24 | cacti | Fixed | 1.2.25-r0 | Package fix record |
| Debian | bullseye | cacti | Advisory build | 1.2.16+ds1-2+deb11u2 | DSA-5550-1 |
| Debian | buster | cacti | Advisory build | 1.2.2+ds1-2+deb10u6 | DLA-3765-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cactinoarch | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cactiaarch64 | Advisory build | 1.2.25-2.1 | OPENSUSE-SU-2024:13203-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cactippc64le | Advisory build | 1.2.25-2.1 | OPENSUSE-SU-2024:13203-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cactis390x | Advisory build | 1.2.25-2.1 | OPENSUSE-SU-2024:13203-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cactix86_64 | Advisory build | 1.2.25-2.1 | OPENSUSE-SU-2024:13203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | cacti-spineaarch64 | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | cacti-spinei586 | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | cacti-spineppc64le | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | cacti-spines390x | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | cacti-spinex86_64 | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cacti-spineaarch64 | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cacti-spinei586 | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cacti-spineppc64le | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cacti-spines390x | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cacti-spinex86_64 | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
Description
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 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Cacti | cacti | < 1.2.25 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
8- http://packetstormsecurity.com/files/175029/Cacti-1.2.24-Command-Injection.html
- https://github.com/Cacti/cacti/security/advisories/GHSA-g6ff-58cj-x3cp
- https://lists.debian.org/debian-lts-announce/2024/03/msg00018.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/CFH3J2WVBKY4ZJNMARVOWJQK6PSLPHFH/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/WOQFYGLZBAWT4AWNMO7DU73QXWPXTCKH/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/WZGB2UXJEUYWWA6IWVFQ3ZTP22FIHMGN/
- https://www.debian.org/security/2023/dsa-5550
- https://www.vicarius.io/vsociety/posts/command-injection-in-cacti-cve-2023-39362
Provider assertions
3GitHub_M · cna
Authenticated command injection in SNMP options of a Device
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0344a4102b0f15c02618854ae0921f729ee37a02adaf449649e02f443ae225c7
- Ingested
- 23 Sep 2026, 08:10:43 UTC
- Source record
- Official CVE record