CVE-2021-37704
Phpfastcache vulnerability
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 products
Phpfastcache. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Phpfastcache runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/PHPSocialNetwork/phpfastcache/commit/41a77d0d8f126dbd6fbedcd9e6a82e86cdaafa51 · Patch
- github.com/PHPSocialNetwork/phpfastcache/pull/813 · Patch
- github.com/PHPSocialNetwork/phpfastcache/blob/master/CHANGELOG.md#807 · Third Party Advisory
- github.com/PHPSocialNetwork/phpfastcache/pull/814 · Third Party Advisory
- github.com/PHPSocialNetwork/phpfastcache/pull/815 · Third Party Advisory
- github.com/PHPSocialNetwork/phpfastcache/security/advisories/GHSA-cvh5-p6r6-g2qc · Third Party Advisory
- github.com/flextype/flextype/issues/567 · Exploit
- packagist.org/packages/phpfastcache/phpfastcache · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-37704
- cve.org/CVERecord?id=CVE-2021-37704
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.