persistent xss vector in (unescaped) filenames in revision views
Bug #740142 reported by
David
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
William Grant | ||
loggerhead |
Fix Released
|
Critical
|
William Grant | ||
loggerhead (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Karmic |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Loggerhead does not escape filenames when showing filenames in a revision view.
I have made an example of this available at
https:/
(note: If you focus over the input box you should an alert dialogue with the number 1 in it. )
Related branches
lp://staging/~wgrant/loggerhead/bug-740142
- Robert Collins: Approve
-
Diff: 247 lines (+96/-21)6 files modifiedloggerhead/controllers/view_ui.py (+1/-2)
loggerhead/templatefunctions.py (+20/-12)
loggerhead/tests/__init__.py (+1/-0)
loggerhead/tests/test_simple.py (+7/-3)
loggerhead/tests/test_util.py (+33/-0)
loggerhead/util.py (+34/-4)
lp://staging/loggerhead/1.18
- John A Meinel: Approve
-
Diff: 122 lines (+59/-1) (has conflicts)4 files modifiedNEWS (+14/-0)
loggerhead/__init__.py (+1/-1)
loggerhead/controllers/view_ui.py (+36/-0)
loggerhead/templatefunctions.py (+8/-0)
lp://staging/~wgrant/launchpad/new-loggerhead
- Robert Collins (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedutilities/sourcedeps.conf (+1/-1)
CVE References
Changed in loggerhead: | |
assignee: | nobody → John A Meinel (jameinel) |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in loggerhead (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → William Grant (wgrant) |
status: | New → In Progress |
Changed in loggerhead (Ubuntu): | |
status: | In Progress → Confirmed |
assignee: | William Grant (wgrant) → nobody |
Changed in loggerhead: | |
status: | In Progress → Fix Released |
milestone: | none → 1.18.1 |
visibility: | private → public |
Changed in launchpad: | |
status: | Triaged → Fix Released |
assignee: | nobody → William Grant (wgrant) |
milestone: | none → 11.04 |
tags: | added: patch |
To post a comment you must log in.
Actually, I have deleted that branch.
All I had was a file with 'ok' in it and named "<input onfocus=alert(1)>