Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Maykinmedia | Open Forms | < 1.0.9 |
Related Weaknesses (CWE)
References
- https://github.com/open-formulieren/open-forms/commit/0978a29e821a7228c5d46c0527PatchThird Party Advisory
- https://github.com/open-formulieren/open-forms/security/advisories/GHSA-h85r-xv4Third Party Advisory
- https://github.com/open-formulieren/open-forms/commit/0978a29e821a7228c5d46c0527PatchThird Party Advisory
- https://github.com/open-formulieren/open-forms/security/advisories/GHSA-h85r-xv4Third Party Advisory
FAQ
What is CVE-2022-31041?
CVE-2022-31041 is a vulnerability with a CVSS score of 7.6 (HIGH). 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 extensi...
How severe is CVE-2022-31041?
CVE-2022-31041 has been rated HIGH with a CVSS base score of 7.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-31041?
Check the references section above for vendor advisories and patch information. Affected products include: Maykinmedia Open Forms.