D-Link DIR-2150 HNAP Incorrect Implementation of Authentication Algorithm Authentication Bypass Vulnerability
The SOAP API on D-Link DIR-2150 routers accepts a crafted authentication header that makes authentication succeed without valid credentials. A network-adjacent attacker can bypass authentication on the device.
This vulnerability allows network-adjacent attackers to bypass authentication on affected installations of D-Link DIR-2150 routers. 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 SOAP API's authentication logic incorrectly validates the authentication header, allowing a crafted header to be accepted as valid.
Impact
A network-adjacent attacker could bypass authentication on the router, gaining access to its management interface.
What the attacker needed
Network-adjacent access to the router
The fix
The vulnerability was fixed in firmware version 1.06.
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.
This router has a web interface that uses a login check. The check can be fooled by a specially made request header, so someone on the same network can get in without knowing the password. That means they can use the router's management features without logging in.
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.