id: wd-mycloud-panel

info:
  name: WD My Cloud Panel - Detect
  author: DhiyaneshDk
  severity: info
  reference:
    - https://www.zerodayinitiative.com/blog/2023/4/19/cve-2022-29844-a-classic-buffer-overflow-on-the-western-digital-my-cloud-pro-series-pr4100
  classification:
    cpe: cpe:2.3:a:western_digital:mycloud_nas:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: western_digital
    product: mycloud_nas
    shodan-query: http.favicon.hash:-1074357885
    fofa-query: icon_hash=-1074357885
  tags: panel,login,mycloud,wd,detect,western_digital,discovery

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'WDMyCloud'
          - 'Cloud_Connection_StatusID'
          - 'my_cloud_os'
          - 'WD Privacy Statement'
        condition: or

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