CVE-2022-22691: Umbraco.Cms.Core Umbraco Persistent Password Reset Poison Vulnerability

HIGH
Advisory Identifier: GHSA-r8pr-83cc-ccv7
CVSS 7.4
CWE-444 CWE-640
Published
Advisory Summary

CVE-2022-22691 is a HIGH (CVSS 7.4) umbraco persistent password reset poison vulnerability (CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')) affecting Umbraco.Cms.Core libraries in the NuGet ecosystem. The issue involves umbraco persistent password reset poison. Remediation is available by upgrading affected packages to version 9.2.0.

CVE-2022-22691 at a Glance

CVE Identifier CVE-2022-22691
GHSA Identifier GHSA-r8pr-83cc-ccv7
Severity HIGH
CVSS v3.1 Base Score 7.4
CWE Classification CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
Affected Product Umbraco.Cms.Core
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 7.4

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

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

How to Fix CVE-2022-22691

To remediate this vulnerability, upgrade all affected Umbraco.Cms.Core 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.Core fixed: 9.2.0
Upgrade Umbraco.Cms.Core to 9.2.0
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.Core

How to Check if You Are Affected

To determine whether your application is affected by CVE-2022-22691, inspect your project dependencies for Umbraco.Cms.Core:

inspect dependencies for Umbraco.Cms.Core

Analyze the terminal output to locate any version of Umbraco.Cms.Core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.2.0), 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-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling'), where the product acts as an intermediary http agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed http requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination. In Umbraco.Cms.Core, 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

The password reset component deployed within Umbraco uses the hostname supplied within the request host header when building a password reset URL. It may be possible to manipulate the URL sent to Umbraco users when so that it points to the attackers server thereby disclosing the password reset token if/when the link is followed. A related vulnerability (CVE-2022-22690) could allow this flaw to become persistent so that all password reset URLs are affected persistently following a successful attack. See the AppCheck advisory for further information and associated caveats.

CVE-2022-22691 Affected Umbraco.Cms.Core Versions

1 component(s)
Fixed Versions:
9.2.0
Product / Package Ecosystem Affected Versions Fixed Version
Umbraco.Cms.Core
NuGet
< 9.2.0
9.2.0

References

Frequently Asked Questions

What is CVE-2022-22691?
CVE-2022-22691 is a security vulnerability in Umbraco.Cms.Core involving Umbraco Persistent Password Reset Poison under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling').
Which Umbraco.Cms.Core versions are affected?
Affected versions include releases prior to 9.2.0 across affected packages: Umbraco.Cms.Core.
What version fixes CVE-2022-22691?
Upgrading to 9.2.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Umbraco.Cms.Core affected?
Yes, Umbraco.Cms.Core is affected in releases prior to 9.2.0. Upgrade your dependency to 9.2.0 or later.
What is the CVSS score of CVE-2022-22691?
CVE-2022-22691 has a CVSS v3.1 base score of 7.4 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2022-22691?
CVE-2022-22691 is classified under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') (The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination.).
How can I check NuGet dependencies for CVE-2022-22691?
Run the dependency tree command: 'inspect dependencies for Umbraco.Cms.Core'. 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-r8pr-83cc-ccv7",
  "modified" : "2022-01-27T18:26:22Z",
  "published" : "2022-01-21T23:34:27Z",
  "aliases" : [ "CVE-2022-22691" ],
  "summary" : "Umbraco Persistent Password Reset Poison",
  "details" : "The password reset component deployed within Umbraco uses the hostname supplied within the request host header when building a password reset URL. It may be possible to manipulate the URL sent to Umbraco users when so that it points to the attackers server thereby disclosing the password reset token if/when the link is followed. A related vulnerability (CVE-2022-22690) could allow this flaw to become persistent so that all password reset URLs are affected persistently following a successful attack. See the AppCheck advisory for further information and associated caveats.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Cms.Core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "9.2.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-22691"
  }, {
    "type" : "WEB",
    "url" : "https://appcheck-ng.com/umbraco-applicationurl-overwrite-persistent-password-reset-poison-cve-2022-22690-cve-2022-22691"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/umbraco/Umbraco-CMS"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-444", "CWE-640" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-01-19T22:24:13Z",
    "nvd_published_at" : "2022-01-18T17:15:00Z"
  }
}