(Pwn2Own) Synology DiskStation Manager Serv.php Authentication Bypass Vulnerability
The Serv.php endpoint on Synology DiskStation Manager implemented its authentication check incorrectly, so a remote attacker could bypass authentication without logging in. The text says this could be combined with other vulnerabilities to run arbitrary code as root, but it gives no technical detail on how.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to bypass authentication on affected installations of Synology DiskStation Manager. This vulnerability does not require authentication, but does require some user interaction.
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 authentication logic in the Serv.php endpoint was implemented incorrectly, so requests that should have been rejected were accepted.
Impact
An attacker could bypass authentication, and the text claims this could be chained with other flaws to execute arbitrary code as root; it also notes some user interaction is required.
What the attacker needed
Some user interaction; network access to the device
The fix
Synology issued an update that corrects the 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.
Authentication is how a system checks who you are before letting you in, like a door lock. Here the check on one web page (Serv.php) was built wrongly, so someone could get past it without valid credentials. The report is only a short advisory, so it does not explain the actual trick used.
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.