CVE-2022-31041

Open Forms is an application for creating and publishing smart forms. Open Forms supports file uploads as one of the form field types. These fields can be configured to allow only certain file extensions to be uploaded by end users (e.g. only PDF / Excel / ...). The input validation of uploaded files is insufficient in versions prior to 1.0.9 and 1.1.1. Users could alter or strip file extensions to bypass this validation. This results in files being uploaded to the server that are of a different file type than indicated by the file name extension. These files may be downloaded (manually or automatically) by staff and/or other applications for further processing. Malicious files can therefore find their way into internal/trusted networks. Versions 1.0.9 and 1.1.1 contain patches for this issue. As a workaround, an API gateway or intrusion detection solution in front of open-forms may be able to scan for and block malicious content before it reaches the Open Forms application.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:maykinmedia:open_forms:*:*:*:*:*:*:*:*
cpe:2.3:a:maykinmedia:open_forms:1.1.0:-:*:*:*:*:*:*
cpe:2.3:a:maykinmedia:open_forms:1.1.0:rc0:*:*:*:*:*:*
cpe:2.3:a:maykinmedia:open_forms:1.1.0:rc1:*:*:*:*:*:*

History

23 Jun 2022, 18:26

Type Values Removed Values Added
CPE cpe:2.3:a:maykinmedia:open_forms:1.1.0:rc0:*:*:*:*:*:*
cpe:2.3:a:maykinmedia:open_forms:*:*:*:*:*:*:*:*
cpe:2.3:a:maykinmedia:open_forms:1.1.0:rc1:*:*:*:*:*:*
cpe:2.3:a:maykinmedia:open_forms:1.1.0:-:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 4.0
v3 : 6.5
References (CONFIRM) https://github.com/open-formulieren/open-forms/security/advisories/GHSA-h85r-xv4w-cg8g - (CONFIRM) https://github.com/open-formulieren/open-forms/security/advisories/GHSA-h85r-xv4w-cg8g - Third Party Advisory
References (MISC) https://github.com/open-formulieren/open-forms/commit/0978a29e821a7228c5d46c0527c3e925eb91b071 - (MISC) https://github.com/open-formulieren/open-forms/commit/0978a29e821a7228c5d46c0527c3e925eb91b071 - Patch, Third Party Advisory

13 Jun 2022, 13:26

Type Values Removed Values Added
New CVE

Information

Published : 2022-06-13 13:15

Updated : 2024-02-04 22:29


NVD link : CVE-2022-31041

Mitre link : CVE-2022-31041

CVE.ORG link : CVE-2022-31041


JSON object : View

Products Affected

maykinmedia

  • open_forms
CWE
CWE-20

Improper Input Validation

CWE-434

Unrestricted Upload of File with Dangerous Type