Vulnerability Details : CVE-2022-31040
Open Forms is an application for creating and publishing smart forms. Prior to versions 1.0.9 and 1.1.1, the cookie consent page in Open Forms contains an open redirect by injecting a `referer` querystring parameter and failing to validate the value. A malicious actor is able to redirect users to a website under their control, opening them up for phishing attacks. The redirect is initiated by the open forms backend which is a legimate page, making it less obvious to end users they are being redirected to a malicious website. Versions 1.0.9 and 1.1.1 contain patches for this issue. There are no known workarounds avaialble.
Vulnerability category: Open redirect
Exploit prediction scoring system (EPSS) score for CVE-2022-31040
Probability of exploitation activity in the next 30 days: 0.06%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 24 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2022-31040
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|
5.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:N |
8.6
|
4.9
|
nvd@nist.gov |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
nvd@nist.gov |
7.1
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N |
2.8
|
4.2
|
security-advisories@github.com |
CWE ids for CVE-2022-31040
-
A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a Redirect. This simplifies phishing attacks.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2022-31040
-
https://github.com/open-formulieren/open-forms/commit/3e8c9cce386e548765783354694fbb9d7a6ea7d3
Merge pull request from GHSA-c97h-m5qf-j8mf · open-formulieren/open-forms@3e8c9cc · GitHubPatch;Third Party Advisory
-
https://github.com/open-formulieren/open-forms/security/advisories/GHSA-c97h-m5qf-j8mf
URL Redirection to Untrusted Site ('Open Redirect') in open-forms · Advisory · open-formulieren/open-forms · GitHubThird Party Advisory
Products affected by CVE-2022-31040
- cpe:2.3:a:maykinmedia:open_forms:*:*:*:*:*:*:*:*
- cpe:2.3:a:maykinmedia:open_forms:1.10:-:*:*:*:*:*:*
- cpe:2.3:a:maykinmedia:open_forms:1.10:rc0:*:*:*:*:*:*
- cpe:2.3:a:maykinmedia:open_forms:1.10:rc1:*:*:*:*:*:*