(Pwn2Own) NETGEAR RAX30 libcms_cli Command Injection Remote Code Execution Vulnerability

May 1st, 2023

Vulnerability Details

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR RAX30 routers. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

The specific flaw exists within the libcms_cli module. The issue results from the lack of proper validation of a user-supplied command before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root.

Additional Details

NETGEAR has issued an update to correct this vulnerability. More details can be found at:
https://kb.netgear.com/000065619/Security-Advisory-for-Multiple-Vulnerabilities-on-the-RAX30-PSV-2022-0348

Disclosure Timeline

  • 2023-01-24 - Vulnerability reported to vendor
  • 2023-05-01 - Coordinated public release of advisory

Credit

Claroty Research - Vera Mens, Noam Moshe, Uri Katz, Sharon Brizinov

Back to Advisories