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

42 lines
1.1 KiB
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: medium
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
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
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
cvss-score: 4.30
cve-id: CVE-2021-37704
cwe-id: CWE-668
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.]+)'