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

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: 4a0a004730450220424709561f18d6d8d147e2a82ca80be5c60355790e933b300fe5bc77a827c0d4022100b62599bc7265e02a4439674a0024840084fba849bd5f4040957d8ea777650080:922c64590222798bb761d5b6d8e72950