QID 150390
Date Published: 2021-11-17
QID 150390: Phpfastcache phpinfo exposure (CVE-2021-37704)
Phpfastcache is a high-performance backend cache system. It is intended for use in speeding up dynamic web applications by alleviating database load.
Affected versions of Phpfastcache expose "phpinfo()" file, if the "/vendor" directory is not protected from public access.
phpinfo is a important debugging file containing information on both system and PHP configuration.
Affected versions:
Phpfastcache versions prior to 6.1.5
Phpfastcache versions 7.0.0 to 7.1.1
Phpfastcache versions 8.0.0 to 8.0.6
QID Detection Logic (Unauthenticated) :
This QID sends a HTTP GET request to "/vendor/phpfastcache/phpfastcache/docs/examples/phpinfo.php" to retrive the contents of "phpinfo.php" file and based on the response confirms if the target is vulnerable.
Successful exploitation of the vulnerability may allow remote attackers to read contents of "phpinfo" file, which could leak detailed information about the target server. The attacker can further use this information to exploit other vulnerabilities
- Phpfastcache Security Advisory -
github.com/PHPSocialNetwork/phpfastcache/security/advisories/GHSA-cvh5-p6r6-g2qc
CVEs related to QID 150390
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| Phpfastcache Downloads |
|