Adobe Flash Player ShimContentResolver(resolverType=1) class Memory Corruption Vulnerability
Adobe Flash Player did not properly validate the parameter passed to ShimContentResolver.resolve() when the resolver was constructed with resolverType=1. Invoking resolve() with an invalid Opportunity instance left internal fields absent and caused a memory crash.
- 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 ShimContentResolver.resolve().
II. Description Normally, resolve() should validate its parameter with canResolve() and returns error in AS3 level if anything goes wrong. However, if ShimContentResolver is constructed with resolverType=1, then invoking resolve() with invalid Opportunity instance, some inner fields of ShimContentResolver will be absent, which will cause a memory crash.
III. Credit Wen Guanxing from Pangu LAB is credited for this vulnerability.
It has been assigned by Adobe as CVE-2016-4155. 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 resolve() did not call canResolve() to validate its argument when the resolver was built with resolverType=1, so missing internal fields were dereferenced.
Impact
The text only claims a memory crash; it does not show that an attacker could execute code or take over the machine.
What the attacker needed
Flash Player with the vulnerable ShimContentResolver; Ability to run AS3 that builds resolverType=1
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.
Flash Player runs ActionScript (AS3) programs. A class called ShimContentResolver is meant to check its input, but in one configuration it skipped that check. Bad input then made the program crash, which indicates a memory bug.
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.