Skip to content
Access control Advisory Advanced CVE-2022-25989

Anker Eufy Homebase 2 libxm_av.so getpeermac() authentication bypass vulnerability

An authentication bypass in the Anker Eufy Homebase 2 allows an attacker on the same network to send crafted DHCP packets and spoof their IP address to match a paired smarthome device, thereby gaining access to internal services. This could let the attacker communicate with the device's TCP/UDP servers that are normally restricted to paired devices.

Lilith >_> Follow

Originally disclosed on Cisco Talos

High 7.1 View original

An authentication bypass vulnerability exists in the libxmav.so getpeermac() functionality of Anker Eufy Homebase 2 2.1.8.5h. A specially-crafted DHCP packet can lead to authentication bypass.

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

Root cause

The authentication check relies on the client's IP address being in a specific range and matching an ARP entry, but the device's own Ethernet interface uses DHCP, allowing an attacker to poison the DHCP response and assign an IP from that range to the attacker's machine.

Impact

An attacker could bypass authentication and communicate with the Homebase's internal TCP/UDP servers, potentially leading to unauthorized control or information disclosure, though the CVSS score indicates limited confidentiality, integrity, and availability impact.

What the attacker needed

Attacker on same subnet as Homebase; ability to DHCP poison

The fix

The vulnerability was fixed in version 3.1.8.7 and 3.1.8.7h.

How it was found

  1. Connect to the same network subnet as the Homebase 2.
  2. Perform DHCP poisoning to assign the [redacted]/24 (or a smaller subnet like /25) to the Homebase's eth0 interface.
  3. Assign your own IP address to match a device on the br0 interface (e.g., [redacted]).
  4. Send traffic to the target TCP/UDP ports; the getpeermac() check will succeed because the ARP lookup finds the spoofed IP on br0.

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 Homebase 2 is a central hub for Eufy smart home devices. It only lets paired devices talk to certain internal services, checking their IP address and MAC address. The problem is that an attacker on the same network can trick the Homebase into thinking the attacker's computer is one of those paired devices by sending fake network configuration (DHCP) messages. This lets the attacker access services that should be off-limits.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.