2021-07-21 08:19:50 +00:00
|
|
|
id: php-user-ini-disclosure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Php User.ini Disclosure
|
|
|
|
author: dhiyaneshDk
|
|
|
|
severity: medium
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/php-user-ini-disclosure.json
|
2022-10-13 10:12:07 +00:00
|
|
|
tags: exposure,config,files
|
2021-07-21 08:19:50 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/user.ini"
|
|
|
|
- "{{BaseURL}}/.user.ini"
|
2021-07-23 04:16:06 +00:00
|
|
|
|
2021-07-21 08:19:50 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "assert"
|
|
|
|
- "highlight"
|
|
|
|
- "opcache"
|
|
|
|
- "mssql"
|
|
|
|
- "oci8"
|
|
|
|
- "agent"
|
|
|
|
part: body
|
2021-07-23 04:16:26 +00:00
|
|
|
condition: and
|
|
|
|
|
2021-07-21 08:19:50 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|