Security Vulnerability Report
中文
CVE-2025-66325 CVSS 6.2 MEDIUM

CVE-2025-66325

Published: 2025-12-08 09:15:47
Last Modified: 2025-12-09 18:00:51

Description

Permission control vulnerability in the package management module. Impact: Successful exploitation of this vulnerability may affect service confidentiality.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:huawei:emui:12.0.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:huawei:emui:13.0.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:huawei:emui:14.0.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:huawei:emui:14.2.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:huawei:emui:15.0.0:*:*:*:*:*:*:* - VULNERABLE
华为产品包管理模块受影响的版本详见华为官方安全公告

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-66325 PoC - Permission Control Bypass in Package Management Module // Note: This is a conceptual PoC based on the vulnerability description // Actual exploitation requires local access to the target system import subprocess import sys def check_vulnerability(): """ Check if the target system is vulnerable to CVE-2025-66325 This PoC demonstrates the permission control issue in package management """ print("[*] CVE-2025-66325 Vulnerability Checker") print("[*] Target: Huawei Package Management Module") print("[*] Vulnerability: Permission Control Bypass") # Check if running with low privileges current_user = subprocess.check_output(['whoami'], text=True).strip() print(f"[+] Current user: {current_user}") # Attempt to access package management functions # that should require elevated privileges try: # This simulates the permission bypass attempt # In real scenario, this would interact with the vulnerable component result = subprocess.check_output( ['pkg', 'list', '--sensitive-info'], stderr=subprocess.STDOUT, timeout=5 ) print("[!] Vulnerable: Successfully accessed restricted package information") print(f"[+] Retrieved data: {result}") return True except subprocess.CalledProcessError as e: print(f"[-] Not vulnerable or access denied: {e}") return False except FileNotFoundError: print("[-] Package management tool not found") return False if __name__ == "__main__": check_vulnerability()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-66325", "sourceIdentifier": "[email protected]", "published": "2025-12-08T09:15:47.123", "lastModified": "2025-12-09T18:00:50.573", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Permission control vulnerability in the package management module. Impact: Successful exploitation of this vulnerability may affect service confidentiality."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 6.2, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.5, "impactScore": 3.6}, {"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:N/A:N", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-264"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-noinfo"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:huawei:emui:12.0.0:*:*:*:*:*:*:*", "matchCriteriaId": "A974CA73-84E8-480B-BB4C-4A81D0C985B2"}, {"vulnerable": true, "criteria": "cpe:2.3:o:huawei:emui:13.0.0:*:*:*:*:*:*:*", "matchCriteriaId": "353AEAF2-AF46-4835-93E1-4F942D5E2810"}, {"vulnerable": true, "criteria": "cpe:2.3:o:huawei:emui:14.0.0:*:*:*:*:*:*:*", "matchCriteriaId": "32FBF39A-164F-4F98-AB49-28C50A430C36"}, {"vulnerable": true, "criteria": "cpe:2.3:o:huawei:emui:14.2.0:*:*:*:*:*:*:*", "matchCriteriaId": "4AA76C33-8D23-490B-B620-C24EDCC86A56"}, {"vulnerable": true, "criteria": "cpe:2.3:o:huawei:emui:15.0.0:*:*:*:*:*:*:*", "matchCriteriaId": "888C5BD7-421B-4A85-8719-BFEE3C215527"}, {"vulnerable": true, "criteria": "cpe:2.3:o:huawei:harmonyos:2.0.0:*:*:*:*:*:*:*", "matchCriteriaId": "20112231-B840-44D3-A061-B9B9F80EE378"}, {"vulnerable": true, "criteria": "cpe:2.3:o:huawei:harmonyos:3.0.0:*:*:*:*:*:*:*", "matchCriteriaId": "CB3751C1-7729-41D3-AE50-80B5AF601135"}, {"vulnerable": true, "criteria": "cpe:2.3:o:huawei:harmonyos:3.1.0:*:*:*:*:*:*:*", "matchCriteriaId": "4D81C4EF-7CAF-4E60-91A4-8CF7B95B2B54"}, {"vulnerable": true, "criteria": "cpe:2.3:o:huawei:harmonyos:4.0.0:*:*:*:*:*:*:*", "matchCriteriaId": "8198CDB2-4BC5-411A-8736-615A531FC545"}, {"vulnerable": true, "criteria": "cpe:2.3:o:huawei:harmonyos:4.2.0:*:*:*:*:*:*:*", "matchCriteriaId": "2401DE15-9DBF-4645-A261-8C24D57C6342"}, {"vulnerable": true, "criteria": "cpe:2.3:o:huawei:harmonyos:4.3.0:*:*:*:*:*:*:*", "matchCriteriaId": "082BBC06-A0B2-481E-BF6F-56180E17ABEF"}, {"vulnerable": true, "criteria": "cpe:2.3:o:huawei:harmonyos:4.3.1:*:*:*:*:*:*:*", "matchCriteriaId": "6EA69843-EC8D-42E2-900E-017D2B502E9E"}]}]}], "references": [{"url": "https://consumer.huawei.com/en/support/bulletin/2025/12/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}