CVE-2021-37334
JSON

9.8critical

Umbraco Forms version 4.0.0 up to and including 8.7.5 and below are vulnerable to a security flaw that could lead to a remote code executio…

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
2.74% (higher than 87% of CVEs)
Published
Last changed
Assigned by
mitre

Description

Umbraco Forms version 4.0.0 up to and including 8.7.5 and below are vulnerable to a security flaw that could lead to a remote code execution attack and/or arbitrary file deletion. A vulnerability occurs because validation of the file extension is performed after the file has been stored in a temporary directory. By default, files are stored within the application directory structure at %BASEDIR%/APP_DATA/TEMP/FileUploads/. Whilst access to this directory is restricted by the root web.config file, it is possible to override this restriction by uploading another specially crafted web.config file to the temporary directory. It is possible to exploit this flaw to upload a malicious script file to execute arbitrary code and system commands on the server.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
umbraco formsfrom 4.0.0 before 4.4.9, from 6.0.0 before 6.0.10, from 7.0.0 before 7.0.7, from 7.1.0 before 7.1.4, from 7.2.0 before 7.2.1, from 7.3.0 before 7.3.2, from 7.4.0 before 7.4.3, from 7.5.0 before 7.5.4 and 8 moreNVD

All scores

NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.3high CVSS:2.0AV:N/AC:M/Au:N/C:C/I:C/A:C

What each source says

CVE List

Umbraco Forms version 4.0.0 up to and including 8.7.5 and below are vulnerable to a security flaw that could lead to a remote code execution attack and/or arbitrary file deletion. A vulnerability occurs because validation of the file extension is performed after the file has been stored in a temporary directory. By default, files are stored within the application directory structure at %BASEDIR%/APP_DATA/TEMP/FileUploads/. Whilst access to this directory is restricted by the root web.config file, it is possible to override this restriction by uploading another specially crafted web.config file to the temporary directory. It is possible to exploit this flaw to upload a malicious script file to execute arbitrary code and system commands on the server.

NVD (es)

Las versiones de Umbraco Forms 4.0.0 hasta la 8.7.5 e inferiores son vulnerables a un fallo de seguridad que podría dar lugar a un ataque de ejecución remota de código y/o eliminación arbitraria de archivos. La vulnerabilidad se produce porque la validación de la extensión del archivo se realiza después de que el archivo se haya almacenado en un directorio temporal. Por defecto, los archivos se almacenan dentro de la estructura de directorios de la aplicación en %BASEDIR%/APP_DATA/TEMP/FileUploads/. Aunque el acceso a este directorio está restringido por el archivo web.config raíz, es posible anular esta restricción cargando otro archivo web.config especialmente diseñado en el directorio temporal. Es posible explotar este fallo para subir un archivo de script malicioso para ejecutar código arbitrario y comandos del sistema en el servidor

References

Sources

SourceRecordLicence
CVE ListCVE-2021-37334 changed 2024-08-04CVE Terms of Use
NVDCVE-2021-37334 changed 2026-06-17Public domain