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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2015-10141 — Scanner and proof-of-concept exploit for CVE-2015-10141, the unauthenticated Xdebug DBGp command injection (<= 2.5.5) enabling remote PHP code execution. | Kitploit
ツール/GitHubGitHub/jonathan1010/cve-2015-10141
Vulnerability ScannersWeb Vulnerability ScannersExploitationWeb Application ExploitationPenetration TestingCommand and ControlRemote Access Tool
GitHubjonathan1010/cve-2015-10141

CVE-2015-10141

Scanner and proof-of-concept exploit for CVE-2015-10141, the unauthenticated Xdebug DBGp command injection (<= 2.5.5) enabling remote PHP code execution.

リポジトリを見る
2026年12月4日未レビュー

関連ツール

  • nuclei

    高速なYAMLベースの脆弱性スキャナーで、テンプレート駆動型の検出エンジンを備え、Webアプリ、API、ネットワーク、DNS、クラウドインフラストラクチャにわたる自動セキュリティテストを実現します。

  • zaproxy

    オープンソースのWebアプリケーションセキュリティスキャナーで、自動脆弱性検出、手動ペネトレーションテスト、プロキシベースのインターセプションエンジンによるAPIセキュリティテストを提供します。

  • openvas-scanner

    このリポジトリには、Greenbone Community Edition のスキャナーコンポーネントが含まれています。

人気

すべて見る →

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

  • 1

    Callisto

    jetp1ane/callisto

    Ghidraを介して実行可能ファイルを逆コンパイルし、Semgrepで擬似Cコードをスキャンし、GPT-3.5-Turboを使用して検出結果を検証することで誤検知を低減する、自動化されたバイナリ脆弱性解析ツール。

    796
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    735
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    不正なGSMセルを展開してSMSを傍受し、メッセージを注入し、モバイル端末を追跡するIMSI Catcherプラットフォーム

    721
  • 4

    opencti

    opencti-platform/opencti

    オープンサイバー脅威インテリジェンスプラットフォーム

    535
  • 5

    ARTEX

    baarai/artex

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

    424
  • 6

    DFRoot

    a2333c/dfroot

    Samsung Galaxy S25 Ultra (SM-S938B) 向けの Android root ツール。DirtyFrag CVE-2026-43284 と CVE-2026-43499 を連鎖させ、KernelSU 経由で起動時に自動的に root を取得します。

    419

すべてのツールを探索

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

すべてのツールを見る →
共有
要求された言語のコンテンツは利用できません。英語版を表示しています。

CVE-2015-10141

Xdebug <= 2.5.5 - Command Injection

Metadata

fieldvalue
CVECVE-2015-10141
severitycritical
CVSSN/A (record); NVD CVSS:4.0 9.3 CRITICAL, AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
fixed in2.6.0 (affected: all Xdebug versions 0 through 2.5.5)
classunauthenticated OS command injection / RCE (CWE-78, CWE-306), DBGp debugger interface
scanner version1.0.0
python3.8+ stdlib only, no third-party deps

Exploit

If you want the exploit, find it here: https://satoshidisk.com/pay/CT5RUR

Summary

Xdebug <= 2.5.5 contains an unauthenticated command injection caused by accepting debugger protocol commands without authentication when remote debugging is enabled, letting remote attackers execute arbitrary PHP code and system commands; the exploit requires remote debugging enabled. With xdebug.remote_enable=1 the DBGp listener on tcp/9000 answers the probe and eval commands for any client: eval pipes its argument straight into the PHP evaluator, so eval (md5(1337)) returning e48e13207341b6bffb7fb1622282247b proves code execution rather than reflection. On the HTTP side the 2.5.5 cookie layer in xdebug.c mirrors the XDEBUG_SESSION_START query value into Set-Cookie: ***, which is the observable the nuclei template scores together with the DNS (interactsh) callback and the 200 status.

Full description

An unauthenticated OS command injection vulnerability exists within Xdebug versions 2.5.5 and earlier, a PHP debugging extension developed by Derick Rethans. When remote debugging is enabled, Xdebug listens on port 9000 and accepts debugger protocol commands without authentication. An attacker can send a crafted eval command over this interface to execute arbitrary PHP code, which may invoke system-level functions such as system() or passthru(). This results in full compromise of the host under the privileges of the web server user.

The fix landed in 2.6.0: the dispatcher (xdebug_handler_dbgp.c, dbgp_commands[]) keeps eval but the 2.6.x line tightens the socket/send handling and session setup, and the practical mitigations are to disable remote debugging in production or upgrade to Xdebug 2.6.0 or later with proper authentication controls (xdebug.idekey / xdebug.session pinning).

Detection model

  • One request only, matching the template max-request: 1: GET /?XDEBUG_SESSION_START=<token> with request header X-Forwarded-For: <token>, where <token> is the 12-char md5 prefix over the probe value (md5(url|CVE-2015-10141)[:12]).
  • Matcher 1 (interactsh): part: interactsh_protocol, word dns - the stdlib scanner mirrors this with a DNS A-record answer for the target host via socket.gethostbyname.
  • Matcher 2 (header): word `Set-Cookie: *** - the reply must carry the Xdebug session cookie, and the scanner additionally asserts the exact echoed token so a cached page cannot pass.
  • Matcher 3 (status): 200.
  • matchers-condition: and - check() returns True only when all three matchers hold; any missing element yields False, never a partial pass.
  • A target that never answers the status line is scored error, not not-vuln.
  • Rows are streamed to the CSV as each worker finishes (flush + fsync per row); the --json sidecar mirrors the same rows for tooling.

Usage

Scanner:

python scanner/CVE-2015-10141/scanner.py urls.txt [threads] [out.csv] [--json out.json]

urls.txt takes one target per line (# comments skipped, scheme auto-prepended when missing), e.g. shop.local or http://shop.local:8080. Plain hosts usually answer on port 80 or 443; the DBGp listener itself is tcp/9000.

python exploit/CVE-2015-10141/exploit.py http://shop.local [--csv out.csv] [--json out.json] [--verbose]

It replays the template probe on the HTTP side, opens the raw DBGp session on tcp/9000 (greeting, probe: 1, eval (md5(1337))), prints numbered checks 1 to 5, the result dict, and the final verdict line.

Example scanner output

RCE POC SUITE
 scanner : CVE-2015-10141 v1.0.0 (Xdebug <= 2.5.5, fixed in 2.6.0)
 endpoint: GET /?XDEBUG_SESSION_START=<token> with header X-Forwarded-For: <token>
 matchers: interactsh dns 'dns' AND header word 'Set-Cookie: ***' AND status 200 (and)
 threads : 4 | csv: out.csv | json: out.json
[2026-12-03 14:11:02] loaded 1 target(s) from urls.txt
[2026-12-03 14:11:03] summary total=1 answered=1 vulnerable=1 errors=0
[2026-12-03 14:11:03] timing wall=942ms avg=911ms max=911ms
[2026-12-03 14:11:03] wrote out.csv (1 row(s)) and out.json

Scanner report columns

columnmeaning
n1-based row number
urltarget as provided (scheme auto-prepended if missing)
statusok if the HTTP layer answered, error otherwise
vulnerableTrue/False verdict from check() (all three matchers)
elapsed_msper-target timing
token12-char md5 over the probe value, the echoed XDEBUG_SESSION value
result_b64base64(JSON) full details (per-matcher evidence)

Files

  • scanner/CVE-2015-10141/scanner.py - threaded black-box scanner.
  • scanner/CVE-2015-10141/README.md - this document.
  • scanner/CVE-2015-10141/DESCRIPTION.md - architecture and probe plan.
  • exploit/CVE-2015-10141/exploit.py - two-stage POC (HTTP cookie mirror + DBGp eval).

Exit codes

  • 0 - completed and at least one target scored vulnerable.
  • 2 - completed with no vulnerable target (or no targets loaded).

References

  • nuclei template: http/cves/2015/CVE-2015-10141.yaml
  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2015-10141
  • https://github.com/vulhub/vulhub/tree/master/php/xdebug-rce
  • https://redshark1802.com/blog/2015-11-13/xpwn-exploiting-xdebug-enabled-servers/
  • https://www.exploit-db.com/exploits/44568
ツールをダウンロード