CVE-2024-24771
Open Forms potential multi-factor authentication bypass
Mitigation
- Upgrade open-forms to 2.5.2 or later.
Who should check
- Anyone running open-formulieren open-forms < 2.2.9; >= 2.3.0-alpha.0, < 2.3.7; >= 2.4.0-alpha.0, < 2.4.4; >= 2.5.0-alpha.0, < 2.5.2
Vulnerability facts
- Affected
- open-formulieren open-forms < 2.2.9; >= 2.3.0-alpha.0, < 2.3.7; >= 2.4.0-alpha.0, < 2.4.4; >= 2.5.0-alpha.0, < 2.5.2
- Fixed in
- open-formulieren open-forms 2.2.9, open-formulieren open-forms 2.3.7, open-formulieren open-forms 2.4.4, open-formulieren open-forms 2.5.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: High
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.81% chance of exploitation in 30 days (percentile 54, 2026-11-26)
- CWE
- CWE-284, CWE-287, CWE-654
- Modified
Description
Open Forms allows users create and publish smart forms. Versions prior to 2.2.9, 2.3.7, 2.4.5, and 2.5.2 contain a non-exploitable multi-factor authentication weakness. Superusers who have their credentials (username + password) compromised could potentially have the second-factor authentication bypassed if an attacker somehow managed to authenticate to Open Forms. The maintainers of Open Forms do not believe it is or has been possible to perform this login. However, if this were possible, the victim's account may be abused to view (potentially sensitive) submission data or have been used to impersonate other staff accounts to view and/or modify data. Three mitigating factors to help prevent exploitation include: the usual login page (at `/admin/login/`) does not fully log in the user until the second factor was succesfully provided; the additional non-MFA protected login page at `/api/v2/api-authlogin/` was misconfigured and could not be used to log in; and there are no additional ways to log in. This also requires credentials of a superuser to be compromised to be exploitable. Versions 2.2.9, 2.3.7, 2.4.5, and 2.5.2 contain the following patches to address these weaknesses: Move and only enable the API auth endpoints (`/api/v2/api-auth/login/`) with `settings.DEBUG = True`. `settings.DEBUG = True` is insecure and should never be applied in production settings. Additionally, apply a custom permission check to the hijack flow to only allow second-factor-verified superusers to perform user hijacking.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| open-formulieren open-forms | < 2.2.9; >= 2.3.0-alpha.0, < 2.3.7; >= 2.4.0-alpha.0, < 2.4.4; >= 2.5.0-alpha.0, < 2.5.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-24771. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-24771.md Affected: open-formulieren open-forms < 2.2.9; >= 2.3.0-alpha.0, < 2.3.7; >= 2.4.0-alpha.0, < 2.4.4; >= 2.5.0-alpha.0, < 2.5.2 Fixed in: open-formulieren open-forms 2.2.9, open-formulieren open-forms 2.3.7, open-formulieren open-forms 2.4.4, open-formulieren open-forms 2.5.2 Steps: 1. Search this machine and project for open-formulieren open-forms: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2024-24771 being exploited?
There is no confirmed exploitation: CVE-2024-24771 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.81% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-24771?
High: CVSS 7.7 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-24771?
open-formulieren open-forms < 2.2.9; >= 2.3.0-alpha.0, < 2.3.7; >= 2.4.0-alpha.0, < 2.4.4; >= 2.5.0-alpha.0, < 2.5.2.
Is there a fix for CVE-2024-24771?
Yes. Fixed in open-formulieren open-forms 2.2.9, open-formulieren open-forms 2.3.7, open-formulieren open-forms 2.4.4, open-formulieren open-forms 2.5.2. Upgrade open-forms to 2.5.2 or later.
How do I check if I'm affected by CVE-2024-24771?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.