(Pwn2Own) Autel MaxiCharger AC Wallbox Commercial DLB_SlaveRegister Heap-based Buffer Overflow Remote Code Execution Vulnerability
A heap-based buffer overflow exists in how the charger handles DLB_SlaveRegister messages, because the length of incoming data is not validated before it is copied into a fixed-size heap buffer. A network-adjacent attacker without authentication could use this to run arbitrary code on the device.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Autel MaxiCharger AC Wallbox Commercial EV chargers. Authentication is not required to exploit this vulnerability.
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 message handler copies a user-supplied field into a fixed-length heap buffer without checking its length first.
Impact
A network-adjacent, unauthenticated attacker could execute arbitrary code in the context of the device.
What the attacker needed
Network-adjacent access to the charger; no authentication needed
The fix
It was fixed in firmware versions V1.39.51 (American Standard) and V1.56.51 (European Standard).
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 is a memory safety bug in an electric vehicle charger. The software takes a message from the network and copies it into a small reserved area of memory without first checking how big the message is, so a larger message spills over into neighbouring memory. An attacker on the same network could use that overflow to make the device 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.