CVE-2023-2983: Pimcore/pimcore Pimcore Privilege Defined With Unsafe Vulnerability

MODERATE
Advisory Identifier: GHSA-m4mv-rmr7-h5f5
CVSS 6.5
CWE-267
Published
Advisory Summary

CVE-2023-2983 is a MODERATE (CVSS 6.5) pimcore privilege defined with unsafe vulnerability (CWE-267: Privilege Defined With Unsafe Actions) affecting Pimcore/pimcore libraries in the Packagist ecosystem. The issue involves pimcore privilege defined with unsafe actions vulnerability. Remediation is available by upgrading affected packages to version 10.5.23.

CVE-2023-2983 at a Glance

CVE Identifier CVE-2023-2983
GHSA Identifier GHSA-m4mv-rmr7-h5f5
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-267: Privilege Defined With Unsafe Actions
Affected Product Pimcore/pimcore
Package Ecosystem Packagist
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.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/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 High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2023-2983

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

pimcore/pimcore fixed: 10.5.23
Upgrade pimcore/pimcore to 10.5.23
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 pimcore/pimcore

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-2983, inspect your project dependencies for Pimcore/pimcore:

inspect dependencies for pimcore/pimcore

Analyze the terminal output to locate any version of Pimcore/pimcore in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.5.23), 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-267: Privilege Defined With Unsafe Actions, where a particular privilege, role, capability, or right can be used to perform unsafe actions that were not intended, even when it is assigned to the correct entity. In Pimcore/pimcore, 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 A new user can privilege escalation to admin role which least config ### Patches Update to version 10.5.23 or apply this patches manually https://github.com/pimcore/pimcore/commit/c8f37b19c99cd82e4e558857d3e4d5476ea7228a.patch ### Workarounds Apply patches manually: https://github.com/pimcore/pimcore/commit/c8f37b19c99cd82e4e558857d3e4d5476ea7228a.patch ### References https://huntr.dev/bounties/6b2f33d3-2fd0-4d2d-ad7b-2c1e2417eeb1/

CVE-2023-2983 Affected Pimcore/pimcore Versions

1 component(s)
Fixed Versions:
10.5.23
Product / Package Ecosystem Affected Versions Fixed Version
pimcore/pimcore
Packagist
< 10.5.23
10.5.23

References

Frequently Asked Questions

What is CVE-2023-2983?
CVE-2023-2983 is a security vulnerability in Pimcore/pimcore involving Pimcore Privilege Defined With Unsafe Actions vulnerability under CWE-267: Privilege Defined With Unsafe Actions.
Which Pimcore/pimcore versions are affected?
Affected versions include releases prior to 10.5.23 across affected packages: pimcore/pimcore.
What version fixes CVE-2023-2983?
Upgrading to 10.5.23 (or the latest patched release for your respective branch) resolves the vulnerability.
Is pimcore/pimcore affected?
Yes, pimcore/pimcore is affected in releases prior to 10.5.23. Upgrade your dependency to 10.5.23 or later.
What is the CVSS score of CVE-2023-2983?
CVE-2023-2983 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2023-2983?
CVE-2023-2983 is classified under CWE-267: Privilege Defined With Unsafe Actions (A particular privilege, role, capability, or right can be used to perform unsafe actions that were not intended, even when it is assigned to the correct entity.).
How can I check Packagist dependencies for CVE-2023-2983?
Run the dependency tree command: 'inspect dependencies for pimcore/pimcore'. 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-m4mv-rmr7-h5f5",
  "modified" : "2023-06-06T01:39:48Z",
  "published" : "2023-06-06T01:39:48Z",
  "aliases" : [ "CVE-2023-2983" ],
  "summary" : "Pimcore Privilege Defined With Unsafe Actions vulnerability",
  "details" : "### Impact\nA new user can privilege escalation to admin role which least config\n\n### Patches\nUpdate to version 10.5.23 or apply this patches manually\nhttps://github.com/pimcore/pimcore/commit/c8f37b19c99cd82e4e558857d3e4d5476ea7228a.patch\n\n### Workarounds\nApply patches manually: https://github.com/pimcore/pimcore/commit/c8f37b19c99cd82e4e558857d3e4d5476ea7228a.patch\n\n### References\nhttps://huntr.dev/bounties/6b2f33d3-2fd0-4d2d-ad7b-2c1e2417eeb1/\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "pimcore/pimcore"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "10.5.23"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/pimcore/pimcore/security/advisories/GHSA-m4mv-rmr7-h5f5"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-2983"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pimcore/pimcore/commit/c8f37b19c99cd82e4e558857d3e4d5476ea7228a"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pimcore/pimcore"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.dev/bounties/6b2f33d3-2fd0-4d2d-ad7b-2c1e2417eeb1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-267" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-06-06T01:39:48Z",
    "nvd_published_at" : "2023-05-30T15:15:09Z"
  }
}