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.
Originally disclosed on Cisco Talos
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.
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
- Connect to an open TCP port on the SoftEther VPN server.
- Send a packet starting with the bytes 0x00 and 0x0E to be identified as OpenVPN traffic.
- 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.
- 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.