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.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Xdebug | Xdebug | <= 2.5.5 |
References
- http://web.archive.org/web/20231226215418/https://paper.seebug.org/397/
- https://kirtixs.com/blog/2015/11/13/xpwn-exploiting-xdebug-enabled-servers/
- https://www.exploit-db.com/exploits/44568
- https://www.fortiguard.com/encyclopedia/ips/46000
- https://www.vulncheck.com/advisories/xdebug-remote-debugger-unauth-os-command-execution
- https://xdebug.org/
Timeline
- Published
- Jul 23, 2025
- Last modified
- Jun 17, 2026
- NVD status
- Deferred