CVE-2026-12197

Ruijie EG105G-P JSON-RPC Diagnose Endpoint diagnose nslookup command injection

Published Jun 14, 2026 CVSS 4.0 · 8.6 High EPSS 4.4% KEV · Not listed
Description
A security flaw has been discovered in Ruijie EG105G-P 2.340. The impacted element is the function nslookup of the file /cgi-bin/luci/api/diagnose of the component JSON-RPC Diagnose Endpoint. Performing a manipulation of the argument params.target results in command injection. It is possible to initiate the attack remotely. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

Analysis

AI-generated

Technical impact

The vulnerability exists in the nslookup function within the JSON‑RPC Diagnose Endpoint of the Ruijie EG105G‑P routers, firmware 2.340. By manipulating the params.target argument, an attacker can inject arbitrary shell commands, enabling execution of any command on the device. This represents a classic command injection vulnerability (CWE‑74, CWE‑77) that allows complete compromise of confidentiality, integrity, and availability on the targeted device.

Affected Systems

Ruijie EG105G‑P routers running firmware version 2.340 are affected. No other versions or vendors are listed, and the flaw is specific to the JSON‑RPC Diagnose Endpoint within this hardware edition.

Risk and Exploitability

The CVSS base score is 8.6, indicating high severity. The EPSS score is 4% and the vulnerability is not listed in the CISA KEV catalog, but a public exploit has been released and the vendor has not provided a response. The exploit can be launched remotely, and it is inferred that no authentication is required to reach the vulnerable endpoint. These factors combine to produce a substantial risk of remote compromise for impacted devices.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check for and install any firmware update that fixes the nslookup command injection flaw.
  • Restrict access to the /cgi-bin/luci/api/diagnose endpoint by firewall rules, allowing only trusted IP addresses.
  • Implement input validation or block requests containing shell metacharacters, such as backticks or semicolons, on the target parameter.

Generated by OpenCVE AI on November 26, 2026 at 03:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Ruijie rg-eg105g-p
Vendors & Products Ruijie rg-eg105g-p
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A security flaw has been discovered in Ruijie EG105G-P 2.340. The impacted element is the function nslookup of the file /cgi-bin/luci/api/diagnose of the component JSON-RPC Diagnose Endpoint. Performing a manipulation of the argument params.target results in command injection. It is possible to initiate the attack remotely. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Title Ruijie EG105G-P JSON-RPC Diagnose Endpoint diagnose nslookup command injection
First Time appeared Ruijie
Ruijie eg105g-p
Weaknesses CWE-74
CWE-77
CPEs cpe:2.3:a:ruijie:eg105g-p:*:*:*:*:*:*:*:*
Vendors & Products Ruijie
Ruijie eg105g-p
References
Metrics cvssV2_0

{'score': 8.3, 'vector': 'AV:N/AC:L/Au:M/C:C/I:C/A:C/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 7.2, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jun 15, 2026, 2:56 PM
Reserved
Jun 14, 2026, 7:02 AM
Status
Deferred
Published
Jun 15, 2026, 12:16 AM
Modified
Jul 24, 2026, 12:10 PM