This module exploits a Remote Code Execution vulnerability in SPIP versions up to and including 4.2.12. The vulnerability occurs in SPIP's templating system where it incorrectly handles user-supplied input, allowing an attacker to inject and execute arbitrary PHP code. This can be achieved by crafting a payload manipulating the templating data processed by the `echappe_retour()` function, invoking `traitements_previsu_php_modeles_eval()`, which contains an `eval()` call.
Exploit database
Vulnerability
CVE-2024-7954
SPIP porte_plume Plugin Arbitrary PHP Execution
Vulnerability details
- Score
- 9.8
- Severity
- critical
CVSS 3.1 · VulnCheck
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDescription
The porte_plume plugin used by SPIP before 4.30-alpha2, 4.2.13, and 4.1.16 is vulnerable to an arbitrary code execution vulnerability. A remote and unauthenticated attacker can execute arbitrary PHP as the SPIP user by sending a crafted HTTP request.
CVE ProgramExploit source choices
4 sourcesSPIP Unauthenticated RCE via porte_plume Plugin
2024-08-16spip_porte_plume_previsu_rce.rb
chocapikk/cve-2024-7954
Unauthenticated Remote Code Execution in SPIP versions up to and including 4.2.12
2024-08-108 files · 14 stars
bigb0x/cve-2024-7954
This exploit will attempt to execute system commands on SPIP targets.
2024-08-284 files · 6 stars
12442rf/poc
12442rf/poc source repository
2025-05-0612 files · 1 stars