Property
Languagephp
Severitymedium
CWECWE-200: Exposure of Sensitive Information to an Unauthorized Actor
OWASPA01:2021 - Broken Access Control
Confidence LevelMedium
Impact LevelMedium
Likelihood LevelMedium

Description#

Using the ‘phpinfo’ function exposes detailed information about your server’s PHP configuration, environment variables, and installed modules. This can give away sensitive setup details that should not be accessible to users.

Impact#

If an attacker accesses output from ‘phpinfo’, they can gather critical information like file paths, software versions, and enabled extensions. This data may help them find and exploit other vulnerabilities, increasing the risk of targeted attacks or unauthorized access.