Skip to main content
Mallory
← Back to News
embedded-device-vulnerabilityinternet-facing-service-vulnerabilitydefault-credential-exposure

Unauthenticated Command Injection in Prolink PRC2402M mesh.cgi Enables Root RCE

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

Unauthenticated Command Injection in Prolink PRC2402M mesh.cgi Enables Root RCE

STAR Labs disclosed two unauthenticated command injection flaws in the Prolink PRC2402M router that allow remote attackers to execute arbitrary commands as root via the /cgi-bin/mesh.cgi endpoint. The vulnerabilities, tracked as CVE-2021-35400 and CVE-2021-35407, were verified on firmware version 20190909 and stem from user-controlled input in the key parameter being passed to popen without proper validation. One issue is reachable when page=extender triggers get_extender_page, while the other is exposed when page=upgrade invokes get_upgrade_page.

In both cases, the vulnerable code builds shell commands using router values such as lan_ipaddr together with attacker-supplied input, enabling crafted HTTP GET requests to inject shell syntax and run commands on the device. Prolink was notified of the bugs on June 10, initially said a patch was available the same day, then received a bypass report on June 11 before issuing a final fix on June 13. The disclosures indicate that internet-exposed devices running the affected firmware could be compromised without authentication through the router's web interface.

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 command injection vulnerabilities

    Prolink ultimately fixed the vulnerabilities on June 13, 2021, resolving the unauthenticated command injection flaws affecting the extender and upgrade code paths in mesh.cgi.

  2. Jun 11, 20215y ago

    STAR Labs reports a patch bypass to Prolink

    After reviewing the initial fix, STAR Labs reported that the patch could be bypassed, indicating the command injection issues were not fully remediated.

  3. Jun 10, 20215y ago

    Prolink acknowledges the reports and claims an initial patch

    On the same day it was notified, Prolink acknowledged the vulnerability reports and stated that a patch had been applied for the PRC2402M issues.

  4. Jun 10, 20215y ago

    STAR Labs reports two unauthenticated command injection flaws to Prolink

    STAR Labs notified Prolink of CVE-2021-35400 and CVE-2021-35407, two unauthenticated command injection vulnerabilities in the PRC2402M router's /cgi-bin/mesh.cgi handler that could allow root command execution.

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.