CVE-2023-37267: Umbraco.Cms.Infrastructure Umbraco Allows Possible Admin-level Access Vulnerability

HIGH
Advisory Identifier: GHSA-h8wc-r4jh-mg7m
CVSS 7.5
CWE-284
Published
Advisory Summary

CVE-2023-37267 is a HIGH (CVSS 7.5) umbraco allows possible admin-level access vulnerability (CWE-284: Improper Access Control) affecting Umbraco.Cms.Infrastructure libraries in the NuGet ecosystem. The issue involves umbraco allows possible admin-level access to backoffice without auth under rare conditions. Remediation is available by upgrading affected packages to version 10.6.1, 11.4.2, 12.0.1.

CVE-2023-37267 at a Glance

CVE Identifier CVE-2023-37267
GHSA Identifier GHSA-h8wc-r4jh-mg7m
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-284: Improper Access Control
Affected Product Umbraco.Cms.Infrastructure
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 7.5

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

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

How to Fix CVE-2023-37267

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

Umbraco.Cms.Infrastructure fixed: 10.6.1
Upgrade Umbraco.Cms.Infrastructure to 10.6.1
Umbraco.Cms.Infrastructure fixed: 11.4.2
Upgrade Umbraco.Cms.Infrastructure to 11.4.2
Umbraco.Cms.Infrastructure fixed: 12.0.1
Upgrade Umbraco.Cms.Infrastructure to 12.0.1
Umbraco.Cms.Web.BackOffice fixed: 10.6.1
Upgrade Umbraco.Cms.Web.BackOffice to 10.6.1
Umbraco.Cms.Web.BackOffice fixed: 11.4.2
Upgrade Umbraco.Cms.Web.BackOffice to 11.4.2
Umbraco.Cms.Web.BackOffice fixed: 12.0.1
Upgrade Umbraco.Cms.Web.BackOffice to 12.0.1
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 Umbraco.Cms.Infrastructure

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-37267, inspect your project dependencies for Umbraco.Cms.Infrastructure:

inspect dependencies for Umbraco.Cms.Infrastructure

Analyze the terminal output to locate any version of Umbraco.Cms.Infrastructure in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.6.1), 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Umbraco.Cms.Infrastructure, 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

Under rare conditions, a restart of Umbraco can allow unauthorized users to gain admin-level permissions. ### Impact An unauthorized user gaining admin-level access and permissions to the backoffice. ### Patches 10.6.1, 11.4.2, 12.0.1 ### Workarounds * Enabling the [Unattended Install](https://docs.umbraco.com/umbraco-cms/reference/configuration/unattendedsettings) feature will mean the vulnerability is not exploitable. * Enabling IP restrictions to `*/install/*` and `*/umbraco/*` will limit the exposure to allowed IP addresses.

CVE-2023-37267 Affected Umbraco.Cms.Infrastructure Versions

6 component(s)
Fixed Versions:
10.6.111.4.212.0.1
Product / Package Ecosystem Affected Versions Fixed Version
Umbraco.Cms.Infrastructure
NuGet
≥ 9.0.0
< 10.6.1
10.6.1
Umbraco.Cms.Infrastructure
NuGet
≥ 11.0.0
< 11.4.2
11.4.2
Umbraco.Cms.Infrastructure
NuGet
≥ 12.0.0
< 12.0.1
All 1 versions
12.0.0
12.0.1
Umbraco.Cms.Web.BackOffice
NuGet
≥ 9.0.0
< 10.6.1
10.6.1
Umbraco.Cms.Web.BackOffice
NuGet
≥ 11.0.0
< 11.4.2
11.4.2
Umbraco.Cms.Web.BackOffice
NuGet
≥ 12.0.0
< 12.0.1
All 1 versions
12.0.0
12.0.1

References

Frequently Asked Questions

What is CVE-2023-37267?
CVE-2023-37267 is a security vulnerability in Umbraco.Cms.Infrastructure involving Umbraco allows possible Admin-level access to backoffice without Auth under rare conditions under CWE-284: Improper Access Control.
Which Umbraco.Cms.Infrastructure versions are affected?
Affected versions include releases prior to 10.6.1, 11.4.2, 12.0.1 across affected packages: Umbraco.Cms.Infrastructure, Umbraco.Cms.Web.BackOffice.
What version fixes CVE-2023-37267?
Upgrading to 10.6.1, 11.4.2, 12.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Umbraco.Cms.Infrastructure affected?
Yes, Umbraco.Cms.Infrastructure is affected in releases prior to 10.6.1, 11.4.2, 12.0.1. Upgrade your dependency to 10.6.1, 11.4.2, 12.0.1 or later.
Is Umbraco.Cms.Web.BackOffice affected?
Yes, Umbraco.Cms.Web.BackOffice is affected in releases prior to 10.6.1, 11.4.2, 12.0.1. Upgrade your dependency to 10.6.1, 11.4.2, 12.0.1 or later.
What is the CVSS score of CVE-2023-37267?
CVE-2023-37267 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2023-37267?
CVE-2023-37267 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check NuGet dependencies for CVE-2023-37267?
Run the dependency tree command: 'inspect dependencies for Umbraco.Cms.Infrastructure'. 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-h8wc-r4jh-mg7m",
  "modified" : "2023-07-13T17:02:07Z",
  "published" : "2023-07-13T17:02:07Z",
  "aliases" : [ "CVE-2023-37267" ],
  "summary" : "Umbraco allows possible Admin-level access to backoffice without Auth under rare conditions",
  "details" : "Under rare conditions, a restart of Umbraco can allow unauthorized users to gain admin-level permissions.\n\n### Impact\nAn unauthorized user gaining admin-level access and permissions to the backoffice.\n\n### Patches\n10.6.1, 11.4.2, 12.0.1\n\n### Workarounds\n* Enabling the [Unattended Install](https://docs.umbraco.com/umbraco-cms/reference/configuration/unattendedsettings) feature will mean the vulnerability is not exploitable.\n* Enabling IP restrictions to `*/install/*` and `*/umbraco/*` will limit the exposure to allowed IP addresses.\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Cms.Infrastructure"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0"
      }, {
        "fixed" : "10.6.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Cms.Infrastructure"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0"
      }, {
        "fixed" : "11.4.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Cms.Infrastructure"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "12.0.0"
      }, {
        "fixed" : "12.0.1"
      } ]
    } ],
    "versions" : [ "12.0.0" ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Cms.Web.BackOffice"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0"
      }, {
        "fixed" : "10.6.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Cms.Web.BackOffice"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0"
      }, {
        "fixed" : "11.4.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Cms.Web.BackOffice"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "12.0.0"
      }, {
        "fixed" : "12.0.1"
      } ]
    } ],
    "versions" : [ "12.0.0" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/umbraco/Umbraco-CMS/security/advisories/GHSA-h8wc-r4jh-mg7m"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-37267"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/umbraco/Umbraco-CMS/commit/1f26f2c6f3428833892cde5c6d8441fb041e410e"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/umbraco/Umbraco-CMS/commit/20a4e475c8d7b91d263e4e103ef19f3644e7b569"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/umbraco/Umbraco-CMS/commit/82eae48d098b9deecbdf86cf288b2b18020e1fed"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/umbraco/Umbraco-CMS"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-13T17:02:07Z",
    "nvd_published_at" : "2023-07-13T14:15:09Z"
  }
}