nginx-shards: NGINX Shards Disclosure

日期: 2025-08-01 | 影响软件: nginx | POC: 已公开

漏洞描述

NGINX internal information, shards page exposed.

PoC代码[已公开]

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,vuln

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: 490a0046304402202d74c9bfc761d5eeb8e9e70f9084d8bd7122bc984344d2467651ebcc8385487202205cb7f4be454f74286b8b69d5ba16435052176da3cbf78ec128879b7755ef858b:922c64590222798bb761d5b6d8e72950

相关漏洞推荐