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

Issue 10827364: Properly EscapeForHTML potentially malicious input from X.509 certificates. (Closed)

Created:
8 years, 4 months ago by palmer
Modified:
8 years, 4 months ago
Reviewers:
Tom Sepez, Nico, brettw
CC:
chromium-reviews
Visibility:
Public.

Description

Properly EscapeForHTML potentially malicious input from X.509 certificates. BUG=142956 TEST=Create an X.509 certificate with a CN field that contains JavaScript. When you get the SSL error screen, check that the HTML + JavaScript is escape instead of being treated as HTML and/or script. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152210

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M chrome/browser/ssl/ssl_error_info.cc View 3 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
palmer
thakis as a possible chrome/OWNERS owner. If someone else is better suited, let me know. ...
8 years, 4 months ago (2012-08-16 00:09:33 UTC) #1
Tom Sepez
LGTM.
8 years, 4 months ago (2012-08-16 16:35:33 UTC) #2
Tom Sepez
Actually, the right place to do this might be in SSLBlockingPage::GetHTMLContents(). In some sense, the ...
8 years, 4 months ago (2012-08-16 16:52:21 UTC) #3
Tom Sepez
Alternatively, does X.509 put any constraints on these fields which we could enforce earlier on?
8 years, 4 months ago (2012-08-16 16:59:08 UTC) #4
palmer
> Actually, the right place to do this might be in > SSLBlockingPage::GetHTMLContents(). In some ...
8 years, 4 months ago (2012-08-16 18:07:11 UTC) #5
palmer
> Alternatively, does X.509 put any constraints on these fields which we could > enforce ...
8 years, 4 months ago (2012-08-16 18:23:12 UTC) #6
palmer
Adding brettw for OWNERS happiness. Thanks!
8 years, 4 months ago (2012-08-17 17:45:31 UTC) #7
Nico
tsepez: Are you happy with this?
8 years, 4 months ago (2012-08-17 20:50:09 UTC) #8
Tom Sepez
LGTM.
8 years, 4 months ago (2012-08-17 20:52:49 UTC) #9
Nico
lgtm stamp You might want to add a chrome/browser/ssl/OWNERS file.
8 years, 4 months ago (2012-08-17 20:58:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/palmer@chromium.org/10827364/1
8 years, 4 months ago (2012-08-17 21:01:56 UTC) #11
commit-bot: I haz the power
8 years, 4 months ago (2012-08-18 01:58:47 UTC) #12
Change committed as 152210

Powered by Google App Engine
This is Rietveld 408576698