CVE-2015-10141 Details
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.
A vulnerability allowing unauthenticated OS command injection exists in Xdebug, a PHP debugging extension, in versions through 2.5.5. When remote debugging is enabled, Xdebug listens on port 9000 and accepts commands without authentication. An attacker can exploit this by sending a crafted eval command to execute arbitrary PHP code, potentially invoking system-level functions. This leads to a full compromise of the host under the web server user's privileges.
Users are advised to update their Xdebug configuration to disable remote debugging or to remove Xdebug from publicly accessible servers. The recommended configuration is to set 'xdebug.remote_enable' to 'false' and 'xdebug.remote_connect_back' to 'false'.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 23, 2025CISA-ADP
Assessed Jul 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://kirtixs.com/blog/2015/11/13/xpwn-exploiting-xdebug-enabled-servers/ | [email protected] | ExploitTechnical Description |
| https://www.exploit-db.com/exploits/44568 | [email protected] | Exploit |
| https://www.fortiguard.com/encyclopedia/ips/46000 | [email protected] | AdvisoryRemedy |
| https://www.vulncheck.com/advisories/xdebug-remote-debugger-unauth-os-command-execution | [email protected] | AdvisoryBundle |
| https://xdebug.org/ | [email protected] | ProductVendor |
| http://web.archive.org/web/20231226215418/https://paper.seebug.org/397/ | [email protected] | ExploitTechnical Analysis |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Xdebug | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 23, 2025 | New CVE Received | [email protected] |
Volerion