The vulnerability allows a low-privileged user with 'Reader' role to access sensitive cluster secrets. The analysis of the provided patches identified two main changes to address this issue. The primary fix is in the filterAccess function located in internal/backend/runtime/omni/state_access.go. This function is responsible for authorizing access to various resources. Before the patch, the ImportedClusterSecrets resource, which contains the sensitive CA keys, was accessible to any user with read permissions. The patch introduces a specific check to ensure that only users with the 'Operator' role can access this resource. This directly remediates the reported vulnerability.
A secondary, defense-in-depth mitigation was also introduced: a new controller, ImportedClusterSecretsCleanupController, was added to automatically delete the ImportedClusterSecrets resource after its contents have been used. While this reduces the time window of exposure, the core vulnerability lies in the faulty access control logic within the filterAccess function. Therefore, filterAccess is the key vulnerable function that would be exercised during the exploitation of this vulnerability.