2023-05-08 09:30:15 +00:00
|
|
|
id: nginx-shards
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: NGINX Shards Disclosure
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: medium
|
2023-12-22 10:04:09 +00:00
|
|
|
description: NGINX internal information, shards page exposed.
|
2023-05-08 09:30:15 +00:00
|
|
|
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
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-05-08 09:30:15 +00:00
|
|
|
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
|
2023-12-29 09:57:30 +00:00
|
|
|
# digest: 4a0a00473045022024cc40e809930028081762a27444d510297d15af4466cbdcec538c44e6eca2a7022100cc3596dfc38b438281639ad04b97eb3371445f7b719d79d53b22ad400ec3e4cd:922c64590222798bb761d5b6d8e72950
|