CVE-2021-35408: Unauthenticated Command Injection in Prolink PRC2402M qos.cgi
CVE-2021-35408 is an unauthenticated OS command injection vulnerability in the Prolink PRC2402M router, observed on firmware version 20190909. The flaw is in the /cgi-bin/qos.cgi CGI handler. When the page parameter is set to qos_sta, qos.cgi invokes qos_sta_settings, which reads the user-controlled cli_list and cli_num parameters and uses sprintf to construct the shell command '/sbin/sta_qos.sh setup %s %s'. That command string is then passed to system without sufficient input validation or sanitization. Because attacker-controlled input is incorporated directly into a shell command, a remote attacker can submit a crafted HTTP POST request to /cgi-bin/qos.cgi and execute arbitrary commands on the device.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows arbitrary command execution on the affected router as root. Because the vulnerable endpoint does not require authentication, the issue is remotely exploitable and can result in full compromise of the device, including modification of configuration, execution of follow-on payloads, persistence, traffic interception or manipulation, and use of the router as a pivot point within the network.
Mitigation
If you can’t patch tonight, do this now.
Until patched firmware is deployed, restrict access to the router’s web management interface, especially from untrusted networks and the WAN; disable remote administration if not required; place the management interface behind trusted network boundaries; and monitor for suspicious POST requests to /cgi-bin/qos.cgi, particularly requests with page=qos_sta and shell metacharacters in cli_list or cli_num. Because exploitation is unauthenticated, minimizing exposure of the HTTP management service is critical.
Remediation
Patch, then assume compromise.
Apply the vendor-provided firmware update that fixes CVE-2021-35408. The disclosure timeline in the provided content indicates Prolink ultimately fixed the vulnerability on 2021-06-13 after an initial patch was bypassed. If managing affected devices, ensure the installed firmware includes the final corrected fix rather than the earlier incomplete patch.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2021-35408 exploited in the wild?
- As of Apr 11, 2026, Mallory has no reports of CVE-2021-35408 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2021-35408?
- As of Apr 11, 2026, Mallory has found no public exploit for CVE-2021-35408.
- Is there a patch for CVE-2021-35408?
- Apply the vendor-provided firmware update that fixes CVE-2021-35408. The disclosure timeline in the provided content indicates Prolink ultimately fixed the vulnerability on 2021-06-13 after an initial patch was bypassed.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.