Mozilla Foundation Security Advisory 2013-91

User-defined properties on DOM proxies get the wrong "this" object

Announced
September 17, 2013
Reporter
Boris Zbarsky
Impact
Moderate
Products
Firefox, Firefox ESR, SeaMonkey, Thunderbird, Thunderbird ESR
Fixed in
  • Firefox 24
  • Firefox ESR 17.0.9
  • SeaMonkey 2.21
  • Thunderbird 24
  • Thunderbird ESR 17.0.9

Description

Mozilla developer Boris Zbarsky reported that user-defined getters on DOM proxies would incorrectly get the expando object as this. It is unlikely that this is directly exploitable but could lead to JavaScript client or add-on code making incorrect security sensitive decisions based on hacker supplied values.

In general this flaw cannot be exploited through email in the Thunderbird product because scripting is disabled, but is potentially a risk in browser or browser-like contexts.

References