CVE-2024-39323: Aimeos/ai admin graphql Aimeos/ai-admin-graphql Improper Access Control Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-vc7j-99jw-jrqm
CVSS 8.2
CWE-1220 CWE-863
Published
Advisory Summary

CVE-2024-39323 is a HIGH (CVSS 8.2) aimeos/ai-admin-graphql improper access control vulnerability vulnerability (CWE-1220: Insufficient Granularity of Access Control) affecting Aimeos/ai admin graphql libraries in the Packagist ecosystem. The issue involves aimeos/ai-admin-graphql improper access control vulnerability allows an editor to modify admin account. Remediation is available by upgrading affected packages to version 2022.10.10, 2023.10.6, 2024.04.6.

CVE-2024-39323 at a Glance

CVE Identifier CVE-2024-39323
GHSA Identifier GHSA-vc7j-99jw-jrqm
Severity HIGH
CVSS v3.1 Base Score 8.2
CWE Classification CWE-1220: Insufficient Granularity of Access Control
Affected Product Aimeos/ai admin graphql
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 8.2

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:N/S:U/C:N/I:H/A:L).

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

How to Fix CVE-2024-39323

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

aimeos/ai-admin-graphql fixed: 2022.10.10
Upgrade aimeos/ai-admin-graphql to 2022.10.10
aimeos/ai-admin-graphql fixed: 2023.10.6
Upgrade aimeos/ai-admin-graphql to 2023.10.6
aimeos/ai-admin-graphql fixed: 2024.04.6
Upgrade aimeos/ai-admin-graphql to 2024.04.6
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 aimeos/ai-admin-graphql

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-39323, inspect your project dependencies for Aimeos/ai admin graphql:

inspect dependencies for aimeos/ai-admin-graphql

Analyze the terminal output to locate any version of Aimeos/ai admin graphql in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2022.10.10), 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-1220: Insufficient Granularity of Access Control, where the product implements access controls via a policy or other feature with the intention to disable or restrict accesses (reads and/or writes) to assets in a system from untrusted agents. however, implemented access controls lack required granularity, which renders the control policy too broad because it allows accesses from unauthorized agents to the security-sensitive assets. In Aimeos/ai admin graphql, 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

aimeos/ai-admin-graphql is the Aimeos GraphQL API admin interface. Starting in version 2022.04.01 and prior to versions 2022.10.10, 2023.10.6, and 2024.04.6, an improper access control vulnerability allows an editor to modify and take over an admin account in the back end. Versions 2022.10.10, 2023.10.6, and 2024.04.6 fix this issue.

CVE-2024-39323 Affected Aimeos/ai admin graphql Versions

3 component(s)
Fixed Versions:
2022.10.102023.10.62024.04.6
Product / Package Ecosystem Affected Versions Fixed Version
aimeos/ai-admin-graphql
Packagist
≥ 2022.04.1
< 2022.10.10
2022.10.10
aimeos/ai-admin-graphql
Packagist
≥ 2023.04.1
< 2023.10.6
2023.10.6
aimeos/ai-admin-graphql
Packagist
≥ 2024.04.1
< 2024.04.6
2024.04.6

References

Frequently Asked Questions

What is CVE-2024-39323?
CVE-2024-39323 is a security vulnerability in Aimeos/ai admin graphql involving aimeos/ai-admin-graphql improper access control vulnerability allows an editor to modify admin account under CWE-1220: Insufficient Granularity of Access Control.
Which Aimeos/ai admin graphql versions are affected?
Affected versions include releases prior to 2022.10.10, 2023.10.6, 2024.04.6 across affected packages: aimeos/ai-admin-graphql.
What version fixes CVE-2024-39323?
Upgrading to 2022.10.10, 2023.10.6, 2024.04.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is aimeos/ai-admin-graphql affected?
Yes, aimeos/ai-admin-graphql is affected in releases prior to 2022.10.10, 2023.10.6, 2024.04.6. Upgrade your dependency to 2022.10.10, 2023.10.6, 2024.04.6 or later.
What is the CVSS score of CVE-2024-39323?
CVE-2024-39323 has a CVSS v3.1 base score of 8.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L.
What CWE is associated with CVE-2024-39323?
CVE-2024-39323 is classified under CWE-1220: Insufficient Granularity of Access Control (The product implements access controls via a policy or other feature with the intention to disable or restrict accesses (reads and/or writes) to assets in a system from untrusted agents. However, implemented access controls lack required granularity, which renders the control policy too broad because it allows accesses from unauthorized agents to the security-sensitive assets.).
How can I check Packagist dependencies for CVE-2024-39323?
Run the dependency tree command: 'inspect dependencies for aimeos/ai-admin-graphql'. 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-vc7j-99jw-jrqm",
  "modified" : "2024-07-05T17:54:36Z",
  "published" : "2024-07-02T21:20:33Z",
  "aliases" : [ "CVE-2024-39323" ],
  "summary" : "aimeos/ai-admin-graphql improper access control vulnerability allows an editor to modify admin account",
  "details" : "aimeos/ai-admin-graphql is the Aimeos GraphQL API admin interface. Starting in version 2022.04.01 and prior to versions 2022.10.10, 2023.10.6, and 2024.04.6, an improper access control vulnerability allows an editor to modify and take over an admin account in the back end. Versions 2022.10.10, 2023.10.6, and 2024.04.6 fix this issue.\n\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-admin-graphql"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2022.04.1"
      }, {
        "fixed" : "2022.10.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-admin-graphql"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2023.04.1"
      }, {
        "fixed" : "2023.10.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "aimeos/ai-admin-graphql"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2024.04.1"
      }, {
        "fixed" : "2024.04.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-admin-graphql/security/advisories/GHSA-vc7j-99jw-jrqm"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-39323"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-admin-graphql/commit/2d89d98cdcad880a9244b50736b08c1a171379ca"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-admin-graphql/commit/54d6b7cf4530cb3b95f52775c24056c48e6d26e9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aimeos/ai-admin-graphql/commit/787028de0a3ecbf3e9f63ab1454eac99ce7693a9"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/aimeos/ai-admin-graphql"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1220", "CWE-863" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-07-02T21:20:33Z",
    "nvd_published_at" : "2024-07-02T16:15:04Z"
  }
}