Milesight UR32L urvpn_client Certificate Validation vulnerability
The urvpn_client binary on Milesight UR32L routers does not verify the TLS certificate of the VPN server it connects to. An attacker who can intercept network traffic could impersonate the VPN server and gain increased privileges.
Originally disclosed on Cisco Talos
A misconfiguration vulnerability exists in the urvpnclient functionality of Milesight UR32L v32.3.0.5. A specially-crafted man-in-the-middle attack can lead to increased privileges.
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 SSL context is created without calling SSL_CTX_set_verify, so peer certificates are never validated.
Impact
An attacker who can perform a man-in-the-middle attack could impersonate the VPN server and gain increased privileges, though the attack requires high complexity and user interaction.
What the attacker needed
Attacker can intercept network traffic; victim uses the VPN client
The fix
The client should be fixed to enable certificate verification, for example by calling SSL_CTX_set_verify and providing a way to trust the server's certificate.
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.
When your device connects to a server over the internet, it should check that the server's certificate is genuine, like checking an ID card. Here, the VPN client skips that check, so someone who can intercept the connection could pretend to be the real server. This is called a man-in-the-middle attack.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.