CVE-2024-6187 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 authentication.
- 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-6187?
CVE-2024-6187 is a medium-severity command injection vulnerability in Ruijie RG-UAC, published on 20 Jun 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 Ruijie RG-UAC 1.0 and classified as critical. This vulnerability affects unknown code of the file /view/vpn/autovpn/sub_commit.php. The manipulation of the argument key leads to os command injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. VDB-269158 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-6187?
It affects 1 product.
Products include Ruijie Rg-Uac Firmware.
How do I fix CVE-2024-6187?
No fix has been published for CVE-2024-6187 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-6187 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6187 exists.
Other vulnerabilities in Ruijie RG-UAC
- CVE-2020-21627 Denial of service in n/a
- CVE-2024-6184 Ruijie RG-UAC reboot_commit.php os command injection
- CVE-2024-6185 Ruijie RG-UAC commit.php get_ip_addr_details os command injection
- CVE-2024-6186 Ruijie RG-UAC commit.php os command injection
- CVE-2024-6269 Ruijie RG-UAC HTTP POST Request sxh_vpnlic.php get_ip.addr_details command injection
Sources
Also known as GHSA-w5cf-hpvv-9q7v.