Vulnerability · Published Dec 21, 2023 · Assigned by GitHub_M
CVE-2023-49086Cacti is vulnerable to cross-Site scripting (XSS) DOM
Medium 5.4
In plain English
A medium-severity cross-site scripting in cacti from Cacti. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Cacti is a robust performance and fault management framework and a frontend to RRDTool - a Time Series Database (TSDB). A vulnerability in versions prior to 1.2.27 bypasses an earlier fix for CVE-2023-39360, therefore leading to a DOM XSS attack. Exploitation of the vulnerability is possible for an authorized user. The vulnerable component is the `graphs_new.php`. The impact of the vulnerability is execution of arbitrary JavaScript code in the attacked user's browser. This issue has been patched in version 1.2.27.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | cacti | 1.2.26-r0 | ALPINE-CVE-2023-49086 |
| Alpine:v3.21 | cacti | 1.2.26-r0 | ALPINE-CVE-2023-49086 |
| Alpine:v3.22 | cacti | 1.2.26-r0 | ALPINE-CVE-2023-49086 |
| Alpine:v3.23 | cacti | 1.2.26-r0 | ALPINE-CVE-2023-49086 |
| Alpine:v3.24 | cacti | 1.2.26-r0 | ALPINE-CVE-2023-49086 |
| Debian:12 | cacti | 1.2.24+ds1-1+deb12u2 | DEBIAN-CVE-2023-49086 |
| Debian:12 | cacti | 1.2.24+ds1-1+deb12u2 | DSA-5646-1 |
| Debian:13 | cacti | 1.2.26+ds1-1 | DEBIAN-CVE-2023-49086 |
| Debian:14 | cacti | 1.2.26+ds1-1 | DEBIAN-CVE-2023-49086 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/Cacti/cacti/security/advisories/GHSA-wc73-r2vw-59pr x_refsource_CONFIRM
- https://github.com/Cacti/cacti/commit/6ec01c8b2983bf4fcb86f8c647655f74090b5be9 x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/
- https://lists.debian.org/debian-lts-announce/2024/03/msg00018.html