GHSA-c38c-c8mh-vq68

Suggest an improvement
Source
https://github.com/advisories/GHSA-c38c-c8mh-vq68
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-c38c-c8mh-vq68/GHSA-c38c-c8mh-vq68.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-c38c-c8mh-vq68
Aliases
Published
2024-01-10T15:22:48Z
Modified
2024-01-11T15:46:07.030680Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Pimcore Customer Data Framework Improper Access Control allows unprivileged user to access customers duplicates list
Details

Summary

An authenticated and unauthorized user can access the list of potential duplicate users and see their data.

Details

Permissions do not seem to be enforced when reaching the /admin/customermanagementframework/duplicates/list endpoint allowing an authenticated user without the permissions to access the endpoint and query the data available there. It seems that the access control is not enforced in this place : https://github.com/pimcore/customer-data-framework/blob/b4af625ef327c58d05ef7cdf145fa749d2d4195e/src/Controller/Admin/DuplicatesController.php#L43

PoC

In order to reproduce the issue, the following steps can be followed :

  1. As an administrator : a. Create a role without any permission through Settings → User & Roles → Roles in the administration panel b. Create an user through Settings → User & Roles → Users and assign it the unprivileged role previously created
  2. Log out the current administrator and log in with this new user
  3. Access to the following endpoint https://pimcore_instance/admin/customermanagementframework/duplicates/list and the results will be returned to this unauthorized user

Impact

An unauthorized user can access PII data from customers without being authorized to.

Database specific
{
    "nvd_published_at": "2024-01-11T01:15:45Z",
    "cwe_ids": [
        "CWE-284"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-01-10T15:22:48Z"
}
References

Affected packages

Packagist / pimcore/customer-management-framework-bundle

Package

Name
pimcore/customer-management-framework-bundle
Purl
pkg:composer/pimcore/customer-management-framework-bundle

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.0.6

Affected versions

1.*

1.0.0
1.0.1
1.3.17

v1.*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