36 lines
924 B
YAML
36 lines
924 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: 490a0046304402200717b3650c579696d16322fb69b4495c0ae02bf2ebdbcad6e01ace46c1dbda56022016cc4c9fc1dcf3d3fb3fd944bfe63722a4906018dead779f61a395745a8cceba:922c64590222798bb761d5b6d8e72950 |