CVE-2021-37704

published 12 Aug 2021 · updated 4 Aug 2024

Exposed phpinfo() in PhpFastCache

6.4MediumCVSS 5.4EPSS 5%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 5%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
PHPSocialNetwork<6.1.5, >=7.0.0 <7.1.2, >=8.0.0 <8.0.7

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-37704 severity on Zeptric[![CVE-2021-37704](https://zeptric.io/badge/cve/CVE-2021-37704.svg)](https://zeptric.io/cve/CVE-2021-37704)