SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Django Vendors:   djangoproject.com
(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
CVE Reference:   CVE-2013-6044   (Links to External Site)
Date:  Nov 14 2013
Impact:   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
Description:   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.

Impact:   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.
Solution:   Red Hat has issued a fix for RedHat OpenStack.

The Red Hat advisory is available at:

https://rhn.redhat.com/errata/RHSA-2013-1521.html

Vendor URL:  www.djangoproject.com/weblog/2013/aug/13/security-releases-issued/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Red Hat Enterprise)

Message History:   This archive entry is a follow-up to the message listed below.
Aug 14 2013 Django Input Validation Flaws Permit Cross-Site Scripting Attacks



 Source Message Contents

Subject:  [RHSA-2013:1521-01] Moderate: python-django security update

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   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 
=====================================================================

1. Summary:

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

3. Description:

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
example, "javascript:") as safe. An attacker could potentially use this
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
CVE-2013-4315.

All python-django users are advised to upgrade to these updated packages,
which contain a backported patch to correct these issues.

4. Solution:

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
https://access.redhat.com/site/articles/11258

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:

OpenStack 3:

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHOS/SRPMS/Django14-1.4.8-1.el6ost.src.rpm

noarch:
Django14-1.4.8-1.el6ost.noarch.rpm
Django14-doc-1.4.8-1.el6ost.noarch.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2013-4315.html
https://www.redhat.com/security/data/cve/CVE-2013-6044.html
https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert@redhat.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)

iD8DBQFShQ2TXlSAg2UNWIIRAvVrAJ9l0Q70ky02euwUHjW1iYMTULcrhQCghGRQ
l1CQ7Lg10xTVHDBOK8Wq66g=
=3cET
-----END PGP SIGNATURE-----


-- 
Enterprise-watch-list mailing list
Enterprise-watch-list@redhat.com
https://www.redhat.com/mailman/listinfo/enterprise-watch-list
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC