Nginx Missing Root Location

medium Web App Scanning Plugin ID 113641

Synopsis

Nginx Missing Root Location

Description

The scanner has detected that the Nginx installation does not have a directive for the root location ('/').

This could potentially leak useful information about the server installation to a remote, unauthenticated attacker.

Solution

Add an Nginx directive for the root location

See Also

https://book.hacktricks.xyz/network-services-pentesting/pentesting-web/nginx

https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/

Plugin Details

Severity: Medium

ID: 113641

Type: remote

Published: 3/8/2023

Updated: 3/8/2023

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

Risk Information

VPR

Risk Factor: Low

Score: 1.4

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.3

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

CVSS Score Source: Tenable

Vulnerability Information

CPE: cpe:2.3:a:nginx:nginx:*:*:*:*:*:*:*:*

Reference Information