CVE-2024-5340 Ruijie RG-UAC sub_commit.php os command injection
Remote attackers can execute arbitrary OS commands via the key argument in sub_commit.php, requiring immediate patching for Ruijie RG-UAC devices.
- 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-5340?
CVE-2024-5340 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 was found in Ruijie RG-UAC up to 20240516. It has been rated as critical. Affected by this issue is some unknown functionality of the file /view/vpn/autovpn/sub_commit.php. The manipulation of the argument key leads to os command injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. VDB-266246 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-5340?
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-5340?
No fix has been published for CVE-2024-5340 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-5340 being exploited?
There is no known exploitation of CVE-2024-5340 in the wild and no public exploit code.
Other vulnerabilities in Ruijie RG-UAC
- CVE-2024-4813 Ruijie RG-UAC interface_commit.php os command injection
- CVE-2024-4814 Ruijie RG-UAC static_route_edit_commit.php os command injection
- CVE-2024-4815 Ruijie RG-UAC detail.php os command injection
- CVE-2024-4816 Ruijie RG-UAC gre_add_commit.php os command injection
- CVE-2024-5336 Ruijie RG-UAC vlan_add_commit.php addVlan os command injection