Vulnerability Name:

CVE-2021-34980 (CCN-211322)

Assigned:2021-10-13
Published:2021-10-13
Updated:2022-01-19
Summary:This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R6260 1.1.0.78_1.0.1 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the setupwizard.cgi page. When parsing the SOAP_LOGIN_TOKEN environment variable, the process does not properly validate the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-14107.
CVSS v3 Severity:8.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
7.7 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Adjacent
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
6.8 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
5.9 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Physical
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:8.3 High (CVSS v2 Vector: AV:A/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Adjacent_Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
7.2 High (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-787
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2021-34980

Source: XF
Type: UNKNOWN
netgear-psv20210150-priv-esc(211322)

Source: CCN
Type: NETGEAR Security Advisory: PSV-2021-0150
Security Advisory for Vertical Privilege Escalation on Some Routers

Source: MISC
Type: Vendor Advisory
https://kb.netgear.com/000064262/Security-Advisory-for-Vertical-Privilege-Escalation-on-Some-Routers-PSV-2021-0150?article=000064262

Source: CCN
Type: ZDI-21-1242
NETGEAR R6260 setupwizard.cgi Stack-based Buffer Overflow Remote Code Execution Vulnerability

Source: MISC
Type: Third Party Advisory, VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-21-1242/

Vulnerable Configuration:Configuration 1:
  • cpe:/o:netgear:r6260_firmware:1.1.0.78_1.0.1:*:*:*:*:*:*:*
  • AND
  • cpe:/h:netgear:r6260:-:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:netgear:r6900v2_firmware:1.2.0:*:*:*:*:*:*:*
  • OR cpe:/o:netgear:r6260_firmware:1.1.0:*:*:*:*:*:*:*
  • OR cpe:/o:netgear:r6120_firmware:1.0.0:*:*:*:*:*:*:*
  • OR cpe:/o:netgear:r6700v2_firmware:1.2.0:*:*:*:*:*:*:*
  • OR cpe:/o:netgear:r6080_firmware:1.0.0:*:*:*:*:*:*:*
  • OR cpe:/o:netgear:r6020_firmware:1.0.0:*:*:*:*:*:*:*
  • OR cpe:/o:netgear:r6700v2_firmware:1.1.0:*:*:*:*:*:*:*
  • OR cpe:/o:netgear:r6900v2_firmware:1.1.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    netgear r6260 firmware 1.1.0.78_1.0.1
    netgear r6260 -
    netgear r6900v2 firmware 1.2.0
    netgear r6260 firmware 1.1.0
    netgear r6120 firmware 1.0.0
    netgear r6700v2 firmware 1.2.0
    netgear r6080 firmware 1.0.0
    netgear r6020 firmware 1.0.0
    netgear r6700v2 firmware 1.1.0
    netgear r6900v2 firmware 1.1.0