exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Cacti 1.2.26 Remote Code Execution

Cacti 1.2.26 Remote Code Execution
Posted May 15, 2024
Authored by EgiX | Site karmainsecurity.com

Cacti versions 1.2.26 and below suffer from a remote code execution execution vulnerability in import.php.

tags | exploit, remote, php, code execution
advisories | CVE-2024-25641
SHA-256 | 86b50d4574919755d30f44ebc0972085ad39e9820171813614fe42cf0df9f937

Cacti 1.2.26 Remote Code Execution

Change Mirror Download
----------------------------------------------------------------
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

Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    38 Files
  • 24
    Sep 24th
    65 Files
  • 25
    Sep 25th
    24 Files
  • 26
    Sep 26th
    26 Files
  • 27
    Sep 27th
    34 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close