{"uuid": "33561b23-4eef-4a49-bf33-0236258bd1d0", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2024-25641", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/cacti_package_import_rce.rb", "content": "{\"aliases\": [], \"arch\": \"php, cmd\", \"author\": [\"Egidio Romano\", \"Christophe De La Fuente\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"This exploit module leverages an arbitrary file write vulnerability\\n          (CVE-2024-25641) in Cacti versions prior to 1.2.27 to achieve RCE. It\\n          abuses the `Import Packages` feature to upload a specially crafted\\n          package that embeds a PHP file. Cacti will extract this file to an\\n          accessible location. The module finally triggers the payload to execute\\n          arbitrary PHP code in the context of the user running the web server.\\n\\n          Authentication is needed and the account must have access to the\\n          `Import Packages` feature. This is granted by setting the `Import\\n          Templates` permission in the `Template Editor` section.\", \"disclosure_date\": \"2024-05-12\", \"fullname\": \"exploit/multi/http/cacti_package_import_rce\", \"is_install_path\": true, \"mod_time\": \"2026-06-02 10:32:30 +0000\", \"name\": \"Cacti Import Packages RCE\", \"needs_cleanup\": true, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"artifacts-on-disk\", \"ioc-in-logs\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/multi/http/cacti_package_import_rce.rb\", \"platform\": \"Linux,PHP,Unix,Windows\", \"post_auth\": true, \"rank\": 600, \"ref_name\": \"multi/http/cacti_package_import_rce\", \"references\": [\"URL-https://karmainsecurity.com/KIS-2024-04\", \"GHSA-7cmj-g5qc-pj88\", \"CVE-2024-25641\", \"EDB-52225\"], \"rport\": 80, \"session_types\": false, \"targets\": [\"PHP\", \"Linux Command\", \"Windows Command\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:49:43.136217Z"}