From d12f639bc6e64e29301ae86cb809bc5d839e57cb Mon Sep 17 00:00:00 2001 From: eschultze Date: Mon, 3 Aug 2020 00:44:37 -0300 Subject: [PATCH] Create wamp-xdebug-detect.yaml --- .../wamp-xdebug-detect.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 security-misconfiguration/wamp-xdebug-detect.yaml diff --git a/security-misconfiguration/wamp-xdebug-detect.yaml b/security-misconfiguration/wamp-xdebug-detect.yaml new file mode 100644 index 0000000000..8a927b7498 --- /dev/null +++ b/security-misconfiguration/wamp-xdebug-detect.yaml @@ -0,0 +1,19 @@ +id: wamp-xdebug-detect + +info: + name: WAMP xdebug + author: e_schultze_ + severity: info + #inspired on https://github.com/random-robbie/My-Shodan-Scripts/blob/1b01bceecc9be0b74b202f445874920eee48bba5/wamp-xdebug/wamp-xdebug.py + #goal: detect if xdebug.remote_connect_back is enabled + +requests: + - method: GET + path: + - "{{BaseURL}}/?phpinfo=-1" + + matchers: + - type: word + words: + - 'xdebug.remote_connect_backOnOn' + part: body