PHPinfo Information Disclosure

medium Web App Scanning Plugin ID 98223

Synopsis

PHPinfo Information Disclosure

Description

Many PHP installation tutorials instruct the user to create a PHP file that calls the PHP function 'phpinfo()' for debugging purposes, and various PHP applications may also include such a file by default. By accessing it, a remote attacker can discover a large amount of information about the remote web server configuration to help conduct further attacks, including :
- Versions of the web server, operating system and PHP components
- Details of the PHP configuration
- Loaded PHP extensions with their configurations
- Server environment variables.

Solution

Remove the affected file(s).

See Also

http://php.net/manual/en/function.phpinfo.php

Plugin Details

Severity: Medium

ID: 98223

Type: remote

Published: 6/27/2018

Updated: 6/28/2022

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Low

Score: 2.9

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: Tenable

CVSS v3

Risk Factor: Medium

Base Score: 5.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

CVSS Score Source: Tenable

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS Score Source: Tenable

Reference Information