Vulnerability Name:

CVE-2021-20039 (CCN-214764)

Assigned:2020-12-17
Published:2021-12-07
Updated:2022-04-01
Summary:Improper neutralization of special elements in the SMA100 management interface '/cgi-bin/viewcert' POST http method allows a remote authenticated attacker to inject arbitrary commands as a 'nobody' user. This vulnerability affected SMA 200, 210, 400, 410 and 500v appliances.
CVSS v3 Severity:8.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
8.2 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.2 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H)
6.7 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): High
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:9.0 High (CVSS v2 Vector: AV:N/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
9.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-78
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2021-20039

Source: MISC
Type: Exploit, Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/165563/SonicWall-SMA-100-Series-Authenticated-Command-Injection.html

Source: XF
Type: UNKNOWN
sonicwall-cve202120039-cmd-exec(214764)

Source: CCN
Type: Packet Storm Security [01-13-2022]
SonicWall SMA 100 Series Authenticated Command Injection

Source: CCN
Type: SonicWall Security Advisory SNWLID-2021-0026
SonicWall patches multiple SMA100 affected vulnerabilities

Source: CONFIRM
Type: Vendor Advisory
https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026

Source: CCN
Type: Rapid7 Vulnerability and Exploit Database [12-14-2021]
SonicWall SMA 100 Series Authenticated Command Injection

Vulnerable Configuration:Configuration 1:
  • cpe:/o:sonicwall:sma_200_firmware:9.0.0.11-31sv:*:*:*:*:*:*:*
  • OR cpe:/o:sonicwall:sma_200_firmware:10.2.0.8-37sv:*:*:*:*:*:*:*
  • OR cpe:/o:sonicwall:sma_200_firmware:10.2.1.1-19sv:*:*:*:*:*:*:*
  • AND
  • cpe:/h:sonicwall:sma_200:-:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:sonicwall:sma_210_firmware:9.0.0.11-31sv:*:*:*:*:*:*:*
  • OR cpe:/o:sonicwall:sma_210_firmware:10.2.0.8-37sv:*:*:*:*:*:*:*
  • OR cpe:/o:sonicwall:sma_210_firmware:10.2.1.1-19sv:*:*:*:*:*:*:*
  • AND
  • cpe:/h:sonicwall:sma_210:-:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/o:sonicwall:sma_410_firmware:9.0.0.11-31sv:*:*:*:*:*:*:*
  • OR cpe:/o:sonicwall:sma_410_firmware:10.2.0.8-37sv:*:*:*:*:*:*:*
  • OR cpe:/o:sonicwall:sma_410_firmware:10.2.1.1-19sv:*:*:*:*:*:*:*
  • AND
  • cpe:/h:sonicwall:sma_410:-:*:*:*:*:*:*:*

  • Configuration 4:
  • cpe:/o:sonicwall:sma_400_firmware:9.0.0.11-31sv:*:*:*:*:*:*:*
  • OR cpe:/o:sonicwall:sma_400_firmware:10.2.0.8-37sv:*:*:*:*:*:*:*
  • OR cpe:/o:sonicwall:sma_400_firmware:10.2.1.1-19sv:*:*:*:*:*:*:*
  • AND
  • cpe:/h:sonicwall:sma_400:-:*:*:*:*:*:*:*

  • Configuration 5:
  • cpe:/o:sonicwall:sma_500v_firmware:9.0.0.11-31sv:*:*:*:*:*:*:*
  • OR cpe:/o:sonicwall:sma_500v_firmware:10.2.0.8-37sv:*:*:*:*:*:*:*
  • OR cpe:/o:sonicwall:sma_500v_firmware:10.2.1.1-19sv:*:*:*:*:*:*:*
  • AND
  • cpe:/h:sonicwall:sma_500v:-:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:sonicwall:sma100_firmware:10.2.0.5:*:*:*:*:*:*:*
  • OR cpe:/a:sonicwall:sma_500v:9.0.0.10-28sv:*:*:*:*:*:*:*
  • OR cpe:/a:sonicwall:sma_500v:10.2.0.7-34sv:*:*:*:*:*:*:*
  • OR cpe:/a:sonicwall:sma_500v:10.2.1.0-17sv:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    sonicwall sma 200 firmware 9.0.0.11-31sv
    sonicwall sma 200 firmware 10.2.0.8-37sv
    sonicwall sma 200 firmware 10.2.1.1-19sv
    sonicwall sma 200 -
    sonicwall sma 210 firmware 9.0.0.11-31sv
    sonicwall sma 210 firmware 10.2.0.8-37sv
    sonicwall sma 210 firmware 10.2.1.1-19sv
    sonicwall sma 210 -
    sonicwall sma 410 firmware 9.0.0.11-31sv
    sonicwall sma 410 firmware 10.2.0.8-37sv
    sonicwall sma 410 firmware 10.2.1.1-19sv
    sonicwall sma 410 -
    sonicwall sma 400 firmware 9.0.0.11-31sv
    sonicwall sma 400 firmware 10.2.0.8-37sv
    sonicwall sma 400 firmware 10.2.1.1-19sv
    sonicwall sma 400 -
    sonicwall sma 500v firmware 9.0.0.11-31sv
    sonicwall sma 500v firmware 10.2.0.8-37sv
    sonicwall sma 500v firmware 10.2.1.1-19sv
    sonicwall sma 500v -
    sonicwall sma100 firmware 10.2.0.5
    sonicwall sma 500v 9.0.0.10-28sv
    sonicwall sma 500v 10.2.0.7-34sv
    sonicwall sma 500v 10.2.1.0-17sv