Ubuntu 1757-1: Django vulnerabilities

    Date07 Mar 2013
    CategoryUbuntu
    37
    Posted ByLinuxSecurity Advisories
    Several security issues were fixed in Django.
    ==========================================================================
    Ubuntu Security Notice USN-1757-1
    March 07, 2013
    
    python-django vulnerabilities
    ==========================================================================
    
    A security issue affects these releases of Ubuntu and its derivatives:
    
    - Ubuntu 12.10
    - Ubuntu 12.04 LTS
    - Ubuntu 11.10
    - Ubuntu 10.04 LTS
    
    Summary:
    
    Several security issues were fixed in Django.
    
    Software Description:
    - python-django: High-level Python web development framework
    
    Details:
    
    James Kettle discovered that Django did not properly filter the Host HTTP
    header when processing certain requests. An attacker could exploit this to
    generate and display arbitrary URLs to users. Although this issue had been
    previously addressed in USN-1632-1, this update adds additional hardening
    measures to host header validation. This update also adds a new
    ALLOWED_HOSTS setting that can be set to a list of acceptable values for
    headers. (CVE-2012-4520)
    
    Orange Tsai discovered that Django incorrectly performed permission checks
    when displaying the history view in the admin interface. An administrator
    could use this flaw to view the history of any object, regardless of
    intended permissions. (CVE-2013-0305)
    
    It was discovered that Django incorrectly handled a large number of forms
    when generating formsets. An attacker could use this flaw to cause Django
    to consume memory, resulting in a denial of service. (CVE-2013-0306)
    
    It was discovered that Django incorrectly deserialized XML. An attacker
    could use this flaw to perform entity-expansion and external-entity/DTD
    attacks. This updated modified Django behaviour to no longer allow DTDs,
    perform entity expansion, or fetch external entities/DTDs. (CVE-2013-1664,
    CVE-2013-1665)
    
    Update instructions:
    
    The problem can be corrected by updating your system to the following
    package versions:
    
    Ubuntu 12.10:
      python-django                   1.4.1-2ubuntu0.3
    
    Ubuntu 12.04 LTS:
      python-django                   1.3.1-4ubuntu1.6
    
    Ubuntu 11.10:
      python-django                   1.3-2ubuntu1.6
    
    Ubuntu 10.04 LTS:
      python-django                   1.1.1-2ubuntu1.8
    
    In general, a standard system update will make all the necessary changes.
    
    References:
      http://www.ubuntu.com/usn/usn-1757-1
      CVE-2012-4520, CVE-2013-0305, CVE-2013-0306, CVE-2013-1664,
      CVE-2013-1665
    
    Package Information:
      https://launchpad.net/ubuntu/+source/python-django/1.4.1-2ubuntu0.3
      https://launchpad.net/ubuntu/+source/python-django/1.3.1-4ubuntu1.6
      https://launchpad.net/ubuntu/+source/python-django/1.3-2ubuntu1.6
      https://launchpad.net/ubuntu/+source/python-django/1.1.1-2ubuntu1.8
    
    
    
    You are not authorised to post comments.

    Comments powered by CComment

    LinuxSecurity Poll

    What do you think of the articles on LinuxSecurity?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 3 answer(s).
    /main-polls/24-what-do-you-think-of-the-quality-of-the-articles-on-linuxsecurity?task=poll.vote&format=json
    24
    radio
    [{"id":"87","title":"Excellent, don't change a thing!","votes":"23","type":"x","order":"1","pct":53.49,"resources":[]},{"id":"88","title":"Should be more technical","votes":"5","type":"x","order":"2","pct":11.63,"resources":[]},{"id":"89","title":"Should include more HOWTOs","votes":"15","type":"x","order":"3","pct":34.88,"resources":[]}]["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"]["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"]350
    bottom200

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.