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
|
2021-09-10 11:26:40 +00:00
|
|
|
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
|
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-09-10 11:26:40 +00:00
|
|
|
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"
|
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.]+)'
|