Summary
Lago through 1.55.0 contains an authentication bypass vulnerability that allows organization administrators to obtain session tokens for existing accounts via the acceptInvite mutation without a password check. Attackers can invite a victim's email, accept with an arbitrary password, and receive a JWT to access the victim's organizations, billing data, API keys and payment integrations.
Remediation
References
- Patchhttps://github.com/getlago/lago-api/commit/5a9d5935b027d1db7171c7c015283d5870451305
- Patchhttps://github.com/getlago/lago-api/pull/6146
- Advisoryhttps://abraxaslabs.tech/research/lago-invite-ato
- Advisoryhttps://www.vulncheck.com/advisories/lago-through-1.55.0-authentication-bypass-via-acceptinvite-graphql-mutation
- Referencehttps://github.com/getlago/lago-api
- Referencehttps://github.com/getlago/lago-api/blob/v1.55.0/app/services/invites/accept_service.rb#L15-L16
- Referencehttps://github.com/getlago/lago-api/blob/v1.55.0/app/services/users_service.rb#L89-L98