Authenticated Command Injection Flaws Expose Prolink PRC2402M Routers to Root RCE
Vulnerability Disclosure · 2 sources · Updated 5mo ago · First seen Apr 11, 2026

STAR Labs disclosed two authenticated command injection vulnerabilities in the Prolink PRC2402M router that allow arbitrary command execution as root on firmware version 20190909. Tracked as CVE-2021-35404 and CVE-2021-35406, the flaws affect the router's applogin.cgi and login.cgi handlers, where the sys_login1 function passes user-controlled input to the system shell without proper validation after a password hash check. In one case, the vulnerable path is triggered with api=app; in both cases, the ipaddr parameter is central to exploitation, and lang is also injectable in the applogin.cgi flow.
The disclosures say an authenticated attacker can send crafted POST requests to /cgi-bin/applogin.cgi or /cgi-bin/login.cgi and execute arbitrary commands with full device privileges. STAR Labs reported the issues to Prolink, which initially said a patch was available, but a bypass was then identified and submitted by researcher Daniel Lim before the vendor issued a final fix. The advisories also note that the router's lighttpd service processes the requests and that exploit payloads must use CRLF line endings to be accepted in the demonstrated attack path.


