Pterodactyl's shared global rate-limit key on login and 2FA checkpoint enables unauthenticated panel-wide authentication lockout (DoS)
Description
Pterodactyl is a free, open-source game server management panel. From 1.7.0 until 1.13.0, the authentication rate limiter defined in RouteServiceProvider::configureRateLimiting() applied a single global bucket to the login and two-factor checkpoint endpoints instead of keying by IP or account: the fall-through Limit::perMinute(10) covering POST /auth/login and POST /auth/login/checkpoint omitted ->by(), so Laravel derived a constant cache key (md5('authentication')) shared by every request. An unauthenticated attacker sending roughly ten requests per minute from a single IP, most cheaply against the checkpoint endpoint (which has no reCAPTCHA), exhausts the shared counter and causes HTTP 429 for every user attempting to log in or complete two-factor authentication, a panel-wide authentication denial of service that also locks out administrators. This issue is fixed in version 1.13.0.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pterodactyl/panelPackagist | >= 1.7.0, < 1.13.0 | 1.13.0 |
Affected products
2- Range: 1.7.0 - 1.13.0
- Range: 1.7.0 - 1.13.0
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-xvc3-826v-xf47ghsaADVISORY
- github.com/pterodactyl/panel/commit/98079a01660a61980fe62a72b2c1d48f99c35a5emitrex_refsource_MISC
- github.com/pterodactyl/panel/releases/tag/v1.13.0mitrex_refsource_MISC
- github.com/pterodactyl/panel/security/advisories/GHSA-xvc3-826v-xf47ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.