NGINX Shards Disclosure
ID: nginx-shards
Severity: medium
Author: DhiyaneshDK
Tags: exposure,shards,nginx
Description
Section titled “Description”NGINX internal information, shards page exposed.
YAML Source
Section titled “YAML Source”id: nginx-shards
info: name: NGINX Shards Disclosure author: DhiyaneshDK severity: medium description: NGINX internal information, shards page exposed. 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
http: - 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" - "online shards only" condition: and case-insensitive: true
- type: status status: - 200# digest: 4a0a0047304502210085873c131513b451aa8caf33d8f4bd7e1f11d78c57ace4ac3060bc3a8711156f022026f895a5533addd0d34187271f2c1dde2c7b1c4477f2b59a97911b8972075e8c:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/exposures/logs/nginx-shards.yaml"