Description
Flame through 2.4.0 contains an insufficient session expiration vulnerability in the login endpoint that allows attackers with former admin access to obtain tokens with arbitrary lifespans by supplying unvalidated duration parameters. Attackers can mint near-permanent administrator tokens that survive password changes, retaining full control of the dashboard since tokens are verified only against a static JWT secret that is never rotated.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
pawelmalak flame
Default version status: unaffected
0 to ≤ 2.4.0affected
References
- https://github.com/pawelmalak/flame/issues/494 ↗
- https://github.com/pawelmalak/flame/blob/v2.4.0/controllers/auth/login.js#L9-L17 ↗
- https://github.com/pawelmalak/flame/blob/v2.4.0/utils/signToken.js#L4 ↗
- https://github.com/pawelmalak/flame/blob/v2.4.0/utils/init/initSecret.js#L8-L25 ↗
- https://github.com/pawelmalak/flame ↗
- https://www.vulncheck.com/advisories/flame-through-2.4.0-admin-token-insufficient-session-expiration ↗