CVE-2024-11717 Business logic in CTFd

Medium 6.3 Published Updated

An on-path attacker can reuse activation or reset tokens to take over user accounts and expose email addresses due to flawed token handling logic.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-11717?

CVE-2024-11717 is a medium-severity vulnerability in CTFd, published on 2 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Tokens in CTFd used for account activation and password resetting can be used interchangeably for these operations. When used, they are sent to the server as a GET parameter and they are not single use, which means, that during token expiration time an on-path attacker might reuse such a token to change user's password and take over the account. Moreover, the tokens also include base64 encoded user email.

This issue impacts releases up to 3.7.4 and was addressed by pull request 2679 https://github.com/CTFd/CTFd/pull/2679  included in 3.7.5 release.

Weakness: CWE-837, CWE-1391

Which versions are affected by CVE-2024-11717?

How do I fix CVE-2024-11717?

No fix has been published for CVE-2024-11717 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-11717 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-11717 exists.

Sources

Also known as GHSA-9w6g-7jpw-87hf.

Is CVE-2024-11717 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free