diff --git a/http/misconfiguration/laragon-phpinfo.yaml b/http/misconfiguration/laragon-phpinfo.yaml new file mode 100644 index 0000000000..88e1ace621 --- /dev/null +++ b/http/misconfiguration/laragon-phpinfo.yaml @@ -0,0 +1,37 @@ +id: laragon-phpinfo + +info: + name: Laragon - phpinfo Disclosure + author: DhiyaneshDk + severity: low + description: | + Laragon phpinfo file was exposed. + metadata: + verified: true + max-request: 1 + shodan-query: html:"Laragon" html:"phpinfo" + tags: laragon,exposure,misconfig + +http: + - method: GET + path: + - "{{BaseURL}}/?q=info" + + matchers-condition: and + matchers: + - type: word + words: + - "PHP Extension" + - "PHP Version" + condition: and + + - type: status + status: + - 200 + + extractors: + - type: regex + group: 1 + regex: + - '>PHP Version <\/td>([0-9.]+)' + part: body