CVE-2020-9472: UmbracoCms Unrestricted Upload Of File With Vulnerability

MODERATE
Advisory Identifier: GHSA-j66f-h9hm-975m
CVSS 6.5
CWE-434
Published
Advisory Summary

CVE-2020-9472 is a MODERATE (CVSS 6.5) unrestricted upload of file with vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting UmbracoCms libraries in the NuGet ecosystem. The issue involves unrestricted upload of file with dangerous type in umbraco cms. Remediation is available by upgrading affected packages to version 8.5.4.

CVE-2020-9472 at a Glance

CVE Identifier CVE-2020-9472
GHSA Identifier GHSA-j66f-h9hm-975m
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-434: Unrestricted Upload of File with Dangerous Type
Affected Product UmbracoCms
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2020-9472

To remediate this vulnerability, upgrade all affected UmbracoCms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

UmbracoCms fixed: 8.5.4
Upgrade UmbracoCms to 8.5.4
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for UmbracoCms

How to Check if You Are Affected

To determine whether your application is affected by CVE-2020-9472, inspect your project dependencies for UmbracoCms:

inspect dependencies for UmbracoCms

Analyze the terminal output to locate any version of UmbracoCms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.5.4), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-434: Unrestricted Upload of File with Dangerous Type, where the product allows the upload or transfer of dangerous file types that are automatically processed within its environment. In UmbracoCms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Umbraco CMS 8.5.3 allows an authenticated file upload (and consequently Remote Code Execution) via the Install Package functionality.

CVE-2020-9472 Affected UmbracoCms Versions

1 component(s)
Fixed Versions:
8.5.4
Product / Package Ecosystem Affected Versions Fixed Version
UmbracoCms
NuGet
< 8.5.4
8.5.4

References

Frequently Asked Questions

What is CVE-2020-9472?
CVE-2020-9472 is a security vulnerability in UmbracoCms involving Unrestricted Upload of File with Dangerous Type in Umbraco CMS under CWE-434: Unrestricted Upload of File with Dangerous Type.
Which UmbracoCms versions are affected?
Affected versions include releases prior to 8.5.4 across affected packages: UmbracoCms.
What version fixes CVE-2020-9472?
Upgrading to 8.5.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is UmbracoCms affected?
Yes, UmbracoCms is affected in releases prior to 8.5.4. Upgrade your dependency to 8.5.4 or later.
What is the CVSS score of CVE-2020-9472?
CVE-2020-9472 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2020-9472?
CVE-2020-9472 is classified under CWE-434: Unrestricted Upload of File with Dangerous Type (The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.).
How can I check NuGet dependencies for CVE-2020-9472?
Run the dependency tree command: 'inspect dependencies for UmbracoCms'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-j66f-h9hm-975m",
  "modified" : "2021-05-04T21:16:07Z",
  "published" : "2021-08-02T17:38:56Z",
  "aliases" : [ "CVE-2020-9472" ],
  "summary" : "Unrestricted Upload of File with Dangerous Type in Umbraco CMS",
  "details" : "Umbraco CMS 8.5.3 allows an authenticated file upload (and consequently Remote Code Execution) via the Install Package functionality.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "UmbracoCms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "8.5.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 8.5.3"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-9472"
  }, {
    "type" : "WEB",
    "url" : "https://gitlab.com/eLeN3Re/cve-2020-9472"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-434" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-05-04T21:16:07Z",
    "nvd_published_at" : "2020-03-16T20:15:00Z"
  }
}