CVE-2015-10141
9.3
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Xdebug | Xdebug | 0 <= 2.5.5 | affected |
Weaknesses
- CWE-78: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-306: CWE-306 Missing Authentication for Critical Function
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: yes
- Technical Impact: total
References
- https://xdebug.org/
- https://kirtixs.com/blog/2015/11/13/xpwn-exploiting-xdebug-enabled-servers/
- http://web.archive.org/web/20231226215418/https://paper.seebug.org/397/
- 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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.