Abode Systems, Inc. iota All-In-One Security Kit XCMD testWifiAP format string injection vulnerabilities
Four format string injection vulnerabilities exist in the testWifiAP XCMD handler of the iota All-In-One Security Kit. An attacker who can modify Wi-Fi configuration values can inject format specifiers that are passed to a logging function, potentially leading to memory corruption, information disclosure, and denial of service.
Originally disclosed on Cisco Talos
Four format string injection vulnerabilities exist in the XCMD testWifiAP functionality of Abode Systems, Inc. iota All-In-One Security Kit 6.9X and 6.9Z. Specially-crafted configuration values can lead to memory corruption, information disclosure and denial of service.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The log function passes attacker-controlled configuration values directly as the format parameter to vsnprintf, allowing format string injection.
Impact
An attacker could cause memory corruption, information disclosure, and denial of service, but the output is only visible to a physically present attacker with UART access.
What the attacker needed
Ability to modify Wi-Fi configuration values; Ability to send XCMD to device (e.g., via UDP/55050); Physical access to UART for observing output
How it was found
- Modify Wi-Fi configuration values (e.g., SSID, WPAPSK, WEP key) via mobile app, web app, setWifiAP XCMD, or local web endpoints.
- Send a testWifiAP XCMD to the device (e.g., via UDP/55050).
- The device constructs a command string using the modified configuration values.
- The command string is passed as the format argument to the log function, triggering the format string vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A format string vulnerability happens when user input is used directly as a format string in functions like printf. Attackers can use special characters like %x to read memory or %n to write to memory. Here, the device takes Wi-Fi settings and passes them to a logging function without proper sanitisation, so an attacker who can change those settings can exploit the device.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.