Skip to content
Memory corruption Advisory Advanced CVE-2022-35877CVE-2022-35874CVE-2022-35875CVE-2022-35876

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.

Matt Wiseman Follow

Originally disclosed on Cisco Talos

High 8.2 View original

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.

Matt Wiseman, on Cisco Talos

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

  1. Modify Wi-Fi configuration values (e.g., SSID, WPAPSK, WEP key) via mobile app, web app, setWifiAP XCMD, or local web endpoints.
  2. Send a testWifiAP XCMD to the device (e.g., via UDP/55050).
  3. The device constructs a command string using the modified configuration values.
  4. 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.

More by Matt Wiseman

View all

73 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.