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:
    verified: true
    max-request: 1
    shodan-query: http.title:"nginx admin manager"
  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: 4b0a00483046022100a6bd97c345571e1f6a1b57a40063d5c58c8874026793714ee0f64207106f8630022100f996f86a8f6f778fc63e9e5e10693996a0f326d6e6d2fa88ce661af3dc3a5192:922c64590222798bb761d5b6d8e72950