Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-37334

CVE-2021-37334: Umbraco Forms RCE Vulnerability

CVE-2021-37334 is a remote code execution vulnerability in Umbraco Forms versions 4.0.0 to 8.7.5 that allows attackers to execute arbitrary code via file upload bypass. This article covers technical details, affected versions, and mitigations.

Published: February 25, 2026

CVE-2021-37334 Overview

CVE-2021-37334 is a critical Remote Code Execution (RCE) vulnerability affecting Umbraco Forms, a popular form builder component for the Umbraco CMS platform. The vulnerability exists due to improper file extension validation during the file upload process, where validation occurs after the file has already been stored in a temporary directory. This timing flaw allows attackers to upload malicious files and execute arbitrary code on the server.

The vulnerability is particularly severe because attackers can bypass the default access restrictions by uploading a specially crafted web.config file to the temporary directory, effectively overriding security constraints and enabling the execution of uploaded script files.

Critical Impact

Unauthenticated attackers can achieve remote code execution by uploading malicious script files, potentially leading to complete server compromise, data theft, and arbitrary file deletion.

Affected Products

  • Umbraco Forms version 4.0.0 up to and including 8.7.5
  • Umbraco Forms all versions below 4.0.0 in the 4.x branch
  • All Umbraco CMS installations utilizing vulnerable Forms component versions

Discovery Timeline

  • 2021-07-20 - Umbraco releases security patch
  • 2021-08-25 - CVE-2021-37334 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-37334

Vulnerability Analysis

This vulnerability represents a classic Time-of-Check Time-of-Use (TOCTOU) flaw combined with an unrestricted file upload weakness. The core issue stems from the order of operations during file upload handling in Umbraco Forms. When a user submits a form containing file attachments, the application first stores the uploaded file in a temporary directory located at %BASEDIR%/APP_DATA/TEMP/FileUploads/ before performing any validation on the file extension or content.

While the application relies on the root web.config file to restrict access to the temporary upload directory, this security mechanism can be circumvented. An attacker can exploit this by uploading a custom web.config file to the temporary directory that removes these access restrictions, followed by uploading a malicious script file such as an ASPX webshell.

Root Cause

The root cause lies in the improper sequencing of security controls in the file upload workflow. File extension validation should occur before the file is written to any storage location, not after. By validating extensions post-storage, the application creates a window of opportunity where malicious files exist on the filesystem and can potentially be accessed or executed.

Additionally, the reliance on directory-level web.config inheritance for access control proves insufficient when attackers can introduce their own configuration files that override the parent restrictions.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Identifying a form with file upload functionality on a vulnerable Umbraco installation
  2. Crafting a malicious web.config file that permits script execution and removes access restrictions
  3. Uploading the malicious web.config to the temporary upload directory
  4. Uploading a webshell or malicious ASPX script file to the same directory
  5. Directly accessing the uploaded script file via HTTP to achieve code execution

The exploitation does not require any special privileges, making it accessible to anonymous internet users targeting publicly accessible Umbraco installations.

Detection Methods for CVE-2021-37334

Indicators of Compromise

  • Suspicious files in the APP_DATA/TEMP/FileUploads/ directory, particularly .aspx, .asp, .ashx, or web.config files
  • Unexpected HTTP requests to paths containing /APP_DATA/TEMP/FileUploads/
  • Web server processes spawning unusual child processes (cmd.exe, powershell.exe)
  • New or modified web.config files in non-standard directories
  • IIS worker process (w3wp.exe) executing system commands or network connections

Detection Strategies

  • Monitor file system activity in the Umbraco application directory for creation of executable script files or web.config modifications
  • Implement web application firewall (WAF) rules to detect and block file uploads containing web.config or server-side script extensions
  • Configure endpoint detection to alert on IIS application pool processes spawning shells or command interpreters
  • Analyze HTTP access logs for requests targeting temporary upload directories

Monitoring Recommendations

  • Enable detailed file system auditing on the Umbraco installation directories, particularly the APP_DATA folder hierarchy
  • Configure real-time monitoring for process creation events from IIS worker processes
  • Deploy log aggregation and correlation to identify multi-stage exploitation attempts
  • Implement integrity monitoring on critical application configuration files

How to Mitigate CVE-2021-37334

Immediate Actions Required

  • Upgrade Umbraco Forms to the latest patched version immediately
  • Audit the APP_DATA/TEMP/FileUploads/ directory for any suspicious or unexpected files
  • Review web server logs for evidence of exploitation attempts
  • Implement network segmentation to limit outbound connectivity from web servers
  • Consider temporarily disabling file upload functionality on forms if immediate patching is not possible

Patch Information

Umbraco released security patches on July 20, 2021, addressing this vulnerability. Organizations should upgrade to the patched versions as documented in the Umbraco Security Advisory. Additional pre-release information was provided in the Umbraco Forms Security Patch Advisory.

Workarounds

  • Restrict access to the temporary upload directory via IIS configuration at the server level rather than relying solely on web.config
  • Configure handler mappings to prevent execution of scripts in upload directories
  • Implement strict file type whitelisting at the web server level for the upload paths
  • Use a WAF to block requests containing potentially malicious file extensions destined for upload endpoints
bash
# IIS configuration to deny script execution in upload directories
# Add to applicationHost.config or use IIS Manager
# Location: %windir%\system32\inetsrv\config\applicationHost.config

# Example PowerShell to restrict handler mappings for the upload directory
# Remove script handlers from specific paths
Remove-WebHandler -Name "ExtensionlessUrlHandler-ISAPI-4.0_64bit" -Location "Default Web Site/APP_DATA"
Remove-WebHandler -Name "ASPClassic" -Location "Default Web Site/APP_DATA"
Set-WebConfigurationProperty -Filter "system.webServer/handlers" -Location "Default Web Site/APP_DATA" -Name "accessPolicy" -Value "Read"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechUmbraco Forms

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability1.20%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Vendor Resources
  • Umbraco Security Advisory July 2021

  • Umbraco Forms Security Patch Advisory
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English