module

xdebug Unauthenticated OS Command Execution

Disclosed
2017-09-17
Created
2018-06-14

Description

Module exploits a vulnerability in the eval command present in Xdebug versions 2.5.5 and below.
This allows the attacker to execute arbitrary php code as the context of the web user.

Authors

Ricter Zheng
Shaksham Jaiswal
Mumbai

Platform

PHP

Architectures

php

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/unix/http/xdebug_unauth_exec
msf exploit(xdebug_unauth_exec) > show targets
...targets...
msf exploit(xdebug_unauth_exec) > set TARGET < target-id >
msf exploit(xdebug_unauth_exec) > show options
...show and set options...
msf exploit(xdebug_unauth_exec) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.