CVE-2024-2854

Tenda AC18 setsambacfg formSetSambaConf os command injection

6.3 medium EPSS 3.90%

Published 24 Mar 2024 Updated 12 Aug 2024 CNA: VulDB

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.

Severity (CVSS)

6.3 medium CVSS 3.1 from VulDB (CNA)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality low, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
6.3 medium CVSS 3.0 from VulDB (CNA)
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality low, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
6.5 medium CVSS 2.0 from VulDB (CNA)
AV:N/AC:L/Au:S/C:P/I:P/A:P
Attack vector
network: an attacker can reach the vulnerable part over the network
Attack complexity
low
Authentication
single: the attacker has to log in once
Impact
confidentiality partial, integrity partial, availability partial

Exploitation

EPSS 3.90%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 90.5% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 12 Aug 2024):

Exploitation
poc: a proof of concept is public
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

Affected products

As the CNA lists them.

ProductVersions
AC18
affected 15.03.05.05

Is my server affected?

This CVE is in AC18 of Tenda, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Exploits and proof of concept

Other references

Source: the record CVE-2024-2854 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.