(Pwn2Own) Qualcomm Technologies QCA7005 GreenPhy Heap-based Buffer Overflow Code Execution Vulnerability
A heap-based buffer overflow in the Qualcomm QCA7005 powerline chip occurs when handling vendor-specific GreenPhy management messages, because the length of user-supplied data is not validated before copying into a fixed-length heap buffer. A physically present attacker can exploit this to execute arbitrary code on the chip.
Originally disclosed on Zero Day Initiative
This vulnerability allows physically present attackers to execute arbitrary code on affected installations of Qualcomm Technologies QCA7005 powerline chips. 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
Impact
A physically present attacker could execute arbitrary code on the powerline communication chip, and authentication is not required.
What the attacker needed
Physical access to the device; ability to send GreenPhy management messages
The fix
Qualcomm Technologies issued an update to correct this vulnerability.
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 a small chip used for powerline networking. The chip copies data from a message into a fixed-size memory area without checking if the data is too long, so an attacker who can send such a message can overwrite nearby memory and run their own code on the chip.
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.