Anker Eufy Homebase 2 mips_collector appsrv_server use-after-free vulnerability
A use-after-free vulnerability in the mips_collector appsrv_server of Anker Eufy Homebase 2 allows a remote attacker to cause a crash and potentially execute code by repeatedly opening and closing network connections.
Originally disclosed on Cisco Talos
A use-after-free vulnerability exists in the mipscollector appsrvserver functionality of Anker Eufy Homebase 2 2.1.8.5h. A specially-crafted set of network packets can lead to remote code execution.
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 calls pthread_cancel without pthread_join, so threads scheduled for cancellation may still run and access resources that have already been freed.
Impact
A remote attacker could cause a denial of service (crash) and potentially execute arbitrary code on the device.
What the attacker needed
Network access to TCP port 5000
How it was found
- Repeatedly open and close network connections to the device's TCP port 5000.
- Send the same invalid packet (e.g., a single byte) on each connection.
- Observe that the device crashes due to use-after-free.
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.
This report describes a bug in a home security device where the software frees memory that a background task is still using. An attacker can trigger this by rapidly connecting and disconnecting to the device, which can crash it or let the attacker run their own code.
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.