
CVE catalog
CVE-2024-25641
Cacti vulnerabilities
- Severity
- High · CVSS 7.2
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 86.30% · Oct 25, 2026
Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, an arbitrary file write vulnerability, exploitable through the "Package Import" feature, allows authenticated users having the "Import Templates" permission to execute arbitrary PHP code on the web server. The vulnerability is located within the `import_package()` function defined into the `/lib/import.php` script. The function blindly trusts the filename and file content provided within the XML data, and writes such files into the Cacti base path (or even outside, since path traversal sequences are not filtered). This can be exploited to write or overwrite arbitrary files on the web server, leading to execution of arbitrary PHP code or other security impacts. Version 1.2.27 contains a patch for this issue.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | cacti | sid | 1.2.31+ds1-4 | fixed |
| Debian | cacti | forky | 1.2.31+ds1-4 | fixed |
| Debian | cacti | trixie | 1.2.30+ds1-1 | fixed |
| Debian | cacti | bookworm | 1.2.24+ds1-1+deb12u5 | fixed |
| Debian | cacti | bookworm-security | 1.2.24+ds1-1+deb12u5 | fixed |
| Ubuntu | cacti | noble | 1.2.26+ds1-1ubuntu0.1 | fixed |
| Ubuntu | cacti | pro | 1.1.18+ds1-1 | vulnerable |
| Ubuntu | cacti | pro | 1.1.27+ds1-2 | vulnerable |
| Ubuntu | cacti | pro | 1.1.27+ds1-3 | vulnerable |
| Ubuntu | cacti | pro | 1.1.28+ds1-2 | vulnerable |
| Ubuntu | cacti | pro | 1.1.35+ds1-1 | vulnerable |
| Ubuntu | cacti | pro | 1.1.36+ds1-1 | vulnerable |
| Ubuntu | cacti | pro | 1.1.38+ds1-1 | vulnerable |
| Ubuntu | cacti | pro | 1.1.38+ds1-1ubuntu0.1~esm1 | vulnerable |
| Ubuntu | cacti | pro | 1.1.38+ds1-1ubuntu0.1~esm3 | fixed |
| Ubuntu | cacti | 20.04 | 1.2.4+ds1-2ubuntu3 | vulnerable |
| Ubuntu | cacti | 20.04 | 1.2.9+ds1-1ubuntu1 | vulnerable |
| Ubuntu | cacti | 20.04 | 1.2.9+ds1-1ubuntu2 | vulnerable |
| Ubuntu | cacti | 20.04 | 1.2.10+ds1-1ubuntu1 | vulnerable |
| Ubuntu | cacti | 20.04 | 1.2.10+ds1-1ubuntu1.1 | fixed |
| Ubuntu | cacti | 22.04 | 1.2.16+ds1-2ubuntu1 | vulnerable |
| Ubuntu | cacti | 22.04 | 1.2.19+ds1-2ubuntu1 | vulnerable |
| Ubuntu | cacti | 22.04 | 1.2.19+ds1-2ubuntu1.1 | fixed |
| Ubuntu | cacti | 24.04 | 1.2.25+ds1-2 | vulnerable |
| Ubuntu | cacti | 24.04 | 1.2.26+ds1-1 | vulnerable |
| Ubuntu | cacti | 24.04 | 1.2.26+ds1-1ubuntu0.1 | fixed |
| Opensuse | cacti | tumbleweed | 1.2.27-1.1 | fixed |
| Suse | cacti | package hub 15 sp6 | 1.2.27-bp156.2.3.1 | fixed |
| Suse | cacti-spine | package hub 15 sp6 | 1.2.27-bp156.2.3.1 | fixed |
| Opensuse | cacti | leap 15.6 | 1.2.27-bp156.2.3.1 | fixed |
| Opensuse | cacti-spine | leap 15.6 | 1.2.27-bp156.2.3.1 | fixed |
| Suse | cacti | package hub 12 | 1.2.27-bp155.2.9.1 | fixed |
| Suse | cacti-spine | package hub 12 | 1.2.27-bp155.2.9.1 | fixed |
| Suse | cacti | package hub 15 sp5 | 1.2.27-bp155.2.9.1 | fixed |
| Suse | cacti-spine | package hub 15 sp5 | 1.2.27-bp155.2.9.1 | fixed |
| Opensuse | cacti | leap 15.5 | 1.2.27-bp155.2.9.1 | fixed |
| Opensuse | cacti-spine | leap 15.5 | 1.2.27-bp155.2.9.1 | fixed |
| Ubuntu | cacti | pro | 1.1.18+ds1-1 | vulnerable |
| Ubuntu | cacti | pro | 1.1.27+ds1-2 | vulnerable |
| Ubuntu | cacti | pro | 1.1.27+ds1-3 | vulnerable |
| Ubuntu | cacti | pro | 1.1.28+ds1-2 | vulnerable |
| Ubuntu | cacti | pro | 1.1.35+ds1-1 | vulnerable |
| Ubuntu | cacti | pro | 1.1.36+ds1-1 | vulnerable |
| Ubuntu | cacti | pro | 1.1.38+ds1-1 | vulnerable |
| Ubuntu | cacti | pro | 1.1.38+ds1-1ubuntu0.1~esm1 | vulnerable |
| Ubuntu | cacti | pro | 1.1.38+ds1-1ubuntu0.1~esm3 | fixed |
| Ubuntu | cacti | 20.04 | 1.2.4+ds1-2ubuntu3 | vulnerable |
| Ubuntu | cacti | 20.04 | 1.2.9+ds1-1ubuntu1 | vulnerable |
| Ubuntu | cacti | 20.04 | 1.2.9+ds1-1ubuntu2 | vulnerable |
| Ubuntu | cacti | 20.04 | 1.2.10+ds1-1ubuntu1 | vulnerable |
| Ubuntu | cacti | 20.04 | 1.2.10+ds1-1ubuntu1.1 | fixed |
| Ubuntu | cacti | 22.04 | 1.2.16+ds1-2ubuntu1 | vulnerable |
| Ubuntu | cacti | 22.04 | 1.2.19+ds1-2ubuntu1 | vulnerable |
| Ubuntu | cacti | 22.04 | 1.2.19+ds1-2ubuntu1.1 | fixed |
| Ubuntu | cacti | 24.04 | 1.2.25+ds1-2 | vulnerable |
| Ubuntu | cacti | 24.04 | 1.2.26+ds1-1 | vulnerable |
| Ubuntu | cacti | 24.04 | 1.2.26+ds1-1ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | cacti | source | sid | 1.2.27+ds1-1 | not yet assigned | Not reported | Not reported |
| Debian | cacti | source | forky | 1.2.27+ds1-1 | not yet assigned | Not reported | Not reported |
| Debian | cacti | source | trixie | 1.2.27+ds1-1 | not yet assigned | Not reported | Not reported |
| Debian | cacti | source | bookworm | 1.2.24+ds1-1+deb12u3 | not yet assigned | Not reported | Not reported |
| Ubuntu | cacti | deb | noble | 1.2.26+ds1-1ubuntu0.1 | Not reported | Not reported | Not reported |
| Ubuntu | cacti | deb | pro | 1.1.38+ds1-1ubuntu0.1~esm3 | Not reported | USN-6969-1 | Not reported |
| Ubuntu | cacti | deb | 20.04 | 1.2.10+ds1-1ubuntu1.1 | Not reported | USN-6969-1 | Not reported |
| Ubuntu | cacti | deb | 22.04 | 1.2.19+ds1-2ubuntu1.1 | Not reported | USN-6969-1 | Not reported |
| Ubuntu | cacti | deb | 24.04 | 1.2.26+ds1-1ubuntu0.1 | Not reported | USN-6969-1 | Not reported |
| Opensuse | cacti | rpm | tumbleweed | 1.2.27-1.1 | Not reported | OPENSUSE-SU-2024:13962-1 | Not reported |
| Suse | cacti | rpm | package hub 15 sp6 | 1.2.27-bp156.2.3.1 | Not reported | OPENSUSE-SU-2024:0276-1 | Not reported |
| Suse | cacti-spine | rpm | package hub 15 sp6 | 1.2.27-bp156.2.3.1 | Not reported | OPENSUSE-SU-2024:0276-1 | Not reported |
| Opensuse | cacti | rpm | leap 15.6 | 1.2.27-bp156.2.3.1 | Not reported | OPENSUSE-SU-2024:0276-1 | Not reported |
| Opensuse | cacti-spine | rpm | leap 15.6 | 1.2.27-bp156.2.3.1 | Not reported | OPENSUSE-SU-2024:0276-1 | Not reported |
| Suse | cacti | rpm | package hub 12 | 1.2.27-bp155.2.9.1 | Not reported | OPENSUSE-SU-2024:0274-1 | Not reported |
| Suse | cacti-spine | rpm | package hub 12 | 1.2.27-bp155.2.9.1 | Not reported | OPENSUSE-SU-2024:0274-1 | Not reported |
| Suse | cacti | rpm | package hub 15 sp5 | 1.2.27-bp155.2.9.1 | Not reported | OPENSUSE-SU-2024:0274-1 | Not reported |
| Suse | cacti-spine | rpm | package hub 15 sp5 | 1.2.27-bp155.2.9.1 | Not reported | OPENSUSE-SU-2024:0274-1 | Not reported |
| Opensuse | cacti | rpm | leap 15.5 | 1.2.27-bp155.2.9.1 | Not reported | OPENSUSE-SU-2024:0274-1 | Not reported |
| Opensuse | cacti-spine | rpm | leap 15.5 | 1.2.27-bp155.2.9.1 | Not reported | OPENSUSE-SU-2024:0274-1 | Not reported |
| Ubuntu | cacti | deb | pro | 1.1.38+ds1-1ubuntu0.1~esm3 | Not reported | UBUNTU-CVE-2024-25641 | Not reported |
| Ubuntu | cacti | deb | 20.04 | 1.2.10+ds1-1ubuntu1.1 | Not reported | UBUNTU-CVE-2024-25641 | Not reported |
| Ubuntu | cacti | deb | 22.04 | 1.2.19+ds1-2ubuntu1.1 | Not reported | UBUNTU-CVE-2024-25641 | Not reported |
| Ubuntu | cacti | deb | 24.04 | 1.2.26+ds1-1ubuntu0.1 | Not reported | UBUNTU-CVE-2024-25641 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_0274-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-25641]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-25641]
- [https://osv.dev/vulnerability/USN-6969-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:0274-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:0276-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:13962-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-25641]
- [https://ubuntu.com/security/notices/USN-6969-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1095.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]