Skip to content
Crypto Advisory Intermediate CVE-2024-5296

(0Day) D-Link D-View Use of Hard-coded Cryptographic Key Authentication Bypass Vulnerability

The D-Link D-View application uses a hard-coded cryptographic key in its TokenUtils class, allowing remote attackers to bypass authentication without credentials. An attacker could exploit this to gain unauthorised access to the system.

Piotr Bazydło Follow

Originally disclosed on Zero Day Initiative

Critical 9.8 View original

This vulnerability allows remote attackers to bypass authentication on affected installations of D-Link D-View. Authentication is not required to exploit this vulnerability.

Piotr Bazydlo (@chudypb) of Trend Micro Zero Day Initiative, on the Zero Day Initiative

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 static cryptographic key embedded in the TokenUtils class to sign or verify authentication tokens, so anyone with the key can create valid tokens.

Impact

A remote, unauthenticated attacker could bypass authentication and gain access to the D-View system; the advisory does not detail further impact.

What the attacker needed

Network access to the D-View service

The fix

The vendor released software update v2.0.3.88 to address the issue.

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 be unique and private but is the same for every installation. Because it is fixed, anyone who extracts it can forge authentication tokens and log in without a password. This report says attackers can bypass login on D-Link D-View, a network management tool.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More by Piotr Bazydło

View all

232 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.