Mozilla Firefox OBJECT mObserverList Remote Code Execution Vulnerability

ID ZDI-11-159
Type zdi
Reporter regenrecht
Modified 2011-06-22T00:00:00


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Mozilla Firefox. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within Firefox's handling of observer OBJECTs. If an observer OBJECT is removed from the mObserverList during an iteration of LOOP_OVER_OBSERVERS macro, one can heap spray over |mObserverList.mNext| andchange the execution flow. This would allow the attacker to execute arbitrary code under the context of the user running the browser.