Rapid7 Vulnerability & Exploit Database

phpinfo() Information Leakage

Back to Search

phpinfo() Information Leakage

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:P/I:N/A:N)
Published
11/01/2004
Created
07/25/2018
Added
11/01/2004
Modified
10/05/2015

Description

The official PHP documentation makes a recommendation to create a file that calls the phpinfo() function in order to test that the PHP installation was successful; it is a common mistake to forget to remove this file. The information leaked by the phpinfo() function includes physical paths, environment variables, and the full PHP configuration settings.

Solution(s)

  • http-php-phpinfo-leak

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;