
POC para CVE-2018-8097 Este script explota CVE-2018-8097 y puede recuperar archivos y contenidos utilizando un método RCE ciego.
PoC para CVE-2018-8097. Este script explota CVE-2018-8097 y puede recuperar archivos y contenidos mediante un método de ejecución remota de código (RCE) ciega basada en tiempo.
python cve-2018-8097.py [-h] -u URL -c COMMAND -t TIME -id OBJECTID -d FILEPATH
options:
-h, --help show this help message and exit
-u, --url URL Target base URL (e.g., http://127.0.0.1:5000)
-d, --dir DIR Path to the file on the target system (e.g., /etc/passwd)
-id, --objectid OBJECTID
MongoDB ObjectId value for the injection
-t, --time TIME Delay in seconds for time-based check (default: 3)
-v, --verbose Enable verbose output (shows found characters)
-m, --max-length MAX_LENGTH
Maximum file length to read (default: 100)
https://www.cvedetails.com/cve/CVE-2018-8097/
pyeve/eve#1101
https://github.com/pyeve/eve/commit/f8f7019ffdf9b4e05faf95e1f04e204aa4c91f98
https://github.com/SilentVoid13/CVE-2018-8097
Este script de prueba de concepto (PoC) está destinado únicamente a fines educativos y de investigación. Se proporciona sin ninguna garantía, expresa o implícita. Al usar este script, aceptas que: No lo utilizarás para fines no autorizados o maliciosos. Entiendes que explotar vulnerabilidades puede tener consecuencias legales según tu jurisdicción. Los autores y colaboradores de este repositorio no son responsables de ningún uso indebido o daño resultante de su uso. Si eres investigador de seguridad, hacker ético o desarrollador, asegúrate de tener la autorización adecuada antes de probar o usar este script en cualquier sistema.