CVE-2024-24771
HIGHDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 44% of all known CVEs.
References
Related Vulnerabilities
Other CWE-284 (Improper Access Control) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2023-27350 | Critical | 9.8 | 100% | KEV + Ransom | Fix |
| CVE-2019-1653 | High | 7.5 | 100% | KEV | - |
| CVE-2023-23752 | Medium | 5.3 | 100% | KEV | Fix |
| CVE-2023-29298 | High | 7.5 | 100% | KEV | - |
| CVE-2023-38205 | High | 7.5 | 100% | KEV | - |
| CVE-2024-27348 | Critical | 9.8 | 99% | KEV | Fix |
Embed a live status badge for CVE-2024-24771
Markdown
[](https://tridentstack.com/cve/CVE-2024-24771)HTML
<a href="https://tridentstack.com/cve/CVE-2024-24771"><img src="https://tridentstack.com/cve/badge/CVE-2024-24771.svg" alt="CVE-2024-24771"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.