SoftEther VPN CiRpcAccepted() authentication bypass vulnerability
The SoftEther VPN client runs an internal RPC server whose password is derived from hashing an empty string, so the default password is always the same fixed value. An attacker who can reach that port could authenticate and gain control of the client's RPC interface.
Originally disclosed on Cisco Talos
An authentication bypass vulnerability exists in the CiRpcAccepted() functionality of SoftEther VPN 4.41-9782-beta and 5.01.9674. A specially crafted network packet can lead to unauthorized access.
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 default RPC password is initialised by hashing an empty input, producing a constant, predictable value instead of a random secret.
Impact
An attacker with access to the port could install certificates to man-in-the-middle VPN connections and dump VPN authentication settings, though remote access is only possible if remote configuration is enabled.
What the attacker needed
Access to the RPC port; remote config enabled for remote attackers
The fix
The vendor issued a patch for the issue.
How it was found
- Connect to the client's RPC server on its TCP port
- Send four bytes indicating the management message type
- Send the 20-byte hashed password, which matches the fixed default
- The server accepts the connection as authenticated
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.
The VPN client program talks to itself through a small network service on the same machine, protected by a password. That password is generated from nothing at all, so it is identical on every install. Anyone who can connect to that port and knows the fixed password can control the client.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.