Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 461
Alerts This Week
Warning Icon 1 461

Ubuntu 14.04 LTS USN-2169-1 Critical: Django Import Attack

ubuntu
Calendar Grey April 22, 2014
Scroller Ubuntu
Numerous security flaws in Django were resolved in Ubuntu. Guidance on how to update for impacted releases was provided.
Several security issues were fixed in Django.

Summary

Several security issues were fixed in Django.

Software Description:

- python-django: High-level Python web development framework

Details:

Benjamin Bach discovered that Django incorrectly handled dotted Python

paths when using the reverse() function. An attacker could use this issue

to cause Django to import arbitrary modules from the Python path, resulting

in possible code execution. (CVE-2014-0472)

Paul McMillan discovered that Django incorrectly cached certain pages that

contained CSRF cookies. An attacker could possibly use this flaw to obtain

a valid cookie and perform attacks which bypass the CSRF restrictions.

(CVE-2014-0473)

Michael Koziarski discovered that Django did not always perform explicit

conversion of certain fields when using a MySQL database. An attacker

could possibly use this issue to obtain unexpected results. (CVE-2014-0474)

Update Instructions

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 14.04 LTS:
  python-django                   1.6.1-2ubuntu0.1

Ubuntu 13.10:
  python-django                   1.5.4-1ubuntu1.1

Ubuntu 12.10:
  python-django                   1.4.1-2ubuntu0.5

Ubuntu 12.04 LTS:
  python-django                   1.3.1-4ubuntu1.9

Ubuntu 10.04 LTS:
  python-django                   1.1.1-2ubuntu1.10

In general, a standard system update will make all the necessary changes.

References

https://ubuntu.com/security/notices/USN-2169-1

CVE-2014-0472, CVE-2014-0473, CVE-2014-0474

Severity
critical
Lowest
Low
Medium
High
Critical

April 22, 2014

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.