Skip to content
SSRF Advisory Advanced CVE-2024-53705

SonicWALL NSv SSH Management Server-Side Request Forgery Vulnerability

The SSH Management feature in SonicWALL NSv fails to properly validate the length of user-supplied IP addresses and ports, allowing an authenticated attacker to make arbitrary server-side requests. This can be chained with other vulnerabilities to execute code as root.

Daan Keuper Follow

Originally disclosed on Zero Day Initiative

High 8.1 View original

This vulnerability allows remote attackers to initiate arbitrary server-side requests on affected installations of SonicWALL NSv. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

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

Impact

An attacker could initiate arbitrary server-side requests and, in conjunction with other vulnerabilities, execute arbitrary code with root privileges.

What the attacker needed

Authentication (can be bypassed); ability to supply IP address and port

The fix

The vendor 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.

This is a server-side request forgery (SSRF) bug: a feature that lets you enter an IP address and port for SSH management does not check how long those values are. An attacker who can log in (or bypass login) can abuse this to make the server send requests to places it should not, and possibly combine it with other bugs to run commands as the root user.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

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.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.