Create php-user-ini-disclosure.yaml

patch-1
Dhiyaneshwaran 2021-07-21 13:49:50 +05:30 committed by GitHub
parent 08f160f0e2
commit f20c444b4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
id: php-user-ini-disclosure
info:
name: Php User.ini Disclosure
author: dhiyaneshDk
severity: medium
reference: https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/php-user-ini-disclosure.json
tags: exposure,config
requests:
- method: GET
path:
- "{{BaseURL}}/user.ini"
- "{{BaseURL}}/.user.ini"
matchers-condition: and
matchers:
- type: word
words:
- "assert"
- "highlight"
- "opcache"
- "mssql"
- "oci8"
- "agent"
part: body
- type: status
status:
- 200