CVE-2024-6187 Ruijie RG-UAC sub_commit.php os command injection

Medium 5.3 Published Updated

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.

Sources

Also known as GHSA-w5cf-hpvv-9q7v.

Is CVE-2024-6187 in your software?

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

Check your SBOMs for free