id: nginx-admin-panel

info:
  name: Nginx Admin Manager Login Panel - Detect
  author: ritikchaddha
  severity: info
  description: Nginx Admin Manager login panel was detected.
  reference:
    - https://ng-admin.jslsolucoes.com/
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
  metadata:
    max-request: 1
    shodan-query: http.title:"nginx admin manager"
    verified: true
  tags: panel,nginx,admin

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

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "<title>(.*)Nginx Admin Manager(.*)</title>"

      - type: status
        status:
          - 401
          - 200
        condition: or
# digest: 490a0046304402202d7f2c55bffe964359a64f32986ad92e06c3d2344c5b4d98430f63fa7d88108602202939aa06684fee67191c6cec7430c9670647d3414e72356100757e262587debd:922c64590222798bb761d5b6d8e72950