Remote code execution via unverified MQTT certificate
Published Apr 27, 2023 · Updated Jul 9, 2026
Improper certificate validation in Nanoleaf firmware 7.1.1 and earlier allows remote attackers to execute code through DNS hijacking. The cloud_daemon passes MBEDTLS_SSL_VERIFY_NONE to mbedtls_ssl_conf_authmode for its outbound MQTT TLS connection, causing it to accept an attacker-controlled broker certificate and process debug-channel commands. Exploitation requires control of the device's DNS or DHCP path; the demonstrated chain redirects MQTT traffic and invokes binaries as root.
Summary
What happened
Improper certificate validation in Nanoleaf firmware 7.1.1 and earlier allows remote attackers to execute code through DNS hijacking. The cloud_daemon passes MBEDTLS_SSL_VERIFY_NONE to mbedtls_ssl_conf_authmode for its outbound MQTT TLS connection, causing it to accept an attacker-controlled broker certificate and process debug-channel commands. Exploitation requires control of the device's DNS or DHCP path; the demonstrated chain redirects MQTT traffic and invokes binaries as root.
The record
- CVE
- CVE-2022-47758
- Published
- Apr 27, 2023
- Updated
- Jul 9, 2026
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-295, T1557.003
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 27, 2023CVE publishedPublication date reported by the CVE source.
- Jul 9, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- MQTT broker redirection proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo