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

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

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

      - type: status
        status:
          - 200
# digest: 490a004630440220780e6ec1d83b88039fbe8be0ec1142ebebcd7ca362d06af43ad6dccc311c942602200c857b151cd4253c230af1d91228c373f94ece5c718fd5b3b399b639be57e473:922c64590222798bb761d5b6d8e72950