42 lines
945 B
YAML
42 lines
945 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
|
|
cwe-id: CWE-200
|
|
metadata:
|
|
max-request: 1
|
|
tags: config,exposure,nginx
|
|
|
|
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
|
|
|
|
# digest: 4a0a00473045022100a96726c0cce12207cc0aa744a9137c96d0474c025449b7f47940384b4d96d66f02207b298b296ca4fda50fec4eb89a6b726153ef02f2e43d98046e83dbbe669db16b:922c64590222798bb761d5b6d8e72950
|