id: dahua-web-panel

info:
  name: Dahua Web Service Panel - Detect
  author: dhiyaneshDK,rxerium
  severity: info
  description: A Dahua admin login panel was detected.
  reference:
    - https://www.exploit-db.com/ghdb/7116
  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:sd22204db-gny-w:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.favicon.hash:1653394551
    product: sd22204db-gny-w
    vendor: dahuasecurity
  tags: edb,panel,dahua,detect,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>WEB SERVICE</title>'

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