Cacti vulnerable to arbitrary file write exploit
CVE-2024-25641

9.1CRITICAL

Key Information:

Vendor

Cacti

Status
Vendor
CVE Published:
14 May 2024

Badges

👾 Exploit Exists🟡 Public PoC🟣 EPSS 82%

What is CVE-2024-25641?

An arbitrary file write vulnerability exists in the Cacti Monitoring Framework, specifically prior to version 1.2.27. This security flaw is exploited through the "Package Import" feature, which is available to authenticated users with the "Import Templates" permission. The vulnerability arises from the import_package() function within the /lib/import.php script, which incorrectly trusts the filename and content specified in the XML data. As a result, the application writes files directly into the Cacti base path without proper validation, leading to potential path traversal. Exploitability allows an attacker to create or overwrite files on the web server, which may enable execution of arbitrary PHP code, resulting in various security impacts. Version 1.2.27 addresses this vulnerability with a security patch.

Affected Version(s)

cacti < 1.2.27

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

EPSS Score

82% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Changed

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2024-25641 : Cacti vulnerable to arbitrary file write exploit