{"id":"CVE-2015-10141","published":"2025-07-23T13:53:23Z","modified":"2026-05-15T11:14:24Z","title":"Xdebug Remote Debugger Unauthenticated OS Command Execution","vendor":"Xdebug","product":"Xdebug","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.07417,"percentile":0.94581,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://xdebug.org/","tags":["product"]},{"url":"https://kirtixs.com/blog/2015/11/13/xpwn-exploiting-xdebug-enabled-servers/","tags":["technical-description"]},{"url":"http://web.archive.org/web/20231226215418/https://paper.seebug.org/397/","tags":["technical-description"]},{"url":"https://www.exploit-db.com/exploits/44568","tags":["exploit"]},{"url":"https://www.fortiguard.com/encyclopedia/ips/46000","tags":["third-party-advisory"]},{"url":"https://www.vulncheck.com/advisories/xdebug-remote-debugger-unauth-os-command-execution","tags":["third-party-advisory"]}],"priority":{"score":30.4,"factors":[{"name":"EPSS percentile","points":18.92},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2022-07-04","earliestUrl":"https://github.com/D3Ext/CVE-2015-10141","repos":[{"name":"D3Ext/CVE-2015-10141","url":"https://github.com/D3Ext/CVE-2015-10141","stars":31,"created":"2022-07-04"},{"name":"n0m4d22/PoC-CVE-2015-10141-Xdebug","url":"https://github.com/n0m4d22/PoC-CVE-2015-10141-Xdebug","stars":0,"created":"2025-08-17"}]},"metasploit":[{"name":"xdebug Unauthenticated OS Command Execution","module":"exploit/unix/http/xdebug_unauth_exec","type":"exploit","disclosureDate":"2017-09-17","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/http/xdebug_unauth_exec.rb"}],"nuclei":[{"id":"CVE-2015-10141","name":"Xdebug <= 2.5.5 - Command Injection","severity":"critical","path":"http/cves/2015/CVE-2015-10141.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2015/CVE-2015-10141.yaml"}],"first":{"date":"2017-09-17","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/http/xdebug_unauth_exec.rb"},"provenance":"source"},"vendorSlug":"xdebug","affectedVersions":[{"vendor":"Xdebug","product":"Xdebug","versions":["<= 2.5.5"]}],"capec":[{"id":"CAPEC-88","name":"OS Command Injection"},{"id":"CAPEC-137","name":"Parameter Injection"}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-07-23T14:33:39.152822Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"Xdebug, a PHP debugging extension, contains a flaw in its remote debugging interface on port 9000 that allows unauthenticated OS command injection when remote debugging is enabled. An attacker with network access to that port and no credentials, user interaction, or special configuration beyond remote debugging being enabled can send a crafted eval command to execute arbitrary PHP code, including system-level functions, leading to full compromise of the host under the web server user's privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:18:26Z"},"euvd":{"id":"EUVD-2015-9401","exploited":false,"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/44568"]}