GHSA-m5vx-8chx-qvmm
Form validation can be skipped
Quick fix
GHSA-m5vx-8chx-qvmm — neos/form: upgrade to the fixed version with the command below.
composer require neos/form:^4.3.3Details
### Impact By crafting a special `GET` request containing a valid form state, a form can be submitted without invoking any validators. We consider the severity _low_ because it is not possible to _change_ any form values since the form state is secured with an HMAC that is still verified. That means that this issue can only be exploited if Form Finishers cause side effects even if no form values have been sent.
### Patches https://github.com/neos/form/commit/69de4219b1f58157e2be6b05811463875d75c246
### Workarounds Form Finishers can be adjusted in a way that they only execute an action if the submitted form contains some expected data. Alternatively a custom Finisher can be added as first finisher.
### References This regression was introduced with https://github.com/neos/form/commit/049d415295be8d4a0478ccba97dba1bb81649567 Original report: https://tickets.neos.io/#ticket/zoom/411 (internal)
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/neos/form/security/advisories/GHSA-m5vx-8chx-qvmm[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2021-32697[ADVISORY]
- https://github.com/neos/form-ghsa-m5vx-8chx-qvmm/pull/1[WEB]
- https://github.com/neos/form/commit/049d415295be8d4a0478ccba97dba1bb81649567[WEB]
- https://github.com/neos/form/commit/69de4219b1f58157e2be6b05811463875d75c246[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/neos/form/CVE-2021-32697.yaml[WEB]
- https://github.com/neos/form/releases/tag/5.1.3[WEB]