CVE-2015-10141
An unauthenticated OS command injection vulnerability exists within …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- web.archive.org/web/20231226215418/https://paper.seebug.org/397/
- kirtixs.com/blog/2015/11/13/xpwn-exploiting-xdebug-enabled-servers/
- www.exploit-db.com/exploits/44568
- www.fortiguard.com/encyclopedia/ips/46000
- www.vulncheck.com/advisories/xdebug-remote-debugger-unauth-os-command-execution
- xdebug.org/
- nvd.nist.gov/vuln/detail/CVE-2015-10141
- cve.org/CVERecord?id=CVE-2015-10141
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.