CVE catalog

CVE-2024-25641

Cacti vulnerabilities

[CVE catalog]

Severity
High · CVSS 7.2CVSS: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.

DistributionPackageReleaseVersionStatus
Debiancactisid1.2.31+ds1-4fixed
Debiancactiforky1.2.31+ds1-4fixed
Debiancactitrixie1.2.30+ds1-1fixed
Debiancactibookworm1.2.24+ds1-1+deb12u5fixed
Debiancactibookworm-security1.2.24+ds1-1+deb12u5fixed
Ubuntucactinoble1.2.26+ds1-1ubuntu0.1fixed
Ubuntucactipro1.1.18+ds1-1vulnerable
Ubuntucactipro1.1.27+ds1-2vulnerable
Ubuntucactipro1.1.27+ds1-3vulnerable
Ubuntucactipro1.1.28+ds1-2vulnerable
Ubuntucactipro1.1.35+ds1-1vulnerable
Ubuntucactipro1.1.36+ds1-1vulnerable
Ubuntucactipro1.1.38+ds1-1vulnerable
Ubuntucactipro1.1.38+ds1-1ubuntu0.1~esm1vulnerable
Ubuntucactipro1.1.38+ds1-1ubuntu0.1~esm3fixed
Ubuntucacti20.041.2.4+ds1-2ubuntu3vulnerable
Ubuntucacti20.041.2.9+ds1-1ubuntu1vulnerable
Ubuntucacti20.041.2.9+ds1-1ubuntu2vulnerable
Ubuntucacti20.041.2.10+ds1-1ubuntu1vulnerable
Ubuntucacti20.041.2.10+ds1-1ubuntu1.1fixed
Ubuntucacti22.041.2.16+ds1-2ubuntu1vulnerable
Ubuntucacti22.041.2.19+ds1-2ubuntu1vulnerable
Ubuntucacti22.041.2.19+ds1-2ubuntu1.1fixed
Ubuntucacti24.041.2.25+ds1-2vulnerable
Ubuntucacti24.041.2.26+ds1-1vulnerable
Ubuntucacti24.041.2.26+ds1-1ubuntu0.1fixed
Opensusecactitumbleweed1.2.27-1.1fixed
Susecactipackage hub 15 sp61.2.27-bp156.2.3.1fixed
Susecacti-spinepackage hub 15 sp61.2.27-bp156.2.3.1fixed
Opensusecactileap 15.61.2.27-bp156.2.3.1fixed
Opensusecacti-spineleap 15.61.2.27-bp156.2.3.1fixed
Susecactipackage hub 121.2.27-bp155.2.9.1fixed
Susecacti-spinepackage hub 121.2.27-bp155.2.9.1fixed
Susecactipackage hub 15 sp51.2.27-bp155.2.9.1fixed
Susecacti-spinepackage hub 15 sp51.2.27-bp155.2.9.1fixed
Opensusecactileap 15.51.2.27-bp155.2.9.1fixed
Opensusecacti-spineleap 15.51.2.27-bp155.2.9.1fixed
Ubuntucactipro1.1.18+ds1-1vulnerable
Ubuntucactipro1.1.27+ds1-2vulnerable
Ubuntucactipro1.1.27+ds1-3vulnerable
Ubuntucactipro1.1.28+ds1-2vulnerable
Ubuntucactipro1.1.35+ds1-1vulnerable
Ubuntucactipro1.1.36+ds1-1vulnerable
Ubuntucactipro1.1.38+ds1-1vulnerable
Ubuntucactipro1.1.38+ds1-1ubuntu0.1~esm1vulnerable
Ubuntucactipro1.1.38+ds1-1ubuntu0.1~esm3fixed
Ubuntucacti20.041.2.4+ds1-2ubuntu3vulnerable
Ubuntucacti20.041.2.9+ds1-1ubuntu1vulnerable
Ubuntucacti20.041.2.9+ds1-1ubuntu2vulnerable
Ubuntucacti20.041.2.10+ds1-1ubuntu1vulnerable
Ubuntucacti20.041.2.10+ds1-1ubuntu1.1fixed
Ubuntucacti22.041.2.16+ds1-2ubuntu1vulnerable
Ubuntucacti22.041.2.19+ds1-2ubuntu1vulnerable
Ubuntucacti22.041.2.19+ds1-2ubuntu1.1fixed
Ubuntucacti24.041.2.25+ds1-2vulnerable
Ubuntucacti24.041.2.26+ds1-1vulnerable
Ubuntucacti24.041.2.26+ds1-1ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancactisourcesid1.2.27+ds1-1not yet assignedNot reportedNot reported
Debiancactisourceforky1.2.27+ds1-1not yet assignedNot reportedNot reported
Debiancactisourcetrixie1.2.27+ds1-1not yet assignedNot reportedNot reported
Debiancactisourcebookworm1.2.24+ds1-1+deb12u3not yet assignedNot reportedNot reported
Ubuntucactidebnoble1.2.26+ds1-1ubuntu0.1Not reportedNot reportedNot reported
Ubuntucactidebpro1.1.38+ds1-1ubuntu0.1~esm3Not reportedUSN-6969-1Not reported
Ubuntucactideb20.041.2.10+ds1-1ubuntu1.1Not reportedUSN-6969-1Not reported
Ubuntucactideb22.041.2.19+ds1-2ubuntu1.1Not reportedUSN-6969-1Not reported
Ubuntucactideb24.041.2.26+ds1-1ubuntu0.1Not reportedUSN-6969-1Not reported
Opensusecactirpmtumbleweed1.2.27-1.1Not reportedOPENSUSE-SU-2024:13962-1Not reported
Susecactirpmpackage hub 15 sp61.2.27-bp156.2.3.1Not reportedOPENSUSE-SU-2024:0276-1Not reported
Susecacti-spinerpmpackage hub 15 sp61.2.27-bp156.2.3.1Not reportedOPENSUSE-SU-2024:0276-1Not reported
Opensusecactirpmleap 15.61.2.27-bp156.2.3.1Not reportedOPENSUSE-SU-2024:0276-1Not reported
Opensusecacti-spinerpmleap 15.61.2.27-bp156.2.3.1Not reportedOPENSUSE-SU-2024:0276-1Not reported
Susecactirpmpackage hub 121.2.27-bp155.2.9.1Not reportedOPENSUSE-SU-2024:0274-1Not reported
Susecacti-spinerpmpackage hub 121.2.27-bp155.2.9.1Not reportedOPENSUSE-SU-2024:0274-1Not reported
Susecactirpmpackage hub 15 sp51.2.27-bp155.2.9.1Not reportedOPENSUSE-SU-2024:0274-1Not reported
Susecacti-spinerpmpackage hub 15 sp51.2.27-bp155.2.9.1Not reportedOPENSUSE-SU-2024:0274-1Not reported
Opensusecactirpmleap 15.51.2.27-bp155.2.9.1Not reportedOPENSUSE-SU-2024:0274-1Not reported
Opensusecacti-spinerpmleap 15.51.2.27-bp155.2.9.1Not reportedOPENSUSE-SU-2024:0274-1Not reported
Ubuntucactidebpro1.1.38+ds1-1ubuntu0.1~esm3Not reportedUBUNTU-CVE-2024-25641Not reported
Ubuntucactideb20.041.2.10+ds1-1ubuntu1.1Not reportedUBUNTU-CVE-2024-25641Not reported
Ubuntucactideb22.041.2.19+ds1-2ubuntu1.1Not reportedUBUNTU-CVE-2024-25641Not reported
Ubuntucactideb24.041.2.26+ds1-1ubuntu0.1Not reportedUBUNTU-CVE-2024-25641Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References