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

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: 4b0a004830460221008ad07fcb520be96339310d7f41757a5b94ba9b6c5b9aaa32e63cc5843f4ec809022100d856e7b5d0da5aa6f4b5bf55741ae596018ff773e8b7bf9c1836f18ab585fbed:922c64590222798bb761d5b6d8e72950