GHSA-589q-75r3-mfq4

Suggest an improvement
Source
https://github.com/advisories/GHSA-589q-75r3-mfq4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-589q-75r3-mfq4/GHSA-589q-75r3-mfq4.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-589q-75r3-mfq4
Aliases
Published
2022-05-24T17:23:41Z
Modified
2024-02-07T18:48:20.185195Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Silverstripe has Incorrect Default Permissions
Details

SilverStripe 4.5.0 allows attackers to read certain records that should not have been placed into a result set. This affects silverstripe/recipe-cms. The automatic permission-checking mechanism in the silverstripe/graphql module does not provide complete protection against lists that are limited (e.g., through pagination), resulting in records that should have failed a permission check being added to the final result set. GraphQL endpoints are configured by default (e.g., for assets), but the admin/graphql endpoint is access protected by default. This limits the vulnerability to all authenticated users, including those with limited permissions (e.g., where viewing records exposed through admin/graphql requires administrator permissions). However, if custom GraphQL endpoints have been configured for a specific implementation (usually under /graphql), this vulnerability could also be exploited through unauthenticated requests. This vulnerability only applies to reading records; it does not allow unauthorised changing of records.

Database specific
{
    "nvd_published_at": "2020-07-15T21:15:00Z",
    "cwe_ids": [
        "CWE-276"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-20T11:13:08Z"
}
References

Affected packages

Packagist / silverstripe/recipe-cms

Package

Name
silverstripe/recipe-cms
Purl
pkg:composer/silverstripe/recipe-cms

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.5.0
Fixed
4.5.3

Affected versions

4.*

4.5.0
4.5.1
4.5.2

Packagist / silverstripe/graphql

Package

Name
silverstripe/graphql
Purl
pkg:composer/silverstripe/graphql

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.2.0
Fixed
3.2.4

Affected versions

3.*

3.2.0
3.2.1
3.2.2
3.2.3