id: xvr-login

info:
  name: XVR Login Panel - Detect
  author: dhiyaneshDK
  severity: info
  description: XVR 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:h:dahuasecurity:xvr5xxx:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: xvr5xxx
    shodan-query: http.title:"XVR LOGIN"
    vendor: dahuasecurity
  tags: panel,xvr,dahuasecurity

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

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>XVR LOGIN</title>'

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100852308ed299b0b6a0eb7a8f3af5801c2ac6694d5d9ae1267b9fb0ee827d26932022100fa50166074880837a2e01412a5f9614adec3c33cb06d9f980202d705c9ef15ad:922c64590222798bb761d5b6d8e72950