Upstream information

CVE-2024-25641 at MITRE

Description

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having critical severity.

CVSS v3 Scores
CVSS detail CNA (GitHub) National Vulnerability Database
Base Score 9.1 7.2
Vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network Network
Attack Complexity Low Low
Privileges Required High High
User Interaction None None
Scope Changed Unchanged
Confidentiality Impact High High
Integrity Impact High High
Availability Impact High High
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1224229 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Package Hub 12
  • cacti >= 1.2.27-41.1
  • cacti-spine >= 1.2.27-35.1
Patchnames:
openSUSE-2024-274
SUSE Package Hub 15 SP5
  • cacti >= 1.2.27-bp155.2.9.1
  • cacti-spine >= 1.2.27-bp155.2.9.1
Patchnames:
openSUSE-2024-274
SUSE Package Hub 15 SP6
  • cacti >= 1.2.27-bp156.2.3.1
  • cacti-spine >= 1.2.27-bp156.2.3.1
Patchnames:
openSUSE-2024-276
openSUSE Leap 15.5
  • cacti >= 1.2.27-bp155.2.9.1
  • cacti-spine >= 1.2.27-bp155.2.9.1
Patchnames:
openSUSE-2024-274
openSUSE Leap 15.6
  • cacti >= 1.2.27-bp156.2.3.1
  • cacti-spine >= 1.2.27-bp156.2.3.1
Patchnames:
openSUSE-2024-276
openSUSE Tumbleweed
  • cacti >= 1.2.27-1.1
Patchnames:
openSUSE-Tumbleweed-2024-13962


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Package Hub 15 SP6 cacti Released
SUSE Package Hub 15 SP6 cacti-spine Released
Products past their end of life and not receiving proactive updates anymore.
SUSE Package Hub 12 cacti Released
SUSE Package Hub 12 cacti-spine Released
SUSE Package Hub 15 SP5 cacti Released
SUSE Package Hub 15 SP5 cacti-spine Released


SUSE Timeline for this CVE

CVE page created: Tue May 14 18:08:57 2024
CVE page last modified: Thu Dec 11 17:33:09 2025