D-Link D-View Use of Hard-coded Cryptographic Key Authentication Bypass Vulnerability
The TokenUtils class in D-Link D-View contains a hard-coded cryptographic key, which allows remote attackers to bypass authentication without credentials. An attacker could exploit this to gain unauthorised access to the system.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to bypass authentication on affected installations of D-Link D-View. 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 application uses a fixed cryptographic key embedded in the TokenUtils class to sign or encrypt authentication tokens, so anyone who extracts the key can create valid tokens.
Impact
A remote, unauthenticated attacker could bypass authentication and gain access to the D-Link D-View system.
What the attacker needed
Network access to the D-Link D-View instance
The fix
D-Link 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.
A hard-coded cryptographic key is a secret value built into the software that should have been unique and private. Because it is the same for every installation and can be found by inspecting the code, an attacker can use it to forge authentication tokens and log in without a password.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.