CVE-2024-2854 Tenda AC18 setsambacfg formSetSambaConf os command injection

Medium 6.3 Published Updated

Remote attackers can execute arbitrary OS commands on Tenda AC18 routers via the usbName parameter in the Samba configuration form.

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-2854?

CVE-2024-2854 is a medium-severity command injection vulnerability in Tenda Ac18 Firmware, published on 24 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability classified as critical has been found in Tenda AC18 15.03.05.05. Affected is the function formSetSambaConf of the file /goform/setsambacfg. The manipulation of the argument usbName leads to os command injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. VDB-257778 is the identifier assigned to this vulnerability. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-78

Which versions are affected by CVE-2024-2854?

It affects 1 product.

Products include Tenda Ac18 Firmware.

How do I fix CVE-2024-2854?

No fix has been published for CVE-2024-2854 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-2854 being exploited?

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

All Tenda Ac18 Firmware vulnerabilities

Sources

Also known as GHSA-j78r-c5c3-fxff.

Is CVE-2024-2854 in your software?

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

Check your SBOMs for free