CVE-2013-4315: Directory traversal with ssi template tag

Bug #1227518 reported by Felix Dreissig
256
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-django (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

"Django's template language includes two methods of including and rendering one template inside another:

The {% include %} tag takes a template name, and uses Django's template loading mechanism (which is restricted to the directories specified in the TEMPLATE_DIRS setting, as with any other normal template load in Django).
The {% ssi %} tag, which takes a file path and includes that file's contents (optionally parsing and rendering it as a template).

Since the ssi tag is not restricted to TEMPLATE_DIRS, it represents a security risk; the setting ALLOWED_INCLUDE_ROOTS thus is required, and specifies filesystem locations from which ssi may read files."

https://www.djangoproject.com/weblog/2013/sep/10/security-releases-issued/

Felix Dreissig (f30)
information type: Private Security → Public Security
Changed in python-django (Ubuntu):
status: New → Confirmed
Revision history for this message
Felix Dreissig (f30) wrote :

This was fixed in one go with #1225784.

Changed in python-django (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.