Skip to content
DoS Advisory Advanced CVE-2022-26073

Anker Eufy Homebase 2 libxm_av.so DemuxCmdInBuffer buffer overflow vulnerability

A lack of validation of the size field in a network packet causes an integer overflow in the DemuxCmdInBuffer function, leading to an out-of-bounds read and a crash of the home_security process. Repeated crashes can cause the device to reboot, resulting in a denial of service.

Lilith >_> Follow

Originally disclosed on Cisco Talos

High 7.4 View original

A denial of service vulnerability exists in the libxmav.so DemuxCmdInBuffer functionality of Anker Eufy Homebase 2 2.1.8.5h. A specially-crafted set of network packets can lead to a device reboot.

Lilith >_>, 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

Impact

An attacker could cause the home_security process to crash, and repeated crashes could lead to a device reboot, resulting in a denial of service.

What the attacker needed

Network access to TCP port 32295; source IP with ARP entry on br0 or auth bypass; or compromised smarthome device on br0 network

The fix

The vulnerability was fixed in version 3.1.8.7 and 3.1.8.7h.

How it was found

  1. Connect to TCP port 32295 on the Homebase 2, ensuring the source IP has an ARP entry on the br0 interface or using the authentication bypass.
  2. Send a packet that starts with the magic bytes 0x55 0x55 0x00 0xff, followed by an opcode and a large datalen value.
  3. The DemuxCmdInBuffer function processes the packet, and the large datalen causes an integer overflow when calculating the offset.
  4. The code then attempts to read from an unmapped memory address, causing a segmentation fault and crashing the home_security process.
  5. If the process crashes repeatedly within a short period, the device reboots.

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.

The device receives network messages that include a length field. The software does not check that this length is sensible, so a very large value can cause it to read memory beyond the intended buffer. This crashes the main program, and if it crashes often enough the whole device restarts, so it stops working.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Lilith >_>

View all

148 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.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.