
Python proof-of-concept for detecting CVE-2023-27372 in SPIP CMS. Scans single or multiple URLs for the vulnerability and outputs results to terminal or file.
This code is a Python POC (Proof of Concept) for detecting whether a target website has the CVE-2023-27372 vulnerability.
You can run this code by providing a single URL or a text file containing multiple URLs.
Affected version: SPIP < 4.2.1. It has been verified that some websites disable phpinfo output or system functions. For accurate results, manual verification is recommended. The payload used in this code is:
s:19:"<?php phpinfo(); ?>";
pip install -r requirements.txt.python main.py -u <URL>.python main.py -t <text file path>.CVE-2023-27372-result.txt.