CVE-2013-4315: Path Traversal

Published Sep 16, 2013
·
Updated

Directory traversal vulnerability in Django 1.4.x before 1.4.7, 1.5.x before 1.5.3, and 1.6.x before 1.6 beta 3 allows remote attackers to read arbitrary files via a file path in the ALLOWEDINCLUDEROOTS setting followed by a .. (dot dot) in a ssi template tag.

Other sources

Directory traversal vulnerability in Django 1.4.x before 1.4.7, 1.5.x before 1.5.3, and 1.6.x before 1.6 beta 3 allows remote attackers to read arbitrary files via a file path in the ALLOWEDINCLUDEROOTS setting followed by a .. (dot dot) in a ssi template tag.

Affected Software

14 affected componentsFixes available
pip/django>=1.5<1.5.3
1.5.3
pip/django>=1.4<1.4.7
1.4.7
djangoproject Django=1.4
djangoproject Django=1.4.1
djangoproject Django=1.4.2
djangoproject Django=1.4.4
djangoproject Django=1.4.5
djangoproject Django=1.4.6
djangoproject Django=1.5
djangoproject Django=1.5-alpha
djangoproject Django=1.5-beta
djangoproject Django=1.5.1
djangoproject Django=1.6-beta1
djangoproject Django=1.6-beta2

Event History

Sep 16, 2013
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
May 17, 2022
Advisory Published
04:56 AM

Frequently Asked Questions

1

What is the severity of CVE-2013-4315?

CVE-2013-4315 has been classified as a medium severity vulnerability due to its potential impact on the application security by allowing unauthorized file access.

2

How do I fix CVE-2013-4315?

To fix CVE-2013-4315, upgrade to Django version 1.4.7, 1.5.3, or any later version.

3

Which versions of Django are affected by CVE-2013-4315?

CVE-2013-4315 affects Django versions 1.4.x before 1.4.7, 1.5.x before 1.5.3, and 1.6.x before 1.6 beta 3.

4

What type of vulnerability is CVE-2013-4315?

CVE-2013-4315 is a directory traversal vulnerability that allows remote attackers to read arbitrary files.

5

What should I do if I can't upgrade Django to fix CVE-2013-4315?

If you cannot upgrade Django, validate the ALLOWED_INCLUDE_ROOTS configuration and restrict access to sensitive files as a temporary mitigation against CVE-2013-4315.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203