Vulnerability Discovery and Analysis

A Nikto scan of a web server reports that /phpinfo.php exists and returns the phpinfo() page. What is the best conclusion?

Show the answer

Correct answerB. A leftover file exposes server details and needs manual verification

AWhy not this: Nikto reports exposed content and known issues; it does not confirm code execution from a phpinfo page.

BWhy this is right: Nikto flags known risky files; phpinfo output reveals configuration, so verify it by hand and report it.

CWhy not this: Missing OS patches are found by credentialed host scans, not by Nikto's web server checks.

DWhy not this: Committed secrets are found by repository scanners such as TruffleHog, not by Nikto's web checks.

Nikto checks web servers for dangerous or leftover files and misconfigurations. A reachable phpinfo page is an information disclosure finding to verify and report, not proof of code execution. Credentialed patch checks and repository secrets belong to other tools.