PT-2026-51020 · Mercator · Mercator
CVSS v4.0
7.1
High
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Mercator versions prior to 2025.05.19
Description
The Query Engine allows authenticated users to execute queries via a JSON DSL (Domain Specific Language), which is a specialized language used to define data queries. The controller method
QueryController::execute() lacks an authorization gate, enabling any authenticated account, including those with read-only Auditor roles, to query models outside their intended scope, such as the User model. Furthermore, the password column is not excluded from filter predicates, allowing it to be used in LIKE conditions. The endpoints '/admin/queries/execute', '/schema()', and '/schemaModel()' are affected. This issue is read-only and does not impact data integrity or availability.Recommendations
Update to version 2025.05.19.
As a temporary workaround, restrict access to the '/admin/queries/execute', '/schema()', and '/schemaModel()' endpoints.
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Mercator