nuclei-templates/cves/2021/CVE-2021-37704.yaml

37 lines
933 B
YAML
Raw Normal View History

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-14 16:34:59 +00:00
reference: |
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"
- "{{BaseURL}}/vendor/phpfastcache/phpfastcache/examples/phpinfo.php"
matchers-condition: and
2021-08-14 16:22:35 +00:00
matchers:
- type: word
words:
- "PHP Extension"
- "PHP Version"
condition: and
- type: status
status:
- 200
extractors:
- type: regex
part: body
group: 1
regex:
- '>PHP Version <\/td><td class="v">([0-9.]+)'