CVE-2023-39511
published medium CVSS 3.1 · 6.1Stored Cross-Site-Scripting on reports_admin.php device name in Cacti
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 |
| 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 |
| Alpine Linux | v3.22 | cacti | Fixed | 1.2.25-r0 | Package fix record |
Show 17 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 |
| 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. Affected versions are subject to a Stored Cross-Site-Scripting (XSS) Vulnerability which allows an authenticated user to poison data stored in the _cacti_'s database. These data will be viewed by administrative _cacti_ accounts and execute JavaScript code in the victim's browser at view-time. The script under `reports_admin.php` displays reporting information about graphs, devices, data sources etc. _CENSUS_ found that an adversary that is able to configure a malicious device name, related to a graph attached to a report, can deploy a stored XSS attack against any super user who has privileges of viewing the `reports_admin.php` page, such as administrative accounts. A user that possesses the _General Administration>Sites/Devices/Data_ permissions can configure the device names in _cacti_. This configuration occurs through `http://<HOST>/cacti/host.php`, while the rendered malicious payload is exhibited at `http://<HOST>/cacti/reports_admin.php` when the a graph with the maliciously altered device name is linked to the report. This issue has been addressed in version 1.2.25. Users are advised to upgrade. Users unable to upgrade should manually filter HTML output.
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
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
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-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4- https://github.com/Cacti/cacti/security/advisories/GHSA-5hpr-4hhc-8q42
- 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/
Provider assertions
3GitHub_M · cna
Stored Cross-Site-Scripting on reports_admin.php device name in Cacti
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5e151f39dd4b1c9ab722ff9c996d8ba1e51a7fd1d9bedce938dab00b0caa62fe
- Ingested
- 23 Sep 2026, 08:10:43 UTC
- Source record
- Official CVE record