
Unauthenticated remote command execution exploit for SPIP CMS 4.2.8 (CVE-2024-7954) with proxy support and live output retrieval.
This script exploits a Remote Code Execution vulnerability in SPIP version 4.2.8 via the porte_plume_previsu endpoint. The vulnerability allows unauthenticated attackers to inject PHP code through preview rendering of crafted image tags.
CVE ID: CVE-2024-7954
Component: SPIP CMS (porte_plume_previsu)
Impact: Unauthenticated Remote Command Execution
Severity: Critical
python3 cve_2024_7954_rce.py --url <TARGET_URL> --cmd <COMMAND> [--proxy <IP:PORT>]
python3 cve_2024_7954_rce.py --url <TARGET_URL> --cmd "whoami" --proxy "127.0.0.1:8080"


python3 cve_2024_7954_rce.py --url <TARGET_URL> --cmd "id" --proxy "127.0.0.1:8080"


python3 cve_2024_7954_rce.py --url <TARGET_URL> --cmd "uname -a" --proxy "127.0.0.1:8080"


This exploit script is for authorized security testing, defensive research, and educational purposes only.