2021-07-21 08:19:50 +00:00
|
|
|
id: php-user-ini-disclosure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Php User.ini Disclosure
|
|
|
|
author: dhiyaneshDk
|
|
|
|
severity: medium
|
2024-01-02 16:16:15 +00:00
|
|
|
description: PHP user.ini file is exposed.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/php-user-ini-disclosure.json
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: exposure,config,files
|
2021-07-21 08:19:50 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-07-21 08:19:50 +00:00
|
|
|
- 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
|
2024-01-15 11:49:24 +00:00
|
|
|
# digest: 490a0046304402200717b3650c579696d16322fb69b4495c0ae02bf2ebdbcad6e01ace46c1dbda56022016cc4c9fc1dcf3d3fb3fd944bfe63722a4906018dead779f61a395745a8cceba:922c64590222798bb761d5b6d8e72950
|