[Webkit-unassigned] [Bug 91419] New: [Blackberry] Any webpage can crash webkit via qnx.callExtensionMethod assuming 'this' is the 'qnx' object
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 16 13:07:38 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=91419
Summary: [Blackberry] Any webpage can crash webkit via
qnx.callExtensionMethod assuming 'this' is the 'qnx'
object
Product: WebKit
Version: 528+ (Nightly build)
Platform: Other
URL: javascript:qnx.callExtensionMethod.apply(window, []);
OS/Version: Other
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit BlackBerry
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ben at meyerhome.net
CC: tonikitoo at webkit.org
Run the following in inspector to crash WebKit
qnx.callExtensionMethod.apply(window, []);
In the c++ that handles the function it assumes that when callExtensionMethod is called that 'this' is
the object 'qnx'. The qnx object has a hidden variable that the code casts and uses, but when 'this' is not qnx such as the example this will cause a
crash. Any website can insert the above JavaScript to cause the crash.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list