Advisory

DEBIAN-CVE-2024-25641

Also known as: CVE-2024-25641

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.2, vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2024-05-14 15:05 UTC
Modified
2026-11-02 12:01 UTC

Affected packages and fixes

cacti

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.2.24+ds1-1+deb12u3 (ecosystem)

Fixed versions

1.2.24+ds1-1+deb12u3

Fix

  • Fixed version 1.2.24+ds1-1+deb12u3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cacti

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.2.27+ds1-1 (ecosystem)

Fixed versions

1.2.27+ds1-1

Fix

  • Fixed version 1.2.27+ds1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

cacti

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.2.27+ds1-1 (ecosystem)

Fixed versions

1.2.27+ds1-1

Fix

  • Fixed version 1.2.27+ds1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences