(0Day) (Pwn2Own) United Chargers Grizzl-E Smart 40A FTP URL Path Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
A stack-based buffer overflow exists in the parsing of FTP URL paths during firmware updates on United Chargers Grizzl-E Smart 40A EV chargers. A network-adjacent attacker without authentication could exploit this to execute arbitrary code on the device, possibly in conjunction with other vulnerabilities.
Originally disclosed on Zero Day Initiative
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 firmware update component copies an FTP URL path into a fixed-length stack buffer without validating its length, leading to a stack-based buffer overflow.
Impact
A network-adjacent attacker without authentication could execute arbitrary code on the device, potentially in combination with other vulnerabilities.
What the attacker needed
Network-adjacent access to the device; no authentication required
The fix
The vendor did not respond, so no fix is available; 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. When the charger processes a web address for downloading firmware updates, it copies the address into a fixed-size memory space without checking if it is too long. An attacker on the same network could send an overly long address to overwrite memory and potentially run their own code on the device.
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.