7.7
HIGH
CVE-2024-24771
Open Forms Multi-Factor Authentication Bypass Vulnerability
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.

INFO

Published Date :

Feb. 7, 2024, 3:15 p.m.

Last Modified :

Feb. 15, 2024, 5:01 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.8

Exploitability Score :

1.3
Affected Products

The following products are affected by CVE-2024-24771 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Maykinmedia open_forms
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-24771.

URL Resource
https://github.com/open-formulieren/open-forms/releases/tag/2.2.9 Release Notes
https://github.com/open-formulieren/open-forms/releases/tag/2.3.7 Release Notes
https://github.com/open-formulieren/open-forms/releases/tag/2.4.5 Release Notes
https://github.com/open-formulieren/open-forms/releases/tag/2.5.2 Release Notes
https://github.com/open-formulieren/open-forms/security/advisories/GHSA-64r3-x3gf-vp63 Mitigation Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-24771 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-24771 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Feb. 15, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
    Changed Reference Type https://github.com/open-formulieren/open-forms/releases/tag/2.2.9 No Types Assigned https://github.com/open-formulieren/open-forms/releases/tag/2.2.9 Release Notes
    Changed Reference Type https://github.com/open-formulieren/open-forms/releases/tag/2.3.7 No Types Assigned https://github.com/open-formulieren/open-forms/releases/tag/2.3.7 Release Notes
    Changed Reference Type https://github.com/open-formulieren/open-forms/releases/tag/2.4.5 No Types Assigned https://github.com/open-formulieren/open-forms/releases/tag/2.4.5 Release Notes
    Changed Reference Type https://github.com/open-formulieren/open-forms/releases/tag/2.5.2 No Types Assigned https://github.com/open-formulieren/open-forms/releases/tag/2.5.2 Release Notes
    Changed Reference Type https://github.com/open-formulieren/open-forms/security/advisories/GHSA-64r3-x3gf-vp63 No Types Assigned https://github.com/open-formulieren/open-forms/security/advisories/GHSA-64r3-x3gf-vp63 Mitigation, Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:maykinmedia:open_forms:*:*:*:*:*:*:*:* versions up to (excluding) 2.2.9 *cpe:2.3:a:maykinmedia:open_forms:*:*:*:*:*:*:*:* versions from (including) 2.3.0 up to (excluding) 2.3.7 *cpe:2.3:a:maykinmedia:open_forms:*:*:*:*:*:*:*:* versions from (including) 2.4.0 up to (excluding) 2.4.5 *cpe:2.3:a:maykinmedia:open_forms:*:*:*:*:*:*:*:* versions from (including) 2.5.0 up to (excluding) 2.5.2
  • CVE Received by [email protected]

    Feb. 07, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference GitHub, Inc. https://github.com/open-formulieren/open-forms/security/advisories/GHSA-64r3-x3gf-vp63 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/open-formulieren/open-forms/releases/tag/2.2.9 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/open-formulieren/open-forms/releases/tag/2.3.7 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/open-formulieren/open-forms/releases/tag/2.4.5 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/open-formulieren/open-forms/releases/tag/2.5.2 [No types assigned]
    Added CWE GitHub, Inc. CWE-287
    Added CWE GitHub, Inc. CWE-284
    Added CWE GitHub, Inc. CWE-654
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-24771 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-24771 weaknesses.

CAPEC-19: Embedding Scripts within Scripts Embedding Scripts within Scripts CAPEC-441: Malicious Logic Insertion Malicious Logic Insertion CAPEC-478: Modification of Windows Service Configuration Modification of Windows Service Configuration CAPEC-479: Malicious Root Certificate Malicious Root Certificate CAPEC-502: Intent Spoof Intent Spoof CAPEC-503: WebView Exposure WebView Exposure CAPEC-536: Data Injected During Configuration Data Injected During Configuration CAPEC-546: Incomplete Data Deletion in a Multi-Tenant Environment Incomplete Data Deletion in a Multi-Tenant Environment CAPEC-550: Install New Service Install New Service CAPEC-551: Modify Existing Service Modify Existing Service CAPEC-552: Install Rootkit Install Rootkit CAPEC-556: Replace File Extension Handlers Replace File Extension Handlers CAPEC-558: Replace Trusted Executable Replace Trusted Executable CAPEC-562: Modify Shared File Modify Shared File CAPEC-563: Add Malicious File to Shared Webroot Add Malicious File to Shared Webroot CAPEC-564: Run Software at Logon Run Software at Logon CAPEC-578: Disable Security Software Disable Security Software CAPEC-22: Exploiting Trust in Client Exploiting Trust in Client CAPEC-57: Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Utilizing REST's Trust in the System Resource to Obtain Sensitive Data CAPEC-94: Adversary in the Middle (AiTM) Adversary in the Middle (AiTM) CAPEC-114: Authentication Abuse Authentication Abuse CAPEC-115: Authentication Bypass Authentication Bypass CAPEC-151: Identity Spoofing Identity Spoofing CAPEC-194: Fake the Source of Data Fake the Source of Data CAPEC-593: Session Hijacking Session Hijacking CAPEC-633: Token Impersonation Token Impersonation CAPEC-650: Upload a Web Shell to a Web Server Upload a Web Shell to a Web Server CAPEC-16: Dictionary-based Password Attack Dictionary-based Password Attack CAPEC-49: Password Brute Forcing Password Brute Forcing CAPEC-55: Rainbow Table Password Cracking Rainbow Table Password Cracking CAPEC-70: Try Common or Default Usernames and Passwords Try Common or Default Usernames and Passwords CAPEC-274: HTTP Verb Tampering HTTP Verb Tampering CAPEC-560: Use of Known Domain Credentials Use of Known Domain Credentials CAPEC-565: Password Spraying Password Spraying CAPEC-600: Credential Stuffing Credential Stuffing CAPEC-652: Use of Known Kerberos Credentials Use of Known Kerberos Credentials CAPEC-653: Use of Known Operating System Credentials Use of Known Operating System Credentials
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.08 }} 0.03%

score

0.30395

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability