logo

Database

Improper authorization control for web services In pimcore/web2print-tools-bundle

Description

Pimcore Web2Print Tools Bundle "Favourite Output Channel Configuration" Missing Function Level Authorization

Summary

The application fails to enforce proper server-side authorization checks on the API endpoint responsible for managing "Favourite Output Channel Configurations." Testing revealed that an authenticated backend user without explicitely lacking permissions for this feature was still able to successfully invoke the endpoint and modify or retrieve these configurations. This violates the principle of least privilege and constitutes a classic example of Broken Access Control (OWASP Top 10 A01:2021). Because authorization is not validated at the function level, any authenticated user can perform actions intended only for privileged roles, leading to horizontal or vertical privilege escalation.

Detail

The backend user without permission was still able to list, create, update "Favourite Output Channel Configuration" item

Step to Reproduce the issue

login as Admin (full permission) and clicked "Favourite Output Channel Configurations" Screenshot 2025-12-10 at 8 52 55 PM Then, captured and saved the request: -List API Screenshot 2025-12-10 at 8 55 49 PM -Create API Screenshot 2025-12-10 at 9 01 46 PM -Update API Screenshot 2025-12-10 at 9 03 00 PM

Next, login a backend user with no permission Screenshot 2025-12-10 at 9 06 12 PM The copy the "Cookie" and "X-Pimcore-Csrf-Token" Screenshot 2025-12-10 at 9 10 47 PM After that, pasted the copied "Cookie" and "X-Pimcore-Csrf-Token" to captured request

    List API Screenshot 2025-12-10 at 9 14 47 PM

    Create API Screenshot 2025-12-10 at 9 16 43 PM

    Update API Screenshot 2025-12-10 at 9 19 00 PM

Impact

Successful exploitation allows low-privileged or standard users to view, create, modify that should be restricted to specific administrative or operational roles. Depending on the sensitivity of these configurations (e.g., routing of alerts, reports, or data streams), an attacker could redirect critical outputs, suppress notifications, insert misleading channels, or gain insight into internal workflows. In regulated environments, this may result in compliance violations, operational disruption, or facilitation of further attacks through reconnaissance.

Mitigation

Update Impact

Minimal update. May introduce new vulnerabilities or breaking changes.

Ecosystem
Package
Affected version
Patched versions

Does your application use this vulnerable software?

During the free trial, our tools assess your application, identify vulnerabilities, and provide recommendations for their remediation.