(0Day) (Pwn2Own) United Chargers Grizzl-E Smart 40A OCPP UpdateFirmware Out-Of-Bounds Write Remote Code Execution Vulnerability
The Grizzl-E Smart 40A EV charger fails to properly validate user-supplied data in OCPP UpdateFirmware requests, causing a write past the end of an allocated buffer. A network-adjacent attacker without authentication could exploit this, possibly in combination with other flaws, to execute arbitrary code on the device.
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of United Chargers Grizzl-E Smart 40A 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 OCPP UpdateFirmware request handler does not validate the length of user-supplied data before copying it into a fixed-size buffer.
Impact
A network-adjacent attacker without authentication could execute arbitrary code on the device, potentially in conjunction with other vulnerabilities.
What the attacker needed
Network-adjacent access; no authentication required
The fix
The vendor has not responded, so the only suggested mitigation is to restrict network interaction with the product.
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 corruption bug in an electric vehicle charger. The charger accepts firmware update messages over the network and does not check the size of the data properly, so it can write more data than it has space for. An attacker on the same network could use this to run their own code on the charger.
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.