CVE-2021-37704

Summary

CVECVE-2021-37704
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-08-12 20:15:00 UTC
Updated2022-10-27 12:41:00 UTC
DescriptionPhpFastCache 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.

Risk And Classification

Problem Types: CWE-668

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Phpfastcache Phpfastcache All All All All

References

ReferenceSourceLinkTags
Merge pull request #813 from Geolim4/master · PHPSocialNetwork/phpfastcache@41a77d0 · GitHub MISC github.com
Exposed phpinfo() leadked via documentation files · Advisory · PHPSocialNetwork/phpfastcache · GitHub CONFIRM github.com
[V7] Fixed vulnerability issue that cause exposed phpinfo() in some situations by Geolim4 · Pull Request #814 · PHPSocialNetwork/phpfastcache · GitHub MISC github.com
[V8] Fixed vulnerability issue that cause exposed phpinfo() in some situations by Geolim4 · Pull Request #813 · PHPSocialNetwork/phpfastcache · GitHub MISC github.com
phpfastcache/phpfastcache - Packagist MISC packagist.org
phpfastcache/CHANGELOG.md at master · PHPSocialNetwork/phpfastcache · GitHub MISC github.com
[V6] Fixed vulnerability issue that cause exposed phpinfo() in some situations by Geolim4 · Pull Request #815 · PHPSocialNetwork/phpfastcache · GitHub MISC github.com
phpinfo (phpinfo.php) shows PHP information including values of HttpOnly cookies. · Issue #567 · flextype/flextype · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 150390 Phpfastcache phpinfo exposure (CVE-2021-37704)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report