Form validation can be skipped
Package
Affected versions
>= 1.2.0, < 4.3.3
>= 5.0.0, < 5.0.9
>= 5.1.0, < 5.1.3
Patched versions
4.3.3
5.0.9
5.1.3
Description
Reviewed
Jun 21, 2021
Published by the National Vulnerability Database
Jun 21, 2021
Published to the GitHub Advisory Database
Jun 22, 2021
Last updated
Feb 7, 2024
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
neos/form@69de421
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 neos/form@049d415
Original report: https://tickets.neos.io/#ticket/zoom/411 (internal)
References