CVE-2019-1000011: Api platform/core Incorrect Access Control Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-974j-wjxx-wggj
CVSS 6.5
CWE-284
Published
Advisory Summary

CVE-2019-1000011 is a MODERATE (CVSS 6.5) incorrect access control vulnerability vulnerability (CWE-284: Improper Access Control) affecting Api platform/core libraries in the Packagist ecosystem. The issue involves incorrect access control vulnerability in api-platform/core. Remediation is available by upgrading affected packages to version 2.2.10, 2.3.6.

CVE-2019-1000011 at a Glance

CVE Identifier CVE-2019-1000011
GHSA Identifier GHSA-974j-wjxx-wggj
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-284: Improper Access Control
Affected Product Api platform/core
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:L/UI:N/S:U/C:N/I:H/A:N).

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

How to Fix CVE-2019-1000011

To remediate this vulnerability, upgrade all affected Api platform/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.

api-platform/core fixed: 2.2.10
Upgrade api-platform/core to 2.2.10
api-platform/core fixed: 2.3.6
Upgrade api-platform/core to 2.3.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 api-platform/core

How to Check if You Are Affected

To determine whether your application is affected by CVE-2019-1000011, inspect your project dependencies for Api platform/core:

inspect dependencies for api-platform/core

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

API Platform version from 2.2.0 to 2.3.5 contains an Incorrect Access Control vulnerability in GraphQL delete mutations that can result in a user authorized to delete a resource can delete any resource. This attack appears to be exploitable via the user must be authorized. This vulnerability appears to have been fixed in 2.3.6.

CVE-2019-1000011 Affected Api platform/core Versions

2 component(s)
Fixed Versions:
2.2.102.3.6
Product / Package Ecosystem Affected Versions Fixed Version
api-platform/core
Packagist
≥ 2.2.0
< 2.2.10
2.2.10
api-platform/core
Packagist
≥ 2.3.0
< 2.3.6
2.3.6

References

Frequently Asked Questions

What is CVE-2019-1000011?
CVE-2019-1000011 is a security vulnerability in Api platform/core involving Incorrect Access Control vulnerability in api-platform/core under CWE-284: Improper Access Control.
Which Api platform/core versions are affected?
Affected versions include releases prior to 2.2.10, 2.3.6 across affected packages: api-platform/core.
What version fixes CVE-2019-1000011?
Upgrading to 2.2.10, 2.3.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is api-platform/core affected?
Yes, api-platform/core is affected in releases prior to 2.2.10, 2.3.6. Upgrade your dependency to 2.2.10, 2.3.6 or later.
What is the CVSS score of CVE-2019-1000011?
CVE-2019-1000011 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2019-1000011?
CVE-2019-1000011 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 Packagist dependencies for CVE-2019-1000011?
Run the dependency tree command: 'inspect dependencies for api-platform/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-974j-wjxx-wggj",
  "modified" : "2021-06-11T15:59:46Z",
  "published" : "2019-10-14T21:23:26Z",
  "aliases" : [ "CVE-2019-1000011" ],
  "summary" : "Incorrect Access Control vulnerability in api-platform/core",
  "details" : "API Platform version from 2.2.0 to 2.3.5 contains an Incorrect Access Control vulnerability in GraphQL delete mutations that can result in a user authorized to delete a resource can delete any resource. This attack appears to be exploitable via the user must be authorized. This vulnerability appears to have been fixed in 2.3.6.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "api-platform/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.2.0"
      }, {
        "fixed" : "2.2.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "api-platform/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.3.0"
      }, {
        "fixed" : "2.3.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-1000011"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/api-platform/core/issues/2364"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/api-platform/core/pull/2441"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/api-platform/core/CVE-2019-1000011.yaml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2019-09-25T12:48:16Z",
    "nvd_published_at" : "2019-02-04T21:29:00Z"
  }
}