2021-04-26 07:41:52 +00:00
|
|
|
id: nginx-config
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Nginx Config file disclosure
|
2021-07-23 20:18:51 +00:00
|
|
|
author: sheikhrishad,geeknik
|
2021-04-26 08:32:47 +00:00
|
|
|
severity: info
|
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
|