Vulnerability · Published Oct 7, 2024 · Assigned by GitHub_M
CVE-2024-43364Stored Cross-site Scripting (XSS) when creating external links in Cacti
Medium 5.7
In plain English
A medium-severity cross-site scripting in cacti from Cacti. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 37.9% (higher than 99% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Cacti is an open source performance and fault management framework. The `title` parameter is not properly sanitized when saving external links in links.php . Morever, the said title parameter is stored in the database and reflected back to user in index.php, finally leading to stored XSS. Users with the privilege to create external links can manipulate the `title` parameter in the http post request while creating external links to perform stored XSS attacks. The vulnerability known as XSS (Cross-Site Scripting) occurs when an application allows untrusted user input to be displayed on a web page without proper validation or escaping. This issue has been addressed in release version 1.2.28. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | cacti | 1.2.28-r0 | ALPINE-CVE-2024-43364 |
| Alpine:v3.21 | cacti | 1.2.28-r0, 1.2.29-r0 | ALPINE-CVE-2024-43364 |
| Alpine:v3.22 | cacti | 1.2.28-r0, 1.2.29-r0 | ALPINE-CVE-2024-43364 |
| Alpine:v3.23 | cacti | 1.2.28-r0, 1.2.29-r0 | ALPINE-CVE-2024-43364 |
| Alpine:v3.24 | cacti | 1.2.28-r0, 1.2.29-r0 | ALPINE-CVE-2024-43364 |
| Debian:12 | cacti | 1.2.24+ds1-1+deb12u5 | DEBIAN-CVE-2024-43364 |
| Debian:12 | cacti | 1.2.24+ds1-1+deb12u5 | DSA-5862-1 |
| Debian:13 | cacti | 1.2.28+ds1-1 | DEBIAN-CVE-2024-43364 |
| Debian:14 | cacti | 1.2.28+ds1-1 | DEBIAN-CVE-2024-43364 |
| Ubuntu:24.04:LTS | cacti | no fix listed | UBUNTU-CVE-2024-43364 |
| Ubuntu:25.10 | cacti | no fix listed | UBUNTU-CVE-2024-43364 |
| Ubuntu:26.04:LTS | cacti | no fix listed | UBUNTU-CVE-2024-43364 |
| Ubuntu:26.10 | cacti | no fix listed | UBUNTU-CVE-2024-43364 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H