Lucene search

K
packetstormEgiX, karmainsecurity.comPACKETSTORM:178584
HistoryMay 15, 2024 - 12:00 a.m.

Cacti 1.2.26 Remote Code Execution

2024-05-1500:00:00
EgiX, karmainsecurity.com
packetstormsecurity.com
125
cacti
remote code execution
vulnerability
import templates
version 1.2.26
path traversal
cve-2024-25641
github.

9.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

9.4 High

AI Score

Confidence

High

5.8 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

MULTIPLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:M/C:P/I:P/A:P

0.0004 Low

EPSS

Percentile

8.4%

`----------------------------------------------------------------  
Cacti <= 1.2.26 (import.php) Remote Code Execution Vulnerability  
----------------------------------------------------------------  
  
  
[-] Software Link:  
  
https://cacti.net  
  
  
[-] Affected Versions:  
  
Version 1.2.26 and prior versions.  
  
  
[-] Vulnerability Description:  
  
The vulnerability is located within the "import_package()" function  
defined into the /lib/import.php script. This function blindly trusts  
the filename and file content provided within the uploaded 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.  
  
Successful exploitation of this vulnerability requires an user account  
having the "Import Templates" permission.  
  
  
[-] Solution:  
  
Upgrade to version 1.2.27 or later.  
  
  
[-] Disclosure Timeline:  
  
[17/01/2024] - Vendor notified through GitHub  
[12/05/2024] - Version 1.2.27 released  
[13/05/2024] - Publication of this advisory  
  
  
[-] CVE Reference:  
  
The Common Vulnerabilities and Exposures project (cve.mitre.org) has  
assigned the name CVE-2024-25641 to this vulnerability.  
  
  
[-] Credits:  
  
Vulnerability discovered by Egidio Romano.  
  
  
[-] Other References:  
  
https://github.com/Cacti/cacti/security/advisories/GHSA-7cmj-g5qc-pj88  
  
  
[-] Original Advisory:  
  
https://karmainsecurity.com/KIS-2024-04  
  
`

9.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

9.4 High

AI Score

Confidence

High

5.8 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

MULTIPLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:M/C:P/I:P/A:P

0.0004 Low

EPSS

Percentile

8.4%