Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 926553 Details for
Bug 1129774
CVE-2014-3594 openstack-horizon: persistent XSS in Horizon Host Aggregates interface
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
CVE-2014-3594 patch for master/juno
cve-2014-3594-master-juno.patch (text/plain), 2.29 KB, created by
Vincent Danen
on 2014-08-13 18:56:24 UTC
(
hide
)
Description:
CVE-2014-3594 patch for master/juno
Filename:
MIME Type:
Creator:
Vincent Danen
Created:
2014-08-13 18:56:24 UTC
Size:
2.29 KB
patch
obsolete
>From 22edde980e0fb2238a62845bcd6922b39506b67b Mon Sep 17 00:00:00 2001 >From: Julie Pichon <jpichon@redhat.com> >Date: Tue, 29 Jul 2014 16:17:44 +0100 >Subject: [PATCH] Fix XSS issue with the unordered_list filter > >When using the unordered_list filter in a Horizon table (as opposed to >a template directly), autoescaping is not set by default and the input >wasn't sanitised. > >Closes-Bug: #1349491 >Change-Id: Id82eefe48ccb17a158751ec65d24f3ac779380ec >--- > openstack_dashboard/dashboards/admin/aggregates/tables.py | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > >diff --git a/openstack_dashboard/dashboards/admin/aggregates/tables.py b/openstack_dashboard/dashboards/admin/aggregates/tables.py >index 4f2c9aa..a6277f6 100644 >--- a/openstack_dashboard/dashboards/admin/aggregates/tables.py >+++ b/openstack_dashboard/dashboards/admin/aggregates/tables.py >@@ -98,6 +98,10 @@ def get_zone_hosts(zone): > return host_details > > >+def safe_unordered_list(value): >+ return filters.unordered_list(value, autoescape=True) >+ >+ > class HostAggregatesTable(tables.DataTable): > name = tables.Column('name', verbose_name=_('Name')) > availability_zone = tables.Column('availability_zone', >@@ -105,11 +109,11 @@ class HostAggregatesTable(tables.DataTable): > hosts = tables.Column(get_aggregate_hosts, > verbose_name=_("Hosts"), > wrap_list=True, >- filters=(filters.unordered_list,)) >+ filters=(safe_unordered_list,)) > metadata = tables.Column(get_metadata, > verbose_name=_("Metadata"), > wrap_list=True, >- filters=(filters.unordered_list,)) >+ filters=(safe_unordered_list,)) > > class Meta: > name = "host_aggregates" >@@ -128,7 +132,7 @@ class AvailabilityZonesTable(tables.DataTable): > hosts = tables.Column(get_zone_hosts, > verbose_name=_('Hosts'), > wrap_list=True, >- filters=(filters.unordered_list,)) >+ filters=(safe_unordered_list,)) > available = tables.Column(get_available, > verbose_name=_('Available'), > status=True, >-- >1.9.3 > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1129774
:
926551
|
926552
| 926553