Skip to content
Access control Advisory Advanced CVE-2024-53704

SonicWALL NSv Authentication Bypass Vulnerability

The SonicWALL NSv appliance has an authentication bypass because it processes Base64-encoded session cookies with an incorrectly implemented authentication algorithm. A remote attacker without credentials could exploit this to bypass authentication on the system.

Daan Keuper Follow

Originally disclosed on Zero Day Initiative

Critical 9.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 authentication algorithm used to validate Base64-encoded session cookies was implemented incorrectly, so forged cookies are accepted as valid.

Impact

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

What the attacker needed

Network access to the affected appliance; no credentials required

The fix

The vendor issued an update to correct 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.

This is a security flaw in a firewall product called SonicWALL NSv. The product checks a small piece of data called a session cookie to decide if someone is logged in, but the check is done incorrectly. Because of that mistake, an attacker could pretend to be logged in without knowing any password.

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.

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.

Broken access control

The lesson behind this report.

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.