Intel

AIKIDO-2024-10206

django-downloadview is vulnerable to Reflected File Download

Reflected File Download Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 6, 2024

75

High Risk

This Affects:

pythondjango-downloadview
1.5.0 - 2.3.0
Fixed in 2.4.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to reflected file download on specially named files. ASCII filenames are quoted and should escape sequences in the filename to prevent breaking out of the quoted header value. The UTF-8 version is immune because it's not quoted.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

django-downloadview is vulnerable to Reflected File Download in versions 1.5.0 - 2.3.0.

How to fix this

Upgrade the django-downloadview library to the patch version.