id: nginx-proxy-manager

info:
  name: Nginx Proxy Manager Login Panel - Detect
  author: dhiyaneshDK
  severity: info
  description: Nginx Proxy Manager login panel was detected.
  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
    cpe: cpe:2.3:a:nginxproxymanager:nginx_proxy_manager:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    shodan-query: http.title:"Nginx Proxy Manager"
    product: nginx_proxy_manager
    vendor: nginxproxymanager
  tags: panel,nginx,proxy

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

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Nginx Proxy Manager</title>'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '"page" id="login" data\-version="([0-9.]+)">'
# digest: 4a0a004730450221008e7e9a53ae2bd4196710a81298d66c4dfe3dc9633ba7399e27dae9cb95dc124602207f108272d7d29098d0d9d87373f868acdd5858d4069b3d44c536bf5fd4e2e7b9:922c64590222798bb761d5b6d8e72950