Adobe Flash Player ShimContentFactory.retrieveResolvers Memory Corruption Vulnerability
The ShimContentFactory.retrieveResolvers() function in Adobe Flash Player did not properly validate its parameter, so calling it directly with an invalid value left an inner class instance absent and caused a memory crash. An attacker could trigger memory corruption, though the text does not describe a full exploit.
- Fixed in 2 months
- Paid in 2 months
- Disclosed after 3.4 years
I. Summary Adobe Flash Player is prone to a vulnerability which leads to memory corruption because of improper validation of ShimContentFactory.retrieveResolvers().
II. Description Normally, retrieveResolvers() should validates its parameter and returns error in AS3 level if anything goes wrong. If retrieveResolvers() function is invoked directly with invalid parameter, some inner class instance will be absent, which will cause a memory crash.
III. Impact Memory Corruption
IV. Affected Adobe Flash Player 21.0.0.242.
V. Credit Wen Guanxing from Pangu LAB is credited for this vulnerability.
It has been assigned by Adobe as CVE-2016-4151. https://helpx.adobe.com/security/products/flash-player/apsb16-18.html
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 function did not validate its parameter when called directly, so an expected inner class instance was never created and later code used it anyway.
Impact
Memory corruption could occur, but the text does not show that it leads to code execution or that any defence blocked it.
What the attacker needed
Adobe Flash Player [redacted]; ability to run AS3 code
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.
Adobe Flash Player is a browser plugin that runs small programs written in a language called ActionScript 3 (AS3). One of its internal functions, retrieveResolvers(), is supposed to check the value it is given and return an error if the value is bad. If someone calls that function directly with a bad value, a piece of the program that should exist is missing, and the player crashes in a way that can corrupt memory.
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.