
Python-आधारित प्रूफ-ऑफ-कॉन्सेप्ट जो CVE-2022-22965 (Spring4Shell) के लिए Tomcat webapps निर्देशिका में एक मार्कर फ़ाइल लिखता है और HTTP अनुरोध के माध्यम से शोषण को मान्य करता है।
CVE-2022-22965 (Spring4Shell) के लिए एक Safer PoC
CVE_2022-22965_exploited.txt नामक एक फ़ाइल बनाता है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")
उदाहरण: python3 Safer_PoC_CVE-2022-22965.py --url http://localhost:8080/handling-form-submission-complete/greeting --dir "webapps/handling-form-submission-complete"
फ़ाइल नाम: CVE_2022_22965_exploited.txt
फ़ाइल सामग्री: Warning, CVE_2022_22965 was sucessfully exploited on this device. reference: https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement