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

Medium 4.7 Published Updated

Remote attackers can execute arbitrary OS commands via the peer_ip or local_ip arguments in commit.php, requiring immediate patching.

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

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

Official description

A vulnerability, which was classified as critical, has been found in Ruijie RG-UAC up to 20240428. Affected by this issue is some unknown functionality of the file /view/HAconfig/baseConfig/commit.php. The manipulation of the argument peer_ip/local_ip 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-263108. 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-4504?

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

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

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

Sources

Also known as GHSA-8r47-235m-q27f.

Is CVE-2024-4504 in your software?

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

Check your SBOMs for free