(Pwn2Own) Synology DiskStation DS1823xs+ LDAP Client Improper Certificate Validation Authentication Bypass Vulnerability
The LDAP client on Synology DiskStation DS1823xs+ devices does not properly validate the certificate presented by the LDAP server. A network-adjacent attacker could exploit this to bypass authentication on the system.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to bypass authentication on affected installations of Synology DiskStation DS1823xs+ devices. Authentication is not required to exploit this vulnerability.
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 LDAP client failed to validate the certificate chain or hostname of the LDAP server, allowing a man-in-the-middle attacker to impersonate it.
Impact
A network-adjacent attacker could bypass authentication on the affected device.
What the attacker needed
Network-adjacent access; device configured to use LDAP authentication
The fix
Synology has issued an update to correct this vulnerability.
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 a device connects to an LDAP server (a directory service used for authentication), it should check that the server's certificate is genuine. Here, the device did not do that check properly, so an attacker on the same network could pretend to be the LDAP server and trick the device into granting access without a password.
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.