RCE in Xdebug
CVE-2015-10141
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
EPSS exploit prediction
EPSS 0.071, 94.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Xdebug — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Metasploit modules
3 public repositories with exploit or proof-of-concept code for this CVE:
- D3Ext/CVE-2015-10141 (31 stars, last pushed 2025-08-11): POC exploit for CVE-2015-10141
- K3ysTr0K3R/CVE-2015-10141 (last pushed 2026-06-17): PoC for CVE-2015-10141 – Xdebug unauthenticated RCE
- n0m4d22/PoC-CVE-2015-10141-Xdebug (last pushed 2025-08-18): Proof-of-Concept exploit script for Xdebug 2.5.5 and earlier versions (CVE-2015-10141).
Also mentioned in 4 other repositories (ARPSyndicate/cve-scores, CVEDB/awesome-cve-repo, CVEDB/top, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- xdebug.org/ (product)
- kirtixs.com/blog/2015/11/13/xpwn-exploiting-xdebug-enabled-servers/ (technical-description)
- web.archive.org/web/20231226215418/https://paper.seebug.org/397/ (technical-description)
- www.exploit-db.com/exploits/44568 (exploit)
- www.fortiguard.com/encyclopedia/ips/46000 (third-party-advisory)
- www.vulncheck.com/advisories/xdebug-remote-debugger-unauth-os-command-execution (third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.