2021-08-14 16:22:35 +00:00
|
|
|
id: CVE-2021-37704
|
|
|
|
|
|
|
|
info:
|
2021-08-14 19:27:33 +00:00
|
|
|
name: phpfastcache phpinfo exposure
|
2021-08-14 16:22:35 +00:00
|
|
|
author: whoever
|
|
|
|
severity: low
|
2021-08-14 16:34:59 +00:00
|
|
|
description: phpinfo() exposure in unprotected composer vendor folder via phpfastcache/phpfastcache.
|
2021-08-14 19:27:33 +00:00
|
|
|
tags: cve,cve2021,exposure,phpfastcache
|
2021-08-19 13:59:12 +00:00
|
|
|
reference:
|
2021-08-14 16:34:59 +00:00
|
|
|
https://github.com/PHPSocialNetwork/phpfastcache/pull/813
|
|
|
|
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37704
|
2021-08-14 16:22:35 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/vendor/phpfastcache/phpfastcache/docs/examples/phpinfo.php"
|
2021-08-14 19:18:15 +00:00
|
|
|
- "{{BaseURL}}/vendor/phpfastcache/phpfastcache/examples/phpinfo.php"
|
2021-08-14 18:56:37 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
2021-08-14 16:22:35 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "PHP Extension"
|
|
|
|
- "PHP Version"
|
|
|
|
condition: and
|
2021-08-14 18:56:37 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- '>PHP Version <\/td><td class="v">([0-9.]+)'
|