VDB

GCVE-110-CERTCC-2023-986018

GCVE-110-CERTCC-2023-986018
Advisory Published
Vulnetix · Advisory published January 17, 2023
### Overview Netcomm router models NF20MESH, NF20, and NL1902 running software versions earlier than R6B035 contain two vulnerabilities. The first is an authentication bypass vulnerability that allows an unauthenticated user to access content from both inside and outside the network. The second is a stack-based buffer overflow that allows an instruction pointer to be overwritten on the stack, thereby crashing the application at a known location. The two vulnerabilities, when chained together, permit a remote, unauthenticated attacker to execute arbitrary code. ### Description Netcomm router models NF20MESH, NF20, and NL1902 running software versions earlier than R6B035 may contain two vulnerabilities: **CVE-2022-4873** A stack based buffer overflow affects the sessionKey parameter. By providing a specific number of bytes, the instruction pointer is able to be overwritten on the stack and crashes the application at a known location. **CVE-2022-4874** Authentication bypass allows an unauthenticated user to access content. In order to serve static content, the application performs a check for the existence of specific characters in the URL (.css, .png etc). If it exists, it performs a "fake login" to give the request an active session to load the file and not redirect to the login page. The tested models that were impacted are Netcomm routers using a Broadcom chipset that had third-party code added by Shenzhen Gongjin Electronics. The third-party code introduced the vulnerabilities. These routers are deployed by residential internet service providers. ### Impact The two vulnerabilities, when chained together, permit a remote, unauthenticated attacker to execute arbitrary code. The attacker can first gain unauthorized access to affected devices, and then use those entry points to gain access to other networks or compromise the availability, integrity, or confidentiality of data being transmitted from the internal network. The reporter has produced a [github PoC](https://github.com/scarvell/advisories/blob/main/2022_netcomm_nf20mesh_unauth_rce.md) that shows how to combine both vulnerabilities to achieve unauthenticated remote code execution. ### Solution Update the router firmware to version R6B035 from the vendor website at [https://support.netcommwireless.com/products/NF20#Firmware](https://support.netcommwireless.com/products/NF20#Firmware). ### Acknowledgements Thanks to the reporter Brendan Scarvell for reporting this vulnerability. This document was written by Timur Snoke.

Browse GCVE Records

73,161 records in the GCVE database · Updated July 16, 2026

No matching records found.

Explore Further

Investigate this vulnerability in the interactive console or download the raw GCVE record.

$ Console Community · 100/wk Open console ›