Skip to content
Path traversal Advisory Advanced CVE-2023-34129

SonicWALL GMS Virtual Appliance Syslog Directory Traversal Remote Code Execution Vulnerability

The SonicWALL GMS Virtual Appliance contains a path traversal flaw in the InboundSyslogFile class, where user-supplied paths are not properly validated before being used in file operations. An attacker could bypass authentication and execute arbitrary code as root.

Alex Birnberg Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of SonicWALL GMS Virtual Appliance. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

Alex Birnberg of Zymo 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 InboundSyslogFile class does not validate or sanitise user-supplied file paths before using them in file operations, allowing directory traversal.

Impact

An attacker could execute arbitrary code with root privileges on the appliance, though authentication is required and the existing authentication mechanism can be bypassed.

What the attacker needed

Authentication bypass; network access to the appliance

The fix

The vulnerability was fixed by the vendor in an update.

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 network management appliance. A part of the software that handles log files fails to check the file paths it receives, so an attacker can trick it into accessing or writing files outside the intended folder. Because the attacker can also get around the login requirement, they could run their own commands on the device with the highest level of permission.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Alex Birnberg

View all

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

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.