PT-2017-3171 · Sonicwall · Sonicwall Secure Remote Access

Russell Sanford

·

Published

2017-02-22

·

Updated

2022-02-19

·

CVE-2016-9682

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions SonicWall Secure Remote Access server version 8.1.0.2-14sv
Description The issue is related to the diagnostics component of the CGI application in the web administrative interface, specifically the /cgi-bin/diagnostics endpoint. It is caused by a lack of input data sanitization, allowing a remote attacker to execute arbitrary commands using the tsrDeleteRestartedFile and currentTSREmailTo variables. This can lead to remote command injection, potentially giving shell access to the machine under the nobody user account.
Recommendations For version 8.1.0.2-14sv, consider disabling the /cgi-bin/diagnostics endpoint as a temporary workaround until a patch is available. Restrict access to the diagnostics component to minimize the risk of exploitation. Avoid using the tsrDeleteRestartedFile and currentTSREmailTo variables in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2017-02583
CVE-2016-9682

Affected Products

Sonicwall Secure Remote Access