Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2015-10141 — PoC for CVE-2015-10141 – Xdebug unauthenticated RCE | Kitploit
Tools/GitHubGitHub/k3ystr0k3r/cve-2015-10141
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubk3ystr0k3r/cve-2015-10141

CVE-2015-10141

PoC for CVE-2015-10141 – Xdebug unauthenticated RCE

View Repository
2 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2015-10141 – XDebug Remote Code Execution (RCE)

CVE-2015-10141 is an unauthenticated OS command injection vulnerability affecting Xdebug versions 2.5.5 and earlier.

Root Cause: When Xdebug's remote debugging feature is enabled, the extension listens on port 9000 and accepts debugger protocol commands without any form of authentication.

Attack Vector: An attacker can send specially crafted eval commands through this interface to execute arbitrary PHP code, which can then invoke system-level functions like system() or passthru(), leading to OS command injection.

Impact: Successful exploitation grants full control over the target host under the privileges of the web server user.


Affected Products

Download Tool
ItemDetails
Vulnerable ComponentXdebug (PHP extension)
Affected Versions2.5.5 and earlier
VendorDerick Rethans (Xdebug official)
CVSS Score9.3 (Critical)

Mitigation Measures

  1. Upgrade Xdebug to version 2.5.6 or later.
  2. Disable remote debugging when not actively in use.
  3. Restrict network access to the Xdebug port (9000) via firewalls or access control lists.

Disclaimer Regarding the PoC Exploit

DISCLAIMER

The Proof-of-Concept (PoC) exploit code included in this repository is provided strictly for security research and educational purposes.

  1. Lawful Use Only: This PoC must only be used on systems for which you have explicit authorization (e.g., your own test environments or systems with written permission from the owner) for security assessments.

  2. No Malicious Use: It is strictly forbidden to use this PoC for unauthorized access, data theft, system disruption, or any other illegal activities. Unauthorized exploitation of this vulnerability may violate cybersecurity laws and regulations, and the perpetrator shall bear all corresponding legal liabilities.

  3. Use at Your Own Risk: Running this PoC may cause irreversible damage to the target system (including but not limited to service interruptions, data corruption, etc.). The user assumes all risks, and the author and repository maintainers are not liable for any direct or indirect damages.

  4. Test Environment Only: It is highly recommended to run this PoC only in isolated test environments. Never use it on production systems or unauthorized networks.

  5. Fix First: If this vulnerability is discovered in your systems, you should immediately apply the mitigation measures mentioned above rather than relying on the exploit for persistence.


References

  • NVD – CVE-2015-10141
  • GitHub Advisory Database – GHSA-267w-63f8-m896
  • Exploit-DB – 44568
  • Rapid7 Metasploit Module – xdebug_unauth_exec
  • Debian Security Tracker