Skip to main content
← All vulnerabilities
CVE-2015-10141

Xdebug Remote Debugger Unauthenticated OS Command Execution

Published
Last modified
published
Not listed in CISA KEV
1 Metasploit module, 2 proofs of concept on GitHub, 1 Nuclei template
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • Xdebug Xdebug

    through 2.5.5

References 10

xdebug.org

kirtixs.com

web.archive.org

Exploit-DB

fortiguard.com

vulncheck.com

GitHub · rapid7/metasploit-framework

GitHub · projectdiscovery/nuclei-templates

GitHub · D3Ext/CVE-2015-10141

GitHub · n0m4d22/PoC-CVE-2015-10141-Xdebug