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

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

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

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