Debian: DSA-2755-1: python-django security update

    Date11 Sep 2013
    CategoryDebian
    40
    Posted ByLinuxSecurity Advisories
    Rainer Koirikivi discovered a directory traversal vulnerability with 'ssi' template tags in python-django, a high-level Python web development framework.
    
    - -------------------------------------------------------------------------
    Debian Security Advisory DSA-2755-1                   This email address is being protected from spambots. You need JavaScript enabled to view it.
    	
    http://www.debian.org/security/                      Salvatore Bonaccorso
    September 11, 2013                     http://www.debian.org/security/faq
    - -------------------------------------------------------------------------
    
    Package        : python-django
    Vulnerability  : directory traversal
    Problem type   : remote
    Debian-specific: no
    CVE ID         : CVE-2013-4315
    
    Rainer Koirikivi discovered a directory traversal vulnerability with
    'ssi' template tags in python-django, a high-level Python web
    development framework.
    
    It was shown that the handling of the 'ALLOWED_INCLUDE_ROOTS' setting,
    used to represent allowed prefixes for the {% ssi %} template tag, is
    vulnerable to a directory traversal attack, by specifying a file path
    which begins as the absolute path of a directory in
    'ALLOWED_INCLUDE_ROOTS', and then uses relative paths to break free.
    
    To exploit this vulnerability an attacker must be in a position to alter
    templates on the site, or the site to be attacked must have one or more
    templates making use of the 'ssi' tag, and must allow some form of
    unsanitized user input to be used as an argument to the 'ssi' tag.
    
    For the oldstable distribution (squeeze), this problem has been fixed in
    version 1.2.3-3+squeeze7.
    
    For the stable distribution (wheezy), this problem has been fixed in
    version 1.4.5-1+deb7u3.
    
    For the unstable distribution (sid), this problem will be fixed soon.
    
    We recommend that you upgrade your python-django packages.
    
    Further information about Debian Security Advisories, how to apply
    these updates to your system and frequently asked questions can be
    found at: http://www.debian.org/security/
    
    Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.
    
    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":"37","type":"x","order":"1","pct":51.39,"resources":[]},{"id":"88","title":"Should be more technical","votes":"10","type":"x","order":"2","pct":13.89,"resources":[]},{"id":"89","title":"Should include more HOWTOs","votes":"25","type":"x","order":"3","pct":34.72,"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.