CVE-2024-6185 Ruijie RG-UAC commit.php get_ip_addr_details os command injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary OS commands via the ethname parameter in Ruijie RG-UAC, potentially compromising the device.

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-6185?

CVE-2024-6185 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, which was classified as critical, has been found in Ruijie RG-UAC 1.0. Affected by this issue is the function get_ip_addr_details of the file /view/dhcp/dhcpConfig/commit.php. The manipulation of the argument ethname leads to os command injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-269156. 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-6185?

It affects 1 product.

Products include Ruijie Rg-Uac Firmware.

How do I fix CVE-2024-6185?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6185 exists.

Sources

Also known as GHSA-c956-68gp-vrv2.

Is CVE-2024-6185 in your software?

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

Check your SBOMs for free