Nikto web server scanning: reading the output and separating noise from findings

Running Nikto against a web server you are authorized to test, what its checks cover (default files, outdated software, risky methods, headers), and how to verify each line before it becomes a finding.

Lesson 22 of 69 · 11 min read · practice only with authorization

Diagram

A Nikto run from command to ticket

Follow the path. One example at a time.

Step 1 of 4

Scope

Confirm the host, port, and time window are approved for an unauthenticated scan.

Illustration: Scope
# Scope
# Confirm the host, port, and time window are approved for
# an unauthenticated scan.

The example on the open step is one illustration, or the fix you can paste into an application you own.

What this page is made of

3 pieces. Each one says what fails, who is affected, what you would notice, and what you change.

  1. Signatures over-report

    What fails
    Nikto matches paths and banners, so many lines are informational or false positives.
    Who is affected
    Owners who receive an unfiltered report.
    What you would notice
    A report that pastes every line as a vulnerability.
    What you change
    Verify, deduplicate, and group by root cause.
  2. It is noisy by design

    What fails
    Nikto sends thousands of requests and does not try to be stealthy.
    Who is affected
    Monitoring teams and fragile servers.
    What you would notice
    A scan without coordinating with the owner.
    What you change
    Agree on timing, rate, and a contact before scanning.
  3. What it misses

    What fails
    It does not log in, understand application logic, or test authorization.
    Who is affected
    Anyone relying on it as a full assessment.
    What you would notice
    A clean Nikto run used as evidence the app is secure.
    What you change
    Pair it with authenticated testing and code review.

Reading typical output

Lines starting with + are findings or notes. OSVDB references are historical. Treat version-based lines as leads to confirm against the vendor advisory, header lines as quick hardening items, and file lines as questions about what should be public.

+ Server: Apache/2.4.41 (Ubuntu)
+ /: The anti-clickjacking X-Frame-Options header is not present.
+ /: The X-Content-Type-Options header is not set.
+ Apache/2.4.41 appears to be outdated (current is at least 2.4.62).
+ /backup/: Directory indexing found.
+ /phpinfo.php: Output from the phpinfo() function was found.

Turning lines into findings

Group the lines: headers become one hardening finding; an outdated server becomes a patching finding with the advisory; phpinfo and directory indexing become exposure findings with the files listed. Each finding needs the verification command and the fix.

Related scanners

Nuclei runs template-based checks with lower noise and is covered in the web reconnaissance workbench. ZAP adds crawling and passive analysis.

Check yourself

Recognition and the fix. Nothing here is a procedure.

1 / 3

Nikto reports “Apache/2.4.41 appears to be outdated.” What do you do before reporting?

Go deeper

Specific techniques, exercises, and glossary cards for this topic.

  1. 01Diff a scan against the inventoryA scanner produces observations and severities. Includes the diagram and a defensive fix.
  2. 02Nessus and vulnerability scannersA vulnerability scanner matches what it can see against a database of known issues. Includes the diagram and a defensive fix.
  3. 03How web applications work: requests, sessions, and where trust is decidedA browser request from DNS to database and back, the parts of an HTTP exchange a tester reads first, and the server-side decisions that most web vulnerabilities come down to. Includes the diagram and a defensive fix.

Exercises

  1. 01Terminal mission: server-status open to everyoneApache’s server-status page lists every request in flight, query strings included. Find the config that exposes it, what it leaks, and the version banner it gives away.
  2. 02Vulnerability prioritizationRank eight findings with CVSS, EPSS, known-exploited status, exposure, and asset value, and fill a three-slot patch window with the right fixes.