Horizon Alert
Summary of the vulnerability and why it matters
A plugin used for authentication and user provisioning has a flaw that could allow unauthorized access and control of user accounts. This occurs when the system incorrectly handles specific identifiers used for connecting different authentication methods.
- Account takeover due to authentication identifier flaw.
- Affects user management and identity services.
- Confirm if this authentication plugin is in use.
Attack Path
How an attacker could exploit the issue
An authenticated user can exploit an authorization bypass in the SCIM token issuance of the @better-auth/scim plugin. By minting a SCIM token with a provider ID that conflicts with an existing Single Sign-On (SSO) provider, an attacker can manipulate SCIM user routes to access and control other user accounts. This allows for unauthorized actions such as listing, reading, updating, and deleting global user data, potentially leading to a full account takeover.
- Requires authenticated user access.
- Mints SCIM token with colliding provider ID.
- Leads to account takeover and unauthorized actions.
Live Threat
Current exploitation, exposure, and threat context
An authenticated user could exploit this vulnerability to gain unauthorized access to and control over global user accounts and sessions. This could lead to account takeover, unauthorized data modification, or deletion of user accounts and sessions when supported by the advisory.
- Global user accounts and sessions at risk.
- Account takeover and unauthorized deprovisioning.
- Listing, reading, updating, and deleting global user accounts.
Operational Fix
Recommended remediation, mitigation, and detection steps
The @better-auth/scim plugin is likely managed by platform or application teams responsible for identity and access management. The first practical step is to identify all instances of this plugin, determine their reachability and criticality, and identify the accountable owner for each. Remediation planning should then follow, prioritizing critical or exposed systems.
- Platform or application teams own this issue.
- Verify SCIM provider ID configurations.
- Plan remediation during maintenance windows.