Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2024-7954: Unauthenticated PHP Code Execution in SPIP porte_plume

Published Aug 23, 2024 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS66.1%99th percentile
CISA KEVNoNot listed
In the wildReported441 exploitation records in Mallory
Vendor
Spip
IdentifiersCVE-2024-7954CWE-94

CVE-2024-7954 is an unauthenticated remote code execution vulnerability in the porte_plume plugin used by SPIP. A remote attacker can submit a crafted HTTP request to execute arbitrary PHP code with the privileges of the SPIP user. Affected versions precede the branch-specific fixes in SPIP 4.1.16 and 4.2.13; development releases are also affected. Exploitation has been observed in Kaiji propagation activity.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises application confidentiality, integrity, and availability within the privileges of the SPIP user. Arbitrary PHP execution can enable access to application data and configuration, modification of writable content, and deployment of malicious code. The vulnerability has been exploited to spread Kaiji malware.

Mitigation

If you can’t patch tonight, do this now.

Until the update can be applied, restrict HTTP access to the affected application to trusted clients. If operationally feasible, disable the porte_plume plugin to remove exposure to its vulnerable functionality. Treat these as temporary exposure-reduction measures rather than substitutes for updating.

Remediation

Patch, then assume compromise.

Upgrade SPIP to version 4.1.16 or later in the 4.1 branch, version 4.2.13 or later in the 4.2 branch, or a supported release incorporating the fix.

Public exploits

Exploits

5 exploits validated by Mallory's analysis. Hidden: 4 rejected by Mallory's analysis as not a working exploit.

View more in app →
CVE-2024-7954This repository provides a weaponized exploit for a Remote Code Execution (RCE) vulnerability in SPIP (up to version 4.2.12), affecting both Linux and Windows platforms. The vulnerability is due to improper handling of user-supplied input in SPIP's templating system, specifically in the porte_plume plugin, allowing arbitrary PHP code execution via a crafted POST request to /spip.php?action=porte_plume_previsu. The repository includes: - A Python script (exploit.py) for automated exploitation, supporting both single and mass URL targeting, with interactive shell capabilities for post-exploitation command execution. - A Metasploit module (spip_porte_plume_previsu_rce.rb) enabling customizable payload delivery, including Meterpreter reverse shells, and automated version checking. - Docker Compose files and documentation for setting up a vulnerable SPIP environment for testing. The main attack vector is network-based, targeting the web application endpoint. The exploit is highly operational and weaponized, supporting both command execution and reverse shell payloads. The endpoints of interest are /spip.php?action=porte_plume_previsu for exploitation and the Docker image ipeos/spip:4.2.12 for local testing. The exploit is not a detection script but a full RCE tool, and is part of the Metasploit framework, making it easily customizable and deployable.Chocapikk · Disclosed Aug 10, 2024 · Framework: metasploit · python · ruby · networkWeaponizedspip_porte_plume_previsu_rce.rbThis repository contains a single Metasploit module (modules/exploits/multi/http/spip_porte_plume_previsu_rce.rb) that exploits CVE-2024-7954, a critical unauthenticated remote code execution vulnerability in SPIP (<= 4.2.12) with the porte_plume plugin (< 3.1.6). The exploit leverages a flaw in SPIP's templating system, specifically the mishandling of user-supplied input in the echappe_retour() and traitements_previsu_php_modeles_eval() functions, which leads to an eval() of attacker-controlled data. The module sends a crafted POST request to the /spip.php?action=porte_plume_previsu endpoint, injecting a base64-encoded PHP payload that is executed on the server. The exploit supports multiple payloads, including PHP Meterpreter and command shells for Unix/Linux and Windows platforms. The module includes version checks for both SPIP and the porte_plume plugin to determine exploitability. The code is weaponized, allowing for easy payload customization and reliable exploitation through the Metasploit framework.Disclosed Aug 16, 2024 · Framework: metasploit · ruby · networkWeaponizedCVE-2024-7954This repository provides an operational exploit for CVE-2024-7954, a pre-authentication remote code execution (RCE) vulnerability in SPIP version 4.2.8. The main script, 'CVE-2024-7954.py', is a Python tool that allows users to target a single URL or a list of URLs (bulk mode) and execute arbitrary system commands on vulnerable SPIP installations. The exploit works by sending a specially crafted POST request to the '/index.php?action=porte_plume_previsu' endpoint, injecting PHP code that executes the supplied command. The tool supports multithreaded scanning, logs results to 'logs/scan.log', and provides colored terminal output for clarity. The repository also includes a README.md with usage instructions and a requirements.txt listing dependencies ('argparse' and 'requests'). The exploit is operational, providing real command execution on the target if successful, and is intended for use only on systems where the user has authorization.bigb0x · Disclosed Aug 28, 2024 · python · networkOperationalCVE-2024-7954This repository contains a functional exploit for CVE-2024-7954, a critical unauthenticated remote code execution vulnerability in SPIP CMS version 4.2.8. The exploit is implemented in a single Python script ('cve_2024_7954_rce.py') and is accompanied by a detailed README. The script allows an attacker to execute arbitrary system commands on a vulnerable SPIP server by sending a specially crafted POST request to the '/index.php?action=porte_plume_previsu' endpoint, injecting PHP code via image tag preview rendering. The script extracts and displays the output of the executed command, and also fetches geolocation information about the target IP using the ipinfo.io API. Proxy support is included for traffic routing through tools like Burp Suite. The exploit is operational and can be used for real-world exploitation of unpatched SPIP 4.2.8 instances.r0otk3r · Disclosed Jul 8, 2025 · python · markdown · networkOperationalCVE-2024-7954-RCEThis repository contains a Nuclei template (CVE-2024-7954.yaml) and a README.md describing an exploit for CVE-2024-7954, a critical remote code execution vulnerability in the SPIP CMS's porte_plume plugin (versions before 4.30-alpha2, 4.2.13, and 4.1.16). The exploit works by sending a crafted POST request to the /index.php?action=porte_plume_previsu endpoint with a payload that injects PHP code, allowing arbitrary command execution as the web server user. The Nuclei template automates this process and checks for successful exploitation by matching the presence of 'root:.*:0:0:' in the response body (indicating /etc/passwd was read) and the 'Composed-By: SPIP' header. The repository is structured for use with the Nuclei vulnerability scanner and is a proof-of-concept exploit, not a weaponized tool. No hardcoded IPs or domains are present; the main fingerprintable endpoint is the vulnerable HTTP POST path.gh-ost00 · Disclosed Sep 1, 2024 · Framework: nuclei · yaml · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
SpipSpipapplication
FAQ

Frequently asked questions

Is CVE-2024-7954 exploited in the wild?
Yes. As of Nov 28, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2024-7954?
Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2024-7954, the earliest disclosed Aug 10, 2024.
Is there a patch for CVE-2024-7954?
Upgrade SPIP to version 4.1.16 or later in the 4.1 branch, version 4.2.13 or later in the 4.2 branch, or a supported release incorporating the fix.
What products are affected by CVE-2024-7954?
Spip.
How severe is CVE-2024-7954?
CVE-2024-7954 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 66.1% (99th percentile) as of Nov 28, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware2Malware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.