GitHub Advisoryadvisory · Packagist

GHSA-m5vx-8chx-qvmm Form validation can be skipped

MEDIUM Published 2021-06-22 Modified 2021-07-29 Official page ↗
Aliases
CVE-2021-32697
Ecosystem
Packagist
Packages
neos/form
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weaknesses
CWE-20
Reviewed
2021-06-21

Affected packages

• Packagist neos/form: >= 1.2.0, < 4.3.3 → fixed in 4.3.3 • Packagist neos/form: >= 5.0.0, < 5.0.9 → fixed in 5.0.9 • Packagist neos/form: >= 5.1.0, < 5.1.3 → fixed in 5.1.3

Description

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)

Related

Alias · CVE (1)

  • CVE-2021-32697 neos/forms is an open source framework to build web forms. vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References