Vulnerability library
Security checkMay 13, 2024

phpinfo() Found

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The phpinfo() method in PHP reveals extensive details about the PHP environment, including configuration settings, server information, and installed extensions. While useful for debugging and configuration purposes, exposing this information in a production environment poses a security risk. Attackers can leverage the disclosed information to identify vulnerabilities and tailor their attacks accordingly.

Test for phpinfo Vulnerability with SmartScanner

Donwload FREE!

Recommendation

Avoid exposing sensitive information by removing the phpinfo() page or eliminating the phpinfo() function calls from production code. Restrict access to such information to authorized personnel only.

References

Could your website be exposed too?

SmartScanner can check your website for phpinfo() Found and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated May 13, 2024