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.
Originally disclosed on Zero Day Initiative
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.
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.