|
ObjectEvalArbitraryCodeExecution
eval reachable from any Object on some browsers
Attack-Vector Object.eval allows execution of unsanitized code on Firefox.EffectExecution of arbitrary code. BackgroundAccording to http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object, Object.eval is a deprecated method of all Objects. AssumptionsAny object is accessible, and the eval property is accessible. VersionsFirefox <= 2.0.0.12. Fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=382509 Example({}).eval('alert("Your cookie is " + document.cookie)')
| |
► Sign in to add a comment