CVE-2024-25641

Scores

EPSS

0.884high88.4%
0%20%40%60%80%100%

Percentile: 88.4%

CVSS

7.2high3.x
0246810

CVSS Score: 7.2/10

All CVSS Scores

CVSS 3.x
7.2

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

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.

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

anchore_overridesdebiannvdredhatubuntu

CWEs

CWE-20

Related Vulnerabilities

Exploits

Exploit ID: 52225

Source: exploitdb

URL: https://www.exploit-db.com/exploits/52225

Exploit ID: CVE-2024-25641

Source: github-poc

URL: https://github.com/GabrielCF10/CVE-2024-25641---Cacti

Vulnerable Software (11)

Type: Configuration

Operating System:

Trait:
{  "children": [    {      "cpe_match": [        {          "cpe23uri": "cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:*",          "versionEndExcluding": "1.2.27"        }      ],      "negate": false...

Source: anchore_overrides

Type: Configuration

Product: cacti

Operating System: debian

Trait:
{  "fixed": "1.2.27+ds1-1"}

Source: debian

Type: Configuration

Product: cacti

Operating System: debian bookworm 12

Trait:
{  "fixed": "1.2.24+ds1-1+deb12u3"}

Source: debian

Type: Configuration

Product: cacti

Operating System: altlinux

Trait:
{  "fixed": "0:1.2.28-alt1"}

Source: redhat

Type: Configuration

Product: cacti

Operating System: ubuntu focal 20.04

Trait:
{  "fixed": "1.2.10+ds1-1ubuntu1.1"}

Source: ubuntu

Type: Configuration

Product: cacti

Operating System: ubuntu jammy 22.04

Trait:
{  "fixed": "1.2.19+ds1-2ubuntu1.1"}

Source: ubuntu

Type: Configuration

Product: cacti

Operating System: ubuntu mantic 23.10

Trait:
{  "unfixed": true}

Source: ubuntu

Type: Configuration

Product: cacti

Operating System: ubuntu noble 24.04

Trait:
{  "fixed": "1.2.26+ds1-1ubuntu0.1"}

Source: ubuntu

Type: Configuration

Product: cacti-setup

Operating System: altlinux

Trait:
{  "fixed": "0:1.2.28-alt1"}

Source: redhat

Type: Configuration

Vendor: *

Product: cacti

Operating System: * * *

Trait:
{  "cpe_match": [    {      "cpe23uri": "cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:*",      "versionEndExcluding": "1.2.27",      "vulnerable": true    }  ],  "operator": "OR"}

Source: nvd

Type: Configuration

Vendor: *

Product: fedora

Operating System: * * *

Trait:
{  "cpe_match": [    {      "cpe23uri": "cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*",      "vulnerable": true    }  ],  "operator": "OR"}

Source: nvd

End of list