S4E just found a medium-severity finding from host header injection vulnerability scanner
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Web Vulnerabilities·Updated Oct 8, 2025

CVE-2015-10141 Scanner

CVE-2015-10141 Scanner - Command Injection vulnerability in Xdebug

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, subdomain, ipv4
CostFree
3.1k
Times Used
continuous scan runs
3.7k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2015-10141
9.3
CVSScritical
Exploitable remotely over the internet · no authentication required.

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.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
Xdebugby Xdebug
0
Updated Aug 22, 2026View on NVD →
Detail

Xdebug is a popular PHP debugging and profiling tool used widely by developers for improving and optimizing their PHP applications. It is used in local and distributed development environments to identify issues in code and ensure the smooth operation of PHP scripts. Xdebug integrates with various IDEs and text editors to facilitate remote debugging and code tracing. It helps developers gain detailed insights into their PHP code execution, providing stack traces, function monitoring, and performance profiling. Despite its functionalities aimed at easing the development process, Xdebug's features, particularly remote debugging, can be manipulated if not configured properly.

Command Injection vulnerabilities in software products like Xdebug allow an attacker to execute arbitrary commands on a host machine through the vulnerable application. In the case of Xdebug, this vulnerability arises from insufficient controls over the debugger protocol commands accepted by the application when remote debugging is enabled. An attacker can leverage this flaw to exploit the system, executing arbitrary PHP and system commands without authorization. This can lead to extensive unauthorized access and control over affected systems.

Technical details of this vulnerability in Xdebug indicate that when remote debugging is enabled, Xdebug can accept debugger protocol commands without adequate authentication. The GET request parameter 'XDEBUG_SESSION_START' can be manipulated with crafted data to exploit this flaw. When specific payloads are used, they can initiate an execution path that leads to arbitrary PHP code or system command execution. The vulnerability is further exploited as remote attackers can execute these commands leveraging the Xdebug protocol.

If successfully exploited, this Command Injection vulnerability can have severe impacts, including unauthorized remote code execution leading to complete compromise of the affected system. Attackers may gain full control of the server, alter files, intercept sensitive data, and pivot to further attacks within the network. Compromised systems could be leveraged for launching additional attacks, stealing sensitive data, or disrupting services.

REFERENCES

Solution Advice
  • Disable remote debugging if not necessary to eliminate potential exposure to unauthorized command execution.
  • Restrict Xdebug access to trusted host machines and networks, ensuring unauthorized external access is prevented.
  • Implement robust authentication mechanisms on systems utilizing Xdebug to prevent unauthorized access and exploitation.
  • Regularly update Xdebug and related systems to the latest versions, patching any known vulnerabilities, including those related to command injection.
  • Conduct thorough code audits and penetration testing to identify and mitigate vulnerabilities related to command injection.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.

CVE-2015-10141 Scanner - Command Injection vulnerability in Xdebug | S4E