2023-05-08 09:30:15 +00:00
|
|
|
id: nginx-shards
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: NGINX Shards Disclosure
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: medium
|
|
|
|
reference:
|
|
|
|
- https://infosecwriteups.com/how-i-got-rce-in-the-world-largest-russian-company-8e6e8288bc4e
|
|
|
|
metadata:
|
|
|
|
max-request: 2
|
|
|
|
shodan-query: html:"Welcome to Nginx"
|
|
|
|
tags: exposure,shards,nginx
|
|
|
|
|
2023-05-08 09:31:22 +00:00
|
|
|
http:
|
2023-05-08 09:30:15 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/static/shards.html"
|
|
|
|
- "{{BaseURL}}/static/shards/html"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "Logs"
|
|
|
|
- "Database"
|
2023-05-10 20:11:34 +00:00
|
|
|
- "online shards only"
|
2023-05-08 09:30:15 +00:00
|
|
|
condition: and
|
|
|
|
case-insensitive: true
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|