Authentication bypass via user-controlled 2FA token
Published Oct 6, 2021 · Updated Aug 4, 2024
Improper authentication in Pterodactyl Panel 1.0.0 through 1.6.1 allows remote attackers to access arbitrary user accounts via crafted 2FA tokens. LoginCheckpointController@__invoke accepts a confirmation_token that can be changed to a numeric cache key, loading another user_id before checking that account's two-factor token. Exploitation requires a target account with 2FA, a valid token that can be brute-forced without rate limiting, and a cache entry that remains valid; successful access can expose or alter that account's panel resources.
Summary
What happened
Improper authentication in Pterodactyl Panel 1.0.0 through 1.6.1 allows remote attackers to access arbitrary user accounts via crafted 2FA tokens. LoginCheckpointController@__invoke accepts a confirmation_token that can be changed to a numeric cache key, loading another user_id before checking that account's two-factor token. Exploitation requires a target account with 2FA, a valid token that can be brute-forced without rate limiting, and a cache entry that remains valid; successful access can expose or alter that account's panel resources.
The record
- CVE
- CVE-2021-41129
- Published
- Oct 6, 2021
- Updated
- Aug 4, 2024
- Vendor
- Pterodactyl
- Product
- Pterodactyl Panel
- Classifications
- CWE-502, CWE-639, CWE-807, CWE-287, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 6, 2021CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 1.0.0, < 1.6.2
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo