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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Django Vendors:   djangoproject.com
Django Bugs Let Remote Users Access the Database in Certain Cases, Conduct Cross-Site Scripting Attacks, and Obtain Potentially Sensitive Information
SecurityTracker Alert ID:  1037159
SecurityTracker URL:  http://securitytracker.com/id/1037159
CVE Reference:   CVE-2016-9013, CVE-2016-9014   (Links to External Site)
Date:  Nov 2 2016
Impact:   Disclosure of authentication information, Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  

Description:   Several vulnerabilities were reported in Django. A remote user can obtain potentially sensitive information on the target system. A remote user can gain access to the target system. A remote user can conduct cross-site scripting attacks.

On systems where tests were run with an Oracle database and a password was not manually specified in the database settings TEST dictionary, the system uses a hardcoded password [CVE-2016-9013]. A remote user can connect to the database server using the hardcoded password.

When the test is completed, the database user account is dropped unless the 'manage.py' '--keepdb' option is specified.

On systems with 'settings.DEBUG=True', the system does not validate user-supplied Host header values against the 'settings.ALLOWED_HOSTS' values [CVE-2016-9014]. A remote user can conduct a DNS rebinding attack to 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.

On systems with 'redirect_authenticated_user' enabled on the login views, a remote user can request redirect URLs to image files on the target site to determine if the target user is authenticated on the target site.

Marti Raudsepp, Aymeric Augustin, and reported these vulnerabilities.

Impact:   A remote user can determine if the target user is authenticated on the target site.

A remote user can gain access to the target database.

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:   The vendor has issued a fix (1.8.16, 1.9.11, 1.10.3).

The vendor advisory is available at:

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

Vendor URL:  www.djangoproject.com/weblog/2016/nov/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.
Nov 2 2016 (Ubuntu Issues Fix) Django Bugs Let Remote Users Access the Database in Certain Cases, Conduct Cross-Site Scripting Attacks, and Obtain Potentially Sensitive Information
Ubuntu has issued a fix for Ubuntu Linux 12.04 LTS, 14.04 LTS, 16.04 LTS, and 16.10.



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