Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Issue 2423623002: Don't run handleEvent getter in V8EventListener::getListenerFunction if script is forbidden. (Closed)

Created:
4 years, 2 months ago by esprehn
Modified:
4 years, 2 months ago
CC:
blink-reviews, blink-reviews-bindings_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't run handleEvent getter in V8EventListener::getListenerFunction if script is forbidden. It results in arbitrary code execution under ScriptForbiddenScopes. :( BUG=655904 Committed: https://crrev.com/610b88604db99184334982ab982d758296718879 Cr-Commit-Position: refs/heads/master@{#425763}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/V8EventListener.cpp View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
esprehn
4 years, 2 months ago (2016-10-15 03:35:54 UTC) #6
haraken
LGTM However, there're a lot of other places in bindings where Get() can invoke arbitrary ...
4 years, 2 months ago (2016-10-15 05:23:24 UTC) #8
jochen (gone - plz use gerrit)
lgtm
4 years, 2 months ago (2016-10-17 09:52:42 UTC) #9
jochen (gone - plz use gerrit)
btw, if we fire events, would we also do a microtask checkpoint?
4 years, 2 months ago (2016-10-17 09:53:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2423623002/1
4 years, 2 months ago (2016-10-17 18:45:54 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-17 20:11:02 UTC) #13
commit-bot: I haz the power
4 years, 2 months ago (2016-10-17 20:14:10 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/610b88604db99184334982ab982d758296718879
Cr-Commit-Position: refs/heads/master@{#425763}

Powered by Google App Engine
This is Rietveld 408576698