File Upload Validation Bypass in Django Framework
CVE-2023-31047

9.8CRITICAL

Key Information:

Status
Vendor
CVE Published:
7 May 2023

What is CVE-2023-31047?

In versions of Django prior to 3.2.19 and 4.1.9, the framework allowed users to bypass validation checks when uploading multiple files through form fields designed for single file uploads. This discrepancy stems from misleading documentation that suggested multiple file handling was supported by forms.FileField and forms.ImageField. Consequently, only the last file submitted in a multi-upload instance was subjected to validation checks, posing a potential risk to applications utilizing these features.

References

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2023-31047 : File Upload Validation Bypass in Django Framework