PT-2023-3407 · Django+6 · Django+6
Moataz Al-Sharida
+1
·
Publicado
2023-01-03
·
Atualizado
2026-01-03
·
CVE-2023-31047
CVSS v2.0
10
Crítica
| Vetor | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Django versions 3.2 through 3.2.18
Django versions 4.0 through 4.1.8
Django versions 4.2 through 4.2.0
Description
The issue is related to insufficient input validation in the forms.FileField and forms.ImageField components of the Django web application platform. This allows a remote attacker to access confidential data, compromise its integrity, and cause a denial of service. The vulnerability is caused by the ability to bypass validation when using one form field to upload multiple files, which has never been supported by forms.FileField or forms.ImageField. However, Django's documentation suggested otherwise, leading to the vulnerability.
Recommendations
For Django versions 3.2 through 3.2.18, update to version 3.2.19 or later.
For Django versions 4.0 through 4.1.8, update to version 4.1.9 or later.
For Django versions 4.2 through 4.2.0, update to version 4.2.1 or later.
As a temporary workaround, consider disabling the use of forms.FileField and forms.ImageField for multiple file uploads until a patch is available. Restrict access to the
forms.FileField and forms.ImageField components to minimize the risk of exploitation. Avoid using these components for multiple file uploads until the issue is resolved.Correção
RCE
Missing Authorization
Unrestricted File Upload
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Alt Linux
Astra Linux
Django
Linuxmint
Red Os
Rocky Linux
Ubuntu