nuclei-templates/http/exposures/files/php-user-ini-disclosure.yaml

38 lines
926 B
YAML

id: php-user-ini-disclosure
info:
name: Php User.ini Disclosure
author: dhiyaneshDk
severity: medium
description: PHP user.ini file is exposed.
reference:
- https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/php-user-ini-disclosure.json
metadata:
max-request: 2
tags: exposure,config,files
http:
- method: GET
path:
- "{{BaseURL}}/user.ini"
- "{{BaseURL}}/.user.ini"
matchers-condition: and
matchers:
- type: word
words:
- "assert"
- "highlight"
- "opcache"
- "mssql"
- "oci8"
- "agent"
part: body
condition: and
- type: status
status:
- 200
# digest: 490a0046304402204032d3c4c015fc11f7019b6fc1f2cde28ccc0944712c5fa09aad3aa16a51a5e202201de193305284cbd651a3c22161f893de6f28daaf2e83d34dcacf06ffd0b94161:922c64590222798bb761d5b6d8e72950