CVE-2013-2101: XSS
Eric Helms (ehelms) reports:
I have identified a number of areas and entities within Katello that are vulnerable to a cross-site scripting attack.
Reproducible: Always
Steps to Reproduce: 1. Log in 2. Navigate to Changeset/Repository/System/Distributor/Filter 3. Create a new entity from above giving it the name <a href="http://www.google.com">Entity 1</a> 4. Submit Actual Results: - Notification pops up saying success with a clickable link - Users can navigate to 'Notices' page and see clickable link from successful creation of the entity - If creating a Changeset, the changeset name will appear clickable inside the right hand list on the Changeset Management page
Expected Results: The name should appear fully escaped everywhere that it is used.
This is a two fold issue:
1. This issue is not present with some entities due to model validation on the backend that prevents the use of HTML <,>,/ characters. The entities defined above in the steps do not have this validation on their name property.
2. There are a few places where user input is not escaped on output. These locations are: - notices displayed to the user are marked as htmlsafe to account for the application putting links for the user into some notices, this has the downside of presenting all notices unescaped to the user and opening this XSS hole - in some areas of the application, JavaScript is used to construct templates and concatenate user input data from the server, since this data is not escaped when input to the JavaScript, the result comes out with an XSS hole
Other sources
Katello has multiple XSS issues in various entities
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is CVE-2013-2101?
CVE-2013-2101 refers to multiple XSS issues in various entities in Katello and Red Hat Satellite.
What software is affected by CVE-2013-2101?
Katello and Red Hat Satellite versions 6.0 are affected by CVE-2013-2101.
What is the severity of CVE-2013-2101?
CVE-2013-2101 has a severity score of 5.4 (medium).
How can I fix the XSS issues in Katello and Red Hat Satellite?
To fix the XSS issues in Katello and Red Hat Satellite, it is recommended to update to the latest patched versions provided by the vendors.
Where can I find more information about CVE-2013-2101?
You can find more information about CVE-2013-2101 on the Red Hat security advisory and the related Bugzilla entry.