Skip to main content
Mallory
UnratedVulnerability

CVE-2021-35404: Authenticated command injection in Prolink PRC2402M applogin.cgi

Updated 8 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS-Not scored
EPSS-30-day exploit probability
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2021-35404CWE-78

CVE-2021-35404 is an authenticated OS command injection vulnerability in the Prolink PRC2402M router, observed on firmware version 20190909. The flaw is in the /cgi-bin/applogin.cgi CGI handler. When the api parameter is set to app, applogin.cgi invokes sys_login1, which retrieves user-controlled parameters including ipaddr, password, and lang. After validating the supplied password against the expected MD5 value, the code constructs a shell command using sprintf and executes it via do_system, a wrapper around system. Because the ipaddr and lang parameters are incorporated into the shell command without proper validation or sanitization, an authenticated attacker can inject shell metacharacters and execute arbitrary commands. The injected commands run in the context of the root user.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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 yields arbitrary command execution as root on the affected router. This gives an attacker full control of the device, including the ability to modify configuration, access or alter sensitive data, install persistent payloads, pivot within the local network, and disrupt router operation.

Mitigation

If you can’t patch tonight, do this now.

Until patched firmware is deployed, restrict access to the router administrative interface and CGI endpoints such as /cgi-bin/applogin.cgi to trusted management networks only. Disable WAN-side administrative exposure if enabled. Limit authenticated access to trusted administrators, rotate administrative credentials, and monitor for suspicious requests containing shell metacharacters in parameters such as lang or ipaddr.

Remediation

Patch, then assume compromise.

Apply the vendor-provided fix from Prolink. The disclosure timeline in the provided content indicates the issue was fixed by the vendor on 2021-06-13. If a patched firmware release is available for the PRC2402M, upgrade to that version or later.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2021-35404 exploited in the wild?
As of Apr 11, 2026, Mallory has no reports of CVE-2021-35404 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2021-35404?
As of Apr 11, 2026, Mallory has found no public exploit for CVE-2021-35404.
Is there a patch for CVE-2021-35404?
Apply the vendor-provided fix from Prolink. The disclosure timeline in the provided content indicates the issue was fixed by the vendor on 2021-06-13.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.