Lucene search
K

Cacti 1.2.26 Remote Code Execution

🗓️ 15 May 2024 00:00:00Reported by EgiX, karmainsecurity.comType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 1315 Views

Cacti 1.2.26 Remote Code Execution Vulnerabilit

Related
Code
`----------------------------------------------------------------  
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  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

15 May 2024 00:00Current
9.4High risk
Vulners AI Score9.4
CVSS 3.17.2 - 9.1
EPSS0.8819
SSVC
1315