Skip to content
Memory corruption Advisory Advanced CVE-2022-33938

Abode Systems, Inc. iota All-In-One Security Kit ghome_process_control_packet format string injection vulnerability

The [redacted] function in the iota security kit builds a log message from attacker-supplied XML fields and then passes that message as the format string to a logging function. An attacker who can send a crafted UDP packet could cause memory corruption, leak stack memory or crash the device, though the output is only visible on the physical UART console.

Matt Wiseman Follow

Originally disclosed on Cisco Talos

High 8.2 View original

A format string injection vulnerability exists in the ghomeprocesscontrolpacket functionality of Abode Systems, Inc. iota All-In-One Security Kit 6.9Z and 6.9X. A specially-crafted XCMD 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

Likely the code builds a log message containing attacker-controlled values and then passes that buffer as the format argument to a variadic logging function instead of a fixed format string.

Impact

An attacker could corrupt memory, disclose stack contents or cause a denial of service, but any leaked output is only visible to someone physically connected to the UART console.

What the attacker needed

Network access to UDP port 55050; physical UART access to see leaked output

The fix

The log call should use a fixed format string and pass the constructed message as an argument rather than as the format.

How it was found

  1. Send a UDP packet to port 55050 containing an XML payload with a cmd tag.
  2. The device extracts the a and id attribute values from the cmd tag.
  3. Those values are placed into a log message buffer.
  4. The buffer is passed as the format string to the log function, so format specifiers in the values are interpreted.

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 that tells a program how to print text, with placeholders like %x that pull values from memory. Here the device takes text from a network packet and uses it as that template, so an attacker can make the program read or write memory it should not. The catch is that the results only appear on a serial cable attached to the device, so the attacker must be physically present.

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.