# CVE-2024-2642: Ruijie RG-NBS2009G-P EXCU_SHELL command injection

- Severity: High 7.3 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.77%, higher than 86% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-19T21:31:03.872Z
- Modified: 2026-06-17T07:24:57.143Z
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- Ruijie RG-NBS2009G-P: 20240305
- ruijie rg-nbs2009g-p_firmware: up to 20240305

## Every score

- VulDB: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 7.3 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://h0e4a0r1t.github.io/2024/vulns/Ruijie%20RG-NBS2009G-P%20switch%20has%20a%20foreground%20CLI%20command%20injection%20vulnerability.pdf> (exploit, broken-link)
- <https://vuldb.com/?id.257281> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.257281> (permissions-required, signature, vdb-entry)

## Sources

- CVE List: [CVE-2024-2642](https://www.cve.org/CVERecord?id=CVE-2024-2642), CVE Terms of Use, modified 2024-08-19
- NVD: [CVE-2024-2642](https://nvd.nist.gov/vuln/detail/CVE-2024-2642), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-2642 · Whole record: https://cve.day/CVE-2024-2642.json · Rebuilt by cve.day 2026-11-25T22:58:37.727Z
