CVE-2021-37704

Exposed phpinfo() in PhpFastCache

MEDIUM
4.3
CVSS Score
Published: August 12, 2021 at 08:05 PM UTC
Updated: June 17, 2026 at 04:01 AM UTC
2 products affected across 2 vendorsPhpfastcachePhpfastcache

Using phpfastcache by PHPSocialNetwork?

Get instant alerts when new vulnerabilities affect phpfastcache - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.3
Exploit prediction
EPSS 6%

Description

PhpFastCache is a high-performance backend cache system (packagist package phpfastcache/phpfastcache). In versions before 6.1.5, 7.1.2, and 8.0.7 the `phpinfo()` can be exposed if the `/vendor` is not protected from public access. This is a rare situation today since the vendor directory is often located outside the web directory or protected via server rule (.htaccess, etc). Only the v6, v7 and v8 will be patched respectively in 8.0.7, 7.1.2, 6.1.5. Older versions such as v5, v4 are not longer supported and will **NOT** be patched. As a workaround, protect the `/vendor` directory from public access.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.1.57.0.0 ≤ v < 7.1.28.0.0 ≤ v < 8.0.7
Affected range stops below 6.1.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.1.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.0.7, so it looks safe — our inference, not a vendor statement
v < 6.1.5v < 7.1.2v < 8.0.7
Affected range stops below 6.1.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.1.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.0.7, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-200CWE-668

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card