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
    vendor: dahuasecurity
    product: xvr5xxx
    shodan-query:
      - http.title:"XVR LOGIN"
      - http.title:"xvr login"
    fofa-query: title="xvr login"
    google-query: intitle:"xvr login"
  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: 4a0a00473045022019b1deedacee6cfb06abcb1440e3c5624d0ab29c77e0fdb9ba64a8dbaf82dd3d022100ce03c29fe677127d66b708f228867a6387a0878346fcfea8a9f150ec7edb3aad:922c64590222798bb761d5b6d8e72950