id: nsq-admin-panel

info:
  name: NSQ Admin Panel - Detect
  author: random-robbie
  severity: medium
  description: NSQ admin panel was detected.
  reference:
    - https://nsq.io/components/nsqd.html
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
    cvss-score: 6.5
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"nsqadmin"
  tags: nsq,admin,panel,exposure

http:
  - method: GET
    path:
      - '{{BaseURL}}'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>nsqadmin</title>'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - "nsqadmin/v([0-9.]+)"
# digest: 490a0046304402200f847d4e152e0be47deadebd08b15842ecd9fdcb6c25e6a245b50be41cc03b4c02206c01ffd8c16cdca6e842c64edacfdff4d671dc4bfb071a932bd81623b346ed18:922c64590222798bb761d5b6d8e72950