Synology SRM QuickConnect authentication Information Disclosure Vulnerability
The QuickConnect VPN client on Synology routers used a custom OpenVPN option that disabled TLS certificate verification, allowing an attacker who can intercept traffic to impersonate the VPN server and steal the router's VPN credentials. With those credentials, the attacker could then impersonate the router to the QuickConnect service and steal the router's login credentials.
Originally disclosed on Cisco Talos
An exploitable information disclosure vulnerability exists in the QuickConnect authentication functionality of Synology SRM 1.2.3 RT2600ac 8017-5. An attacker can impersonate the remote VPN endpoint in order to steal VPN credentials, allowing an attacker to impersonate the remote client and in turn steal the router’s…
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 custom OpenVPN option --syno-no-verify sets the certificate verification mode to SSL_VERIFY_NONE, so the client continues the TLS handshake even when the server certificate is invalid, and client authentication occurs before the session verification check.
Impact
An attacker who can intercept traffic could steal the router's VPN credentials and then impersonate the router to steal the router's login credentials, though the attack requires a man-in-the-middle position and user interaction.
What the attacker needed
Attacker can intercept network traffic; victim browses the QuickConnect link; router uses QuickConnect
How it was found
- Redirect traffic destined for the QuickConnect server on port 443 to the attacker's machine.
- Run a fake OpenVPN server that logs the username and password sent by the router.
- The user browses to the QuickConnect link, causing the router to connect to the fake server and send its VPN credentials.
- After the router disconnects, redirect traffic back to the legitimate QuickConnect server so the router retries and establishes a real connection.
- When the user's browser sends a request for the router's web interface, cut off the redirection so the connection never completes.
- Use the stolen VPN credentials to connect to the QuickConnect endpoint and serve a fake login page to capture the router's credentials.
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 router connects to Synology's QuickConnect service, it uses a VPN (a secure tunnel) and checks the server's certificate (a digital ID) to make sure it is talking to the real server. Here, a special option turned off that check, so someone who can intercept the connection could pretend to be the server and capture the router's VPN username and password. Those credentials then let the attacker pretend to be the router and trick the user into entering the router's login details.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.