Skip to content
Crypto Advisory Advanced CVE-2024-40762

SonicWALL NSv Cryptographically Weak PRNG Authentication Bypass Vulnerability

The generation of cookies in SonicWALL NSv uses a cryptographically weak pseudo-random number generator, allowing remote attackers to bypass authentication without credentials.

Daan Keuper Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows remote attackers to bypass authentication on affected installations of SonicWALL NSv. Authentication is not required to exploit this vulnerability.

Daan Keuper, Thijs Alkemade and Khaled Nassar of Computest Security, 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 cookie values were generated using a non-cryptographic PRNG, making them predictable.

Impact

A remote, unauthenticated attacker could bypass authentication on affected SonicWALL NSv installations.

What the attacker needed

Network access to the appliance

The fix

SonicWALL 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 pseudo-random number generator is a program that produces numbers that look random but are actually predictable if you know how it works. Here, the cookies used to prove who you are were made with such a weak generator, so an attacker could guess or predict valid cookies and pretend to be logged in without a password.

What is Crypto?

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

More by Daan Keuper

View all

3 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.