Description
Mixpost through 2.6.0 contains a cross-site request forgery vulnerability in the social account OAuth flow because the Mastodon and Meta providers never generate or verify a state parameter. Attackers can lure a logged-in user to GET /mixpost/callback/{provider} with their own authorization code, connecting the attacker's social account to the victim's workspace.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| inovector | mixpost | 0 ≤2.6.0 | — |
References
- https://github.com/inovector/mixpost/blob/2.6.0/src/Http/Controllers/CallbackSocialProviderController.php#L14-L50
- https://github.com/inovector/mixpost/blob/2.6.0/src/SocialProviders/Mastodon/Concerns/ManagesOAuth.php#L9-L36
- https://www.vulncheck.com/advisories/mixpost-through-2.6.0-csrf-via-oauth-callback-missing-state-validation