CVE-2024-5336 Ruijie RG-UAC vlan_add_commit.php addVlan os command injection

Medium 5.1 Published Updated

Remote attackers can execute arbitrary OS commands via the phyport argument in the addVlan function of Ruijie RG-UAC.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-5336?

CVE-2024-5336 is a medium-severity command injection vulnerability in Ruijie RG-UAC, published on 25 May 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability has been found in Ruijie RG-UAC up to 20240516 and classified as critical. This vulnerability affects the function addVlan of the file /view/networkConfig/vlan/vlan_add_commit.php. The manipulation of the argument phyport leads to os command injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. VDB-266242 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-5336?

It affects 27 products.

Products include Ruijie Rg-Uac 6000-Cc Firmware, Ruijie Rg-Uac 6000-E10 Firmware, Ruijie Rg-Uac 6000-E10c Firmware, Ruijie Rg-Uac 6000-E20 Firmware, Ruijie Rg-Uac 6000-E20c Firmware, Ruijie Rg-Uac 6000-E20m Firmware and 21 more.

How do I fix CVE-2024-5336?

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

There is no known exploitation of CVE-2024-5336 in the wild and no public exploit code.

Sources

Is CVE-2024-5336 in your software?

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

Check your SBOMs for free