Abode Systems, Inc. iota All-In-One Security Kit web interface /action/wirelessConnect format string injection vulnerabilities
Four format string injection vulnerabilities exist in the /action/wirelessConnect handler of the iota security kit's web interface. An authenticated attacker can send a crafted HTTP request to corrupt memory, disclose information, or cause denial of service, though the output is only visible on the physical UART console.
Originally disclosed on Cisco Talos
Four format string injection vulnerabilities exist in the web interface /action/wirelessConnect functionality of Abode Systems, Inc. iota All-In-One Security Kit 6.9Z and 6.9X. A specially-crafted HTTP request 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 user-controlled input directly as the format string to vsnprintf, allowing format specifiers to be interpreted.
Impact
An authenticated attacker could cause memory corruption, information disclosure, or denial of service, but the output is only visible to a physically present attacker with UART access.
What the attacker needed
Authenticated access to web interface; web interface enabled (disabled by default); physical UART access to see output
How it was found
- Extract the ssid_hex parameter from the HTTP request.
- If ssid_hex is present, construct an OS command using its content.
- Pass the constructed command string as the format parameter to the log function.
- The log function processes the format string with vsnprintf, interpreting format specifiers.
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 is a template used by functions like printf to build text, where special codes like %x tell the function to insert data. If a program lets user input become that template, an attacker can use those codes to read or write memory. Here, the device's logging function was given user-controlled text as the template, so an attacker could manipulate memory.
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.