CVE-2015-10141
Xdebug Remote Debugger Unauthenticated OS Command Execution
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.
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
Affected products
Xdebug · Xdebugpublic PoCs found — 4
githubgithub.com/D3Ext/CVE-2015-10141★ 30githubgithub.com/n0m4d22/PoC-CVE-2015-10141-Xdebug★ 0githubgithub.com/K3ysTr0K3R/CVE-2015-10141★ 0cve_referencewww.exploit-db.com/exploits/44568unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Want to know if your infrastructure is exposed to this?
Talk to TrueHacking →References
https://kirtixs.com/blog/2015/11/13/xpwn-exploiting-xdebug-enabled-servers/https://www.exploit-db.com/exploits/44568https://www.fortiguard.com/encyclopedia/ips/46000https://www.vulncheck.com/advisories/xdebug-remote-debugger-unauth-os-command-executionhttps://xdebug.org/http://web.archive.org/web/20231226215418/https://paper.seebug.org/397/