2021-04-26 07:41:52 +00:00
|
|
|
id: nginx-config
|
|
|
|
|
|
|
|
info:
|
2023-02-05 18:22:11 +00:00
|
|
|
name: Nginx Config - Detect
|
2021-07-23 20:18:51 +00:00
|
|
|
author: sheikhrishad,geeknik
|
2023-02-06 17:59:03 +00:00
|
|
|
severity: info
|
2023-02-05 22:07:31 +00:00
|
|
|
description: Nginx configuration information was detected.
|
2023-02-06 18:01:37 +00:00
|
|
|
reference:
|
2023-02-06 20:45:37 +00:00
|
|
|
- https://nginx.org/en/
|
2023-02-05 18:22:11 +00:00
|
|
|
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
|
2021-04-26 07:41:52 +00:00
|
|
|
tags: config,exposure,nginx
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/nginx.conf"
|
2021-04-26 08:36:32 +00:00
|
|
|
|
2021-04-26 07:41:52 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2021-07-23 20:18:51 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "html>"
|
|
|
|
negative: true
|
2021-04-26 07:41:52 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "server"
|
|
|
|
- "listen"
|
|
|
|
- "server_name"
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2021-07-23 20:18:51 +00:00
|
|
|
- 200
|
2023-02-05 18:22:11 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2023/02/05
|