39 lines
751 B
YAML
39 lines
751 B
YAML
id: nginx-config
|
|
|
|
info:
|
|
name: Nginx Config - Detect
|
|
author: sheikhrishad,geeknik
|
|
severity: info
|
|
description: Nginx configuration information was detected.
|
|
reference:
|
|
- https://nginx.org/en/
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
|
cvss-score: 0.0
|
|
cwe-id: CWE-200
|
|
tags: config,exposure,nginx
|
|
metadata:
|
|
max-request: 1
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/nginx.conf"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "html>"
|
|
negative: true
|
|
- type: word
|
|
words:
|
|
- "server"
|
|
- "listen"
|
|
- "server_name"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|