Ubuntu Security Notice 3254-1 - It was discovered that Django incorrectly handled numeric redirect URLs. A remote attacker could possibly use this issue to perform XSS attacks, and to use a Django server as an open redirect. Phithon Gong discovered that Django incorrectly handled certain URLs when the jango.views.static.serve view is being used. A remote attacker could possibly use a Django server as an open redirect.
801ae2bcbebfea2c9051c6832ae1dc3ea158685668ddfea06d6087a5c8b1837a
===========================================================================
Ubuntu Security Notice USN-3254-1
April 04, 2017
python-django vulnerabilities
===========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 16.10
- Ubuntu 16.04 LTS
- Ubuntu 14.04 LTS
- Ubuntu 12.04 LTS
Summary:
Several security issues were fixed in Django.
Software Description:
- python-django: High-level Python web development framework
Details:
It was discovered that Django incorrectly handled numeric redirect URLs. A
remote attacker could possibly use this issue to perform XSS attacks, and
to use a Django server as an open redirect. (CVE-2017-7233)
Phithon Gong discovered that Django incorrectly handled certain URLs when
the jango.views.static.serve() view is being used. A remote attacker could
possibly use a Django server as an open redirect. (CVE-2017-7234)
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 16.10:
python-django 1.8.7-1ubuntu8.2
python3-django 1.8.7-1ubuntu8.2
Ubuntu 16.04 LTS:
python-django 1.8.7-1ubuntu5.5
python3-django 1.8.7-1ubuntu5.5
Ubuntu 14.04 LTS:
python-django 1.6.11-0ubuntu1.1
Ubuntu 12.04 LTS:
python-django 1.3.1-4ubuntu1.23
In general, a standard system update will make all the necessary changes.
References:
http://www.ubuntu.com/usn/usn-3254-1
CVE-2017-7233, CVE-2017-7234
Package Information:
https://launchpad.net/ubuntu/+source/python-django/1.8.7-1ubuntu8.2
https://launchpad.net/ubuntu/+source/python-django/1.8.7-1ubuntu5.5
https://launchpad.net/ubuntu/+source/python-django/1.6.11-0ubuntu1.1
https://launchpad.net/ubuntu/+source/python-django/1.3.1-4ubuntu1.23