Vulnerabilities · 2021 · Umbraco
CVE-2021-37334
Umbraco Forms vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Forms. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Umbraco Forms runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Umbraco products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.