2022-06-05 21:45:03 +00:00
|
|
|
id: php-ini
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Php.ini File Disclosure
|
2022-06-06 11:48:34 +00:00
|
|
|
author: geeknik,DhiyaneshDK
|
2022-06-05 21:45:03 +00:00
|
|
|
severity: low
|
2024-01-02 16:16:15 +00:00
|
|
|
description: php.ini file is exposed.
|
2022-06-05 21:45:03 +00:00
|
|
|
reference: https://www.php.net/manual/en/configuration.file.php
|
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2022-06-05 21:45:03 +00:00
|
|
|
shodan-query: php.ini
|
2022-10-13 10:12:07 +00:00
|
|
|
tags: config,exposure,files
|
2022-06-05 21:45:03 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-06-05 21:45:03 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/php.ini"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
2022-06-06 11:48:34 +00:00
|
|
|
part: body
|
2022-06-05 21:45:03 +00:00
|
|
|
words:
|
|
|
|
- "[PHP]"
|
|
|
|
- "short_open_tag"
|
|
|
|
- "safe_mode"
|
|
|
|
- "expose_php"
|
2022-06-06 11:48:34 +00:00
|
|
|
condition: and
|
2022-06-05 21:45:03 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2024-01-15 11:49:24 +00:00
|
|
|
# digest: 4a0a0047304502204791244ace57877a5bc4296a3919bcde88b1c690125558b459e4b90bf3ddc9a9022100c3d176771453ff2c912b50c6e2b76277e1080a1510b668914cf887991226e6a6:922c64590222798bb761d5b6d8e72950
|