CVE-2024-7214 TOTOLINK LR350 cstecgi.cgi setWanCfg command injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary commands on TOTOLINK LR350 routers via the setWanCfg function due to improper input validation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-7214?

CVE-2024-7214 is a medium-severity command injection vulnerability in TOTOLINK LR350, published on 30 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability has been found in TOTOLINK LR350 9.3.5u.6369_B20220309 and classified as critical. Affected by this vulnerability is the function setWanCfg of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument hostName leads to command injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-272785 was assigned to this vulnerability. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-77

Which versions are affected by CVE-2024-7214?

It affects 1 product.

Products include Totolink Lr350 Firmware.

How do I fix CVE-2024-7214?

No fix has been published for CVE-2024-7214 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2024-7214 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-7214 exists.

Sources

Also known as GHSA-hcmc-j263-7qw5.

Is CVE-2024-7214 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free