
Proof-of-concept basato su Python per CVE-2022-22965 (Spring4Shell) che scrive un file marker nella directory webapps di Tomcat e valida lo sfruttamento tramite richiesta HTTP.
Un PoC più sicuro per CVE-2022-22965 (Spring4Shell)
CVE_2022-22965_exploited.txt nella directory tomcat 'webapps/ROOT'usage: 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")
Esempio: python3 Safer_PoC_CVE-2022-22965.py --url http://localhost:8080/handling-form-submission-complete/greeting --dir "webapps/handling-form-submission-complete"
Nome file: CVE_2022_22965_exploited.txt
Contenuto file: Warning, CVE_2022_22965 was sucessfully exploited on this device. reference: https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement