CVE-2024-2642 Ruijie RG-NBS2009G-P EXCU_SHELL command injection
Remote attackers can execute arbitrary commands on Ruijie RG-NBS2009G-P switches via the EXCU_SHELL interface due to improper input validation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-2642?
CVE-2024-2642 is a high-severity command injection vulnerability in Ruijie RG-NBS2009G-P, published on 19 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability was found in Ruijie RG-NBS2009G-P up to 20240305. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /EXCU_SHELL. The manipulation of the argument Command1 leads to command injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-257281 was assigned to this vulnerability. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.
Weakness: CWE-77
Which versions are affected by CVE-2024-2642?
It affects 1 product.
Products include Ruijie Rg-Nbs2009g-P Firmware.
How do I fix CVE-2024-2642?
No fix has been published for CVE-2024-2642 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-2642 being exploited?
There is no known exploitation of CVE-2024-2642 in the wild and no public exploit code.
Other vulnerabilities in Ruijie RG-NBS2009G-P
Sources
Also known as GHSA-qq8f-9mh8-5973.