Skip to main content
Mallory
← Back to News
embedded-device-vulnerabilityprivilege-escalation-methodpatch-regressionproof-of-concept-release

Authenticated Command Injection Flaws Expose Prolink PRC2402M Routers to Root RCE

Vulnerability Disclosure · 2 sources · Updated 5mo ago · First seen Apr 11, 2026

Authenticated Command Injection Flaws Expose Prolink PRC2402M Routers to Root RCE

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.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Jun 10, 2021 – Jun 13, 2021
  1. Jun 13, 20215y ago

    Prolink fixes the PRC2402M vulnerabilities

    Prolink fixed the reported authenticated command injection vulnerabilities in the PRC2402M router on 2021-06-13 after reviewing the bypass.

  2. Jun 11, 20215y ago

    Researcher submits patch bypass to Prolink

    On 2021-06-11, Daniel Lim submitted a bypass showing that Prolink's initial fix did not fully remediate the reported command injection issues.

  3. Jun 10, 20215y ago

    Prolink acknowledges report and initially claims a patch

    On the same day it received the report, Prolink acknowledged the vulnerabilities and initially stated that a patch had been made available.

  4. Jun 10, 20215y ago

    STAR Labs reports Prolink PRC2402M command injection flaws to Prolink

    STAR Labs notified Prolink on 2021-06-10 about authenticated command injection vulnerabilities affecting the PRC2402M router, including flaws in applogin.cgi and login.cgi tied to sys_login1 handling.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.