id: nginx-proxy-manager-default-login

info:
  name: Nginx Proxy Manager - Default Login
  author: barttran2000
  severity: high
  description: |
    Default Nginx Proxy Manager credentials was discovered.
  metadata:
    shodan-query: html:"Nginx Proxy Manager"
    verified: true
    max-request: 1
  tags: nginx,proxy-manager,default-login,vuln

http:
  - raw:
      - |
        POST /api/tokens HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"identity": "admin@example.com","secret": "changeme"}

    matchers:
      - type: dsl
        dsl:
          - contains_all(body, "{\"token", "expires\":")
          - contains(content_type, "application/json")
          - status_code == 200
        condition: and
# digest: 490a0046304402205c89edd8fdfdf1f71d3da36ace3a9d279705595fd81768ecfb96a268f9622d7e022022805ab4811a80fe959ce1d1d67525537b4b83135349c06e5024125d47746fab:922c64590222798bb761d5b6d8e72950