CVE-2023-39366
published medium CVSS 3.1 · 6.1Stored Cross-site Scripting in data_sources.php through Device-Name in 'select' input 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 |
| cacti | — | cacti0 to < 1.2.25 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| 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 |
Show 18 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 |
| 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 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 `data_sources.php` script displays the data source management information (e.g. data source path, polling configuration etc.) for different data visualizations of the _cacti_ app. CENSUS found that an adversary that is able to configure a malicious Device name, can deploy a stored XSS attack against any user of the same (or broader) privileges. 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/data_sources.php`. This vulnerability has been addressed in version 1.2.25. Users are advised to upgrade. Users unable to update 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 |
| cacti | cacti | 0 to < 1.2.25 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5- https://github.com/Cacti/cacti/security/advisories/GHSA-rwhh-xxm6-vcrv
- 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
Provider assertions
3GitHub_M · cna
Stored Cross-site Scripting in data_sources.php through Device-Name in 'select' input in Cacti
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b6f0fa3b2b747b0917e6eb24a9ff80e50314f58b82c2b8ee40b5446fb13272e4
- Ingested
- 23 Sep 2026, 08:10:43 UTC
- Source record
- Official CVE record