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.

See affected versions and whether adversaries are exploiting it.
4 events from the most recent confirmed update back to the earliest known activity.
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.
After reviewing the initial fix, STAR Labs reported that the patch could be bypassed, indicating the command injection issues were not fully remediated.
On the same day it was notified, Prolink acknowledged the vulnerability reports and stated that a patch had been applied for the PRC2402M issues.
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.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
2 references tracked. Mallory keeps watching after this page renders.
starlabs.sg
Open sourcestarlabs.sg
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.