
Python-basierter Proof-of-Concept für CVE-2022-22965 (Spring4Shell), der eine Markierungsdatei in das Tomcat-webapps-Verzeichnis schreibt und die Ausnutzung über eine HTTP-Anfrage validiert.
Ein sichererer PoC für CVE-2022-22965 (Spring4Shell)
CVE_2022-22965_exploited.txt im Tomcat-Verzeichnis webapps/ROOTusage: Safer_PoC_CVE-2022-22965.py [-h] --url URL [--dir DIR]
CVE-2022-22965 Spring-Core remote code execution POC
optional arguments:
-h, --help show this help message and exit
--url URL target url
--dir DIR directory to write the result (default is "webapps")
Beispiel: python3 Safer_PoC_CVE-2022-22965.py --url http://localhost:8080/handling-form-submission-complete/greeting --dir "webapps/handling-form-submission-complete"
Dateiname: CVE_2022_22965_exploited.txt
Dateiinhalt: Warning, CVE_2022_22965 was sucessfully exploited on this device. reference: https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement