nuclei-templates/http/exposures/configs/phpinfo-files.yaml

66 lines
1.9 KiB
YAML
Raw Normal View History

2020-04-04 18:19:48 +00:00
id: phpinfo-files
info:
name: PHPinfo Page - Detect
2023-12-31 16:09:36 +00:00
author: pdteam,daffainfo,meme-lord,dhiyaneshDK,wabafet,mastercho
2023-03-17 16:49:35 +00:00
severity: low
description: |
PHPinfo page was detected. The output of the phpinfo() command can reveal sensitive and detailed PHP environment information.
2023-03-17 16:49:35 +00:00
remediation: Remove PHP Info pages from publicly accessible sites, or restrict access to authorized users only.
2023-03-02 20:58:29 +00:00
classification:
cwe-id: CWE-200
metadata:
max-request: 25
tags: config,exposure,phpinfo
2020-04-04 18:19:48 +00:00
http:
2020-04-04 18:19:48 +00:00
- method: GET
2020-05-25 08:02:27 +00:00
path:
2020-04-04 18:19:48 +00:00
- "{{BaseURL}}/php.php"
2023-12-31 16:09:36 +00:00
- "{{BaseURL}}/php2.php"
2020-04-04 18:19:48 +00:00
- "{{BaseURL}}/phpinfo.php"
- "{{BaseURL}}/info.php"
2020-04-10 09:56:24 +00:00
- "{{BaseURL}}/infophp.php"
- "{{BaseURL}}/php_info.php"
- "{{BaseURL}}/test.php"
- "{{BaseURL}}/i.php"
2023-12-31 16:09:36 +00:00
- "{{BaseURL}}/p.php"
- "{{BaseURL}}/pi.php"
2020-04-10 09:56:24 +00:00
- "{{BaseURL}}/asdf.php"
2020-04-10 09:57:03 +00:00
- "{{BaseURL}}/pinfo.php"
2020-04-10 09:56:24 +00:00
- "{{BaseURL}}/phpversion.php"
- "{{BaseURL}}/time.php"
2021-02-20 10:21:07 +00:00
- "{{BaseURL}}/index.php"
2021-02-27 07:46:19 +00:00
- "{{BaseURL}}/temp.php"
- "{{BaseURL}}/old_phpinfo.php"
2021-03-03 22:58:37 +00:00
- "{{BaseURL}}/infos.php"
- "{{BaseURL}}/linusadmin-phpinfo.php"
- "{{BaseURL}}/php-info.php"
2021-09-17 02:49:28 +00:00
- "{{BaseURL}}/dashboard/phpinfo.php"
2022-07-29 16:20:23 +00:00
- "{{BaseURL}}/_profiler/phpinfo.php"
- "{{BaseURL}}/_profiler/phpinfo"
2023-02-13 15:14:10 +00:00
- "{{BaseURL}}/?phpinfo=1"
2023-08-16 10:31:14 +00:00
- "{{BaseURL}}/l.php?act=phpinfo"
2021-09-17 07:50:06 +00:00
stop-at-first-match: true
2023-10-14 11:27:55 +00:00
matchers-condition: and
2020-04-04 18:19:48 +00:00
matchers:
- type: word
part: body
2020-05-25 08:02:27 +00:00
words:
2020-04-04 18:19:48 +00:00
- "PHP Extension"
- "PHP Version"
condition: and
- type: status
status:
- 200
extractors:
- type: regex
part: body
group: 1
regex:
2021-09-17 07:50:06 +00:00
- '>PHP Version <\/td><td class="v">([0-9.]+)'
# digest: 4b0a004830460221009b7c20b1db6690a5efc202e5e4183334cc2cac71afd4ef5031bfcc1f1d3a00df022100ceb05aa6e4dd37a4bd7bfde8f170a9a1a5d827f94e1e405002e5dfe9d6484d38:922c64590222798bb761d5b6d8e72950