Adobe Flash Player ShimContentFactory class Memory Corruption Vulnerability
The ShimContentFactory.retrieveOpportunityGenerators() method 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 exploit this to cause memory corruption.
- 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.retrieveOpportunityGenerators().
II. Description Normally, retrieveOpportunityGenerators() should validates its parameter and returns error in AS3 level if anything goes wrong. If retrieveOpportunityGenerators() 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-4150. 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 before use, so an invalid argument led to a missing inner class instance and a memory crash.
Impact
Memory corruption, as stated in the text.
What the attacker needed
Adobe Flash Player [redacted]; ability to invoke the function directly
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 animations and interactive content. A function inside it, retrieveOpportunityGenerators(), was supposed to check the value it was given and return an error if the value was bad. Instead, when called directly with a bad value, it skipped that check, left part of its internal state missing, and crashed the program in a way that could 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.