(Red Hat Issues Fix for OpenStack) Django Input Validation Flaws Permit Cross-Site Scripting Attacks
SecurityTracker Alert ID: 1029348|
SecurityTracker URL: http://securitytracker.com/id/1029348
(Links to External Site)
Date: Nov 14 2013
Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information|
Fix Available: Yes Vendor Confirmed: Yes |
Version(s): prior to versions 1.4.6, 1.5.2, 1.6 beta 2|
Two vulnerabilities were reported in Django. A remote user can conduct cross-site scripting attacks.|
The software does not properly filter HTML code from user-supplied input before displaying the input. A remote user can cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the Django software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
The 'URLField' of the administrative interface (django.contrib.admin) is affected.
Lukasz Langa reported this vulnerability.
The django.utils.http.is_safe_url() function is affected.
Nick Bruun reported this vulnerability.
A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the Django software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.|
Red Hat has issued a fix for RedHat OpenStack.|
The Red Hat advisory is available at:
Vendor URL: www.djangoproject.com/weblog/2013/aug/13/security-releases-issued/ (Links to External Site)
Input validation error|
|Underlying OS: Linux (Red Hat Enterprise)|
This archive entry is a follow-up to the message listed below.|
Source Message Contents
Subject: [RHSA-2013:1521-01] Moderate: python-django security update|
-----BEGIN PGP SIGNED MESSAGE-----
Red Hat Security Advisory
Synopsis: Moderate: python-django security update
Advisory ID: RHSA-2013:1521-01
Product: Red Hat OpenStack
Advisory URL: https://rhn.redhat.com/errata/RHSA-2013-1521.html
Issue date: 2013-11-14
CVE Names: CVE-2013-4315 CVE-2013-6044
Updated python-django packages that fix two security issues are now
available for Red Hat OpenStack 3.0.
The Red Hat Security Response Team has rated this update as having moderate
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.
2. Relevant releases/architectures:
OpenStack 3 - noarch
Django is a high-level Python Web framework that encourages rapid
development and a clean, pragmatic design. It focuses on automating as much
as possible and adhering to the DRY (Don't Repeat Yourself) principle.
It was discovered that the django.utils.http.is_safe_url() function
considered any URL that used a scheme other than HTTP or HTTPS (for
flaw to perform cross-site scripting (XSS) attacks. (CVE-2013-6044)
A directory traversal flaw was found in Django's "ssi" template tag, which
takes a file path as input and outputs that file's contents. An attacker
able to alter templates that made use of the "ssi" tag on a site could use
this flaw to access any local files accessible to Django. (CVE-2013-4315)
Red Hat would like to thank James Bennett of Django for reporting
All python-django users are advised to upgrade to these updated packages,
which contain a backported patch to correct these issues.
Before applying this update, make sure all previously released errata
relevant to your system have been applied.
This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
5. Bugs fixed (http://bugzilla.redhat.com/):
1004969 - CVE-2013-4315 python-django: directory traversal with "ssi" template tag
1016394 - CVE-2013-6044 python-django: xss in is_safe_url function
6. Package List:
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
The Red Hat security contact is <email@example.com>. More contact
details at https://access.redhat.com/security/team/contact/
Copyright 2013 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
-----END PGP SIGNATURE-----
Enterprise-watch-list mailing list