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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Django Vendors:   djangoproject.com
Django Bugs Let Remote Users Conduct Redirect and Cross-Site Scripting Attacks and Determine Valid Usernames
SecurityTracker Alert ID:  1035152
SecurityTracker URL:  http://securitytracker.com/id/1035152
CVE Reference:   CVE-2016-2512, CVE-2016-2513   (Links to External Site)
Date:  Mar 2 2016
Impact:   Disclosure of authentication information, Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network, Modification of system information, Modification of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to versions 1.8.10, 1.9.3
Description:   Two vulnerabilities were reported in Django. A remote user can redirect the target user's browser to an arbitrary site. A remote user can determine valid usernames on the target system. A remote user can conduct cross-site scripting attacks.

The django.utils.http.is_safe_url() function does not properly detect unsafe URLs. A remote user can create a URL that, when loaded by the target user, will redirect the target user's browser to an arbitrary site [CVE-2016-2512].

A remote user can also 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.

Mark Striemer reported this vulnerability.

A remote user can send a specially crafted request to and monitor the time difference in the target server's response to determine valid usernames on the target system [CVE-2016-2513]. Usernames of users that have not logged in since the number of iterations in PBKDF2PasswordHasher() has increased are affected. After logging in, the timing difference is eliminated for that particular iteration increase.

Sjoerd Job Postmus reported this vulnerability.

Impact:   A remote user can cause the target user's browser to be redirected to an arbitrary web site.

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.

A remote user can determine valid usernames on the target system.

Solution:   The vendor has issued a fix (1.8.10, 1.9.3).

The vendor's advisory is available at:

https://www.djangoproject.com/weblog/2016/mar/01/security-releases/

Vendor URL:  www.djangoproject.com/weblog/2016/mar/01/security-releases/ (Links to External Site)
Cause:   Access control error, Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   This archive entry has one or more follow-up message(s) listed below.
Mar 2 2016 (Ubuntu Issues Fix) Django Bugs Let Remote Users Conduct Redirect and Cross-Site Scripting Attacks and Determine Valid Usernames
Ubuntu has issued a fix for Ubuntu Linux 12.04 LTS, 14.04 LTS, and 15.10.
Mar 24 2016 (Red Hat Issues Fix) Django Bugs Let Remote Users Conduct Redirect and Cross-Site Scripting Attacks and Determine Valid Usernames
Red Hat has issued a fix for Red Hat Enterprise Linux 6 and 7.



 Source Message Contents



[Original Message Not Available for Viewing]


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 2020, SecurityGlobal.net LLC