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

Issue 2868973003: XSSAuditor: truncate form action attribute like other src-like attributes (Closed)

Created:
3 years, 7 months ago by Tom Sepez
Modified:
3 years, 4 months ago
Reviewers:
Mike West
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, kinuko+watch, loading-reviews+parser_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

XSSAuditor: truncate form action attribute like other src-like attributes Adds a missing flag. As a result of adding the flag, the issue that inspired the test form-action-token-fragment.html becomes moot. We're no longer considering any part of the path/query/fragment, so they won't influence behaviour. See https://codereview.chromium.org/1179633002 for context. The problem was the the auditor would sometimes fire on fragment prefix matches (when right) and sometimes not (when wrong), and might leak info as a result. We fixed it last time by not firing until the entire fragment was right. We fix it this time by always firing, even when the prefix is wrong. As a result, the removed test as written would fail even though things are safe. BUG=719092

Patch Set 1 #

Patch Set 2 : rebase, update expectation #

Messages

Total messages: 36 (28 generated)
Tom Sepez
Mike, for review.
3 years, 7 months ago (2017-05-08 22:03:48 UTC) #4
Mike West
LGTM, assuming that the red bots are issues with the bots and not issues with ...
3 years, 7 months ago (2017-05-09 09:27:18 UTC) #19
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/2868973003/1
3 years, 7 months ago (2017-05-09 16:06:54 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/431256)
3 years, 7 months ago (2017-05-09 16:17:26 UTC) #26
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/2868973003/20001
3 years, 7 months ago (2017-05-09 16:49:40 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/422139)
3 years, 7 months ago (2017-05-09 22:45:08 UTC) #32
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/2868973003/20001
3 years, 7 months ago (2017-05-11 18:11:46 UTC) #34
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 20:13:59 UTC) #36
Try jobs failed on following builders:
  linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED,
http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)

Powered by Google App Engine
This is Rietveld 408576698