Skip to content
Info disclosure Advisory Intermediate CVE-2023-32275

SoftEther VPN CtEnumCa() information disclosure vulnerability

The SoftEther VPN client's RPC server exposes heap memory addresses of loaded CA certificates through the EnumCa command. An attacker who can bypass authentication could obtain these addresses, aiding further exploitation.

Lilith >_> Follow

Originally disclosed on Cisco Talos

Medium 5.5 View original

An information disclosure vulnerability exists in the CtEnumCa() functionality of SoftEther VPN 4.41-9782-beta and 5.01.9674. Specially crafted network packets can lead to a disclosure of sensitive information.

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

The code uses a pointer-to-key macro that either directly casts a pointer to an integer (on 32-bit) or hashes it (on 64-bit), and the resulting value is sent to the RPC client, leaking heap addresses.

Impact

An attacker who can bypass authentication could obtain heap addresses of CA certificates, which may aid in further exploitation; on 64-bit systems, the addresses are hashed but can be recovered with effort.

What the attacker needed

Access to the local machine; ability to bypass RPC authentication

The fix

The vendor issued a patch; the exact fix is not described in the text.

How it was found

  1. Connect to the RPC server on the local machine.
  2. Authenticate to the RPC server (bypassing authentication if necessary).
  3. Send an EnumCa RPC request.
  4. Receive the response containing heap addresses of CA certificates.

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 runs a small server on the local machine that accepts commands. One command, EnumCa, returns information about trusted certificates, but it also includes the memory address of each certificate. On 32-bit systems, this address is directly revealed; on 64-bit systems, it is hashed but can be recovered with effort. Knowing memory addresses helps attackers craft more reliable exploits.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

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.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.