Description
Pingvin Share X from 0.19.0 before 1.22.0 contains an improper authentication vulnerability that allows remote unauthenticated attackers to take over accounts by abusing automatic OAuth email linking in OAuthService.signUp(). Attackers can register a victim's unverified email on an enabled OAuth/OIDC provider, exploiting the missing email_verified check in GenericOidcProvider, to sign in as the victim including administrators while bypassing TOTP.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| smp46 | pingvin-share-x | 0.19.0 – < 1.22.0 | 1.22.0 |
References
- GitHub Security Advisory (GHSA-wrcg-4874-45p7) vendor-advisory
- Patch Commit patch
- https://github.com/smp46/pingvin-share-x/blob/de7ffecf9bfc4976993149a5c4c98efe35161424/backend/src/oauth/oauth.service.ts#L158-L175 technical-description
- pingvin-share-x v1.22.0 Release Notes release-notes
- https://github.com/smp46/pingvin-share-x product
- VulnCheck Advisory: Pingvin Share X 0.19.0 before 1.22.0 Account Takeover via OAuth Email Linking third-party-advisory