cbcvebase.
CVE-2021-20166
published 2021-12-30

CVE-2021-20166: Netgear RAX43 version 1.0.3.96 contains a buffer overrun vulnerability. The URL parsing functionality in the cgi-bin endpoint of the router containers a buffer…

PriorityP276high8.8CVSS 3.1
AVAACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
2.20%
80.4th percentile
Netgear RAX43 version 1.0.3.96 contains a buffer overrun vulnerability. The URL parsing functionality in the cgi-bin endpoint of the router containers a buffer overrun issue that can redirection control flow of the applicaiton.

Affected

1 ranges
VendorProductVersion rangeFixed in
netgearrax43_firmware

Detection & IOCsextracted from sources · hover to see the quote

url/cgi-bin/readycloud_control.cgi?1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111/api/users
path/cgi-bin/readycloud_control.cgi
command"name":"';$(curl {{interactsh-url}});'",
  • Detect exploitation attempts by monitoring POST requests to /cgi-bin/readycloud_control.cgi with an abnormally long query string (256+ repeated characters) followed by /api/users, indicative of the buffer overrun trigger.
  • Detect command injection payloads in the 'name' parameter of requests to readycloud_control.cgi; look for shell metacharacters such as single quotes and $() subshell syntax.
  • Monitor for outbound curl-based HTTP callbacks (User-Agent: curl) originating from the router, which may indicate successful command injection via the name parameter.
  • The vulnerability is exploitable from the adjacent network (AV:A) by a low-privileged authenticated user; monitor for unexpected authenticated POST requests to the readycloud_control.cgi endpoint from LAN-side clients.
  • ·This detection template covers a combined exploit chain using both CVE-2021-20166 (buffer overrun in URL parsing of cgi-bin) and CVE-2021-20167 (command injection in name parameter); detections should account for both components being used together.
  • ·The buffer overrun is triggered specifically by a query string of 256 repeated '1' characters in the URL before /api/users; detection rules should match this specific pattern length to reduce false positives.
  • ·Affected firmware is specifically Netgear RAX43 version 1.0.3.96; detections and mitigations should be scoped to this firmware version.

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.05.8MEDIUMAV:A/AC:L/Au:N/C:P/I:P/A:P
vulncheck8.8HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.