CVE-2024-32872: Umbraco.Workflow Umbraco Workflow's Backoffice Users Can Vulnerability

MODERATE
Advisory Identifier: GHSA-287f-46j7-j4wh
CVSS 5.5
CWE-89
Published
Advisory Summary

CVE-2024-32872 is a MODERATE (CVSS 5.5) umbraco workflow's backoffice users can vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Umbraco.Workflow libraries in the NuGet ecosystem. The issue involves umbraco workflow's backoffice users can execute arbitrary sql. Remediation is available by upgrading affected packages to version 10.3.9, 12.2.6, 13.0.6, 10.1.2.

CVE-2024-32872 at a Glance

CVE Identifier CVE-2024-32872
GHSA Identifier GHSA-287f-46j7-j4wh
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected Product Umbraco.Workflow
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 5.5

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

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

How to Fix CVE-2024-32872

To remediate this vulnerability, upgrade all affected Umbraco.Workflow 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.Workflow fixed: 10.3.9
Upgrade Umbraco.Workflow to 10.3.9
Umbraco.Workflow fixed: 12.2.6
Upgrade Umbraco.Workflow to 12.2.6
Umbraco.Workflow fixed: 13.0.6
Upgrade Umbraco.Workflow to 13.0.6
Plumber.Workflow fixed: 10.1.2
Upgrade Plumber.Workflow to 10.1.2
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.Workflow

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-32872, inspect your project dependencies for Umbraco.Workflow:

inspect dependencies for Umbraco.Workflow

Analyze the terminal output to locate any version of Umbraco.Workflow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.3.9), 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-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Umbraco.Workflow, 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

### Impact Backoffice users can execute arbitrary SQL. ### Explanation of the vulnerability A Backoffice user can modify requests to a particular API endpoint to include SQL which will be executed by the server. ### Affected versions All versions ### Patches Workflow 10.3.9, 12.2.6, 13.0.6, Plumber 10.1.2 ### References [Upgrading Umbraco Workflow](https://docs.umbraco.com/umbraco-workflow/upgrading/upgrading)

CVE-2024-32872 Affected Umbraco.Workflow Versions

4 component(s)
Fixed Versions:
10.3.912.2.613.0.610.1.2
Product / Package Ecosystem Affected Versions Fixed Version
Umbraco.Workflow
NuGet
< 10.3.9
10.3.9
Umbraco.Workflow
NuGet
≥ 11.0.0-rc1
< 12.2.6
12.2.6
Umbraco.Workflow
NuGet
≥ 13.0.0-rc1
< 13.0.6
13.0.6
Plumber.Workflow
NuGet
< 10.1.2
10.1.2

References

Frequently Asked Questions

What is CVE-2024-32872?
CVE-2024-32872 is a security vulnerability in Umbraco.Workflow involving Umbraco Workflow's Backoffice users can execute arbitrary SQL under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection').
Which Umbraco.Workflow versions are affected?
Affected versions include releases prior to 10.3.9, 12.2.6, 13.0.6, 10.1.2 across affected packages: Umbraco.Workflow, Plumber.Workflow.
What version fixes CVE-2024-32872?
Upgrading to 10.3.9, 12.2.6, 13.0.6, 10.1.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Umbraco.Workflow affected?
Yes, Umbraco.Workflow is affected in releases prior to 10.3.9, 12.2.6, 13.0.6. Upgrade your dependency to 10.3.9, 12.2.6, 13.0.6 or later.
Is Plumber.Workflow affected?
Yes, Plumber.Workflow is affected in releases prior to 10.1.2. Upgrade your dependency to 10.1.2 or later.
What is the CVSS score of CVE-2024-32872?
CVE-2024-32872 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N.
What CWE is associated with CVE-2024-32872?
CVE-2024-32872 is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.).
How can I check NuGet dependencies for CVE-2024-32872?
Run the dependency tree command: 'inspect dependencies for Umbraco.Workflow'. 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-287f-46j7-j4wh",
  "modified" : "2024-04-24T17:04:34Z",
  "published" : "2024-04-24T17:04:34Z",
  "aliases" : [ "CVE-2024-32872" ],
  "summary" : "Umbraco Workflow's Backoffice users can execute arbitrary SQL",
  "details" : "### Impact\n\nBackoffice users can execute arbitrary SQL.\n\n### Explanation of the vulnerability\nA Backoffice user can modify requests to a particular API endpoint to include SQL which will be executed by the server.\n\n### Affected versions \nAll versions\n\n### Patches\n\nWorkflow 10.3.9, 12.2.6, 13.0.6, Plumber 10.1.2\n\n### References\n[Upgrading Umbraco Workflow](https://docs.umbraco.com/umbraco-workflow/upgrading/upgrading)\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Workflow"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "10.3.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Workflow"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0-rc1"
      }, {
        "fixed" : "12.2.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Workflow"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "13.0.0-rc1"
      }, {
        "fixed" : "13.0.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Plumber.Workflow"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "10.1.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/umbraco/Umbraco.Workflow.Issues/security/advisories/GHSA-287f-46j7-j4wh"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-32872"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-89" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-24T17:04:34Z",
    "nvd_published_at" : "2024-04-24T15:15:48Z"
  }
}