Skip to content
DoS Advisory Intermediate CVE-2023-25774

SoftEther VPN vpnserver ConnectionAccept() denial-of-service vulnerability

A denial-of-service vulnerability in SoftEther VPN's vpnserver allows an attacker to exhaust server resources by repeatedly making SSL connections to any configured TCP port, causing thread exhaustion and an abort. This can kill the server and all existing VPN connections.

Lilith >_> Follow

Originally disclosed on Cisco Talos

High 7.5 View original

A denial-of-service vulnerability exists in the vpnserver ConnectionAccept() functionality of SoftEther VPN 5.02. A set of specially crafted network connections can lead to denial of service.

Lilith >_>, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the server spawns a new thread for each incoming connection without limiting concurrency, and these threads contend for a shared lock, leading to resource exhaustion.

Impact

The server can be killed within a couple of minutes, causing denial of service; the network service restarts but can be continuously killed.

What the attacker needed

Network access to the VPN server; ability to make many SSL connections

The fix

The vendor released a patch (pull request on GitHub) to address the vulnerability.

How it was found

  1. Repeatedly make SSL connections to any of the TCP ports that the vpnserver is configured for.
  2. Hit all four default configured TCP ports from a single VM.
  3. Continue until the server reaches around 32657 threads and memory gets sparse, causing an Abort().

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A VPN server accepts connections and creates a new thread (a lightweight process) for each one. If an attacker opens many connections quickly, the server runs out of memory and crashes, disrupting service for legitimate users.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Lilith >_>

View all

148 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.