Description
Pingvin Share X before 1.22.0 contains a rate limit bypass vulnerability that allows unauthenticated remote attackers to evade per-IP throttling because backend/src/main.ts unconditionally trusts proxy headers. Attackers can rotate spoofed X-Forwarded-For values against /api/auth/signIn, /api/auth/signIn/totp, and /api/auth/resetPassword to brute-force passwords and TOTP codes and forge logged client IP addresses.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| smp46 | pingvin-share-x | < 1.22.0 | 1.22.0 |
References
- GitHub Security Advisory (GHSA-7gx2-g6x2-7mjg) vendor-advisory
- https://github.com/smp46/pingvin-share-x/commit/25e9cee7fb1c155300b5663fc5fedeea32d20954 patch
- pingvin-share-x v1.22.0 Release Notes release-notes
- https://github.com/smp46/pingvin-share-x/blob/68ebf191fe1362592ffd5517e662f087e36c10b2/backend/src/main.ts#L57 technical-description
- https://github.com/smp46/pingvin-share-x product
- VulnCheck Advisory: Pingvin Share X before 1.22.0 Rate Limit Bypass via Spoofed X-Forwarded-For third-party-advisory