Skip to content
DoS Advisory Intermediate CVE-2023-22308

SoftEther VPN vpnserver OvsProcessData denial of service vulnerability

An integer underflow in SoftEther VPN's OpenVPN packet processing allows a remote attacker to send a crafted TCP packet that causes an out-of-bounds read and crashes the vpnserver process, leading to denial of service.

Lilith >_> Follow

Originally disclosed on Cisco Talos

High 7.5 View original

An integer underflow vulnerability exists in the vpnserver OvsProcessData functionality of SoftEther VPN 5.01.9674 and 5.02. A specially crafted network packet 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

Impact

A remote, unauthenticated attacker can crash the vpnserver process, causing a denial of service; the crash occurs on Linux due to a guard page, but may differ on Windows.

What the attacker needed

Network access to the VPN server; no authentication required

The fix

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

How it was found

  1. Connect to an open TCP port on the SoftEther VPN server.
  2. Send a packet starting with the bytes 0x00 and 0x0E to be identified as OpenVPN traffic.
  3. Send a second packet where the first two bytes are 0xFF and 0xFF, causing the payload size to be 0xFFFF and the packet size to wrap to 0x1.
  4. The server reads only one byte but then tries to copy 0xFFFF bytes from the stack buffer, leading to an out-of-bounds read and a crash.

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.

SoftEther VPN is a program that lets people connect securely to a network. A bug in how it reads certain network messages means an attacker can send a specially crafted message that makes the program read too much data and crash, so the VPN stops working for everyone.

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.