ID:6521 - Exploit for Path traversal in Django - CVE-2021-3281

 
Main Vulnerability Database Exploits ID:6521 - Exploit for Path traversal in Django - CVE-2021-3281

ID:6521 - Exploit for Path traversal in Django - CVE-2021-3281

Published: July 5, 2021


Vulnerability identifier: #VU50172
Vulnerability risk: High
CVE-ID: CVE-2021-3281
CWE-ID: CWE-22
Exploitation vector: Remote access
Vulnerable software:
Django

Link to public exploit:


Vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences inside archives with "django.utils.archive.extract()" function. A remote attacker can pass specially crafted archive to the application and write files to arbitrary directory on the system.


Remediation

Install update from vendor's website.