GHSA-M5VX-8CHX-QVMM
Vulnerability from github – Published: 2021-06-22 15:15 – Updated: 2021-07-29 14:34Impact
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)
{
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "neos/form"
},
"ranges": [
{
"events": [
{
"introduced": "1.2.0"
},
{
"fixed": "4.3.3"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Packagist",
"name": "neos/form"
},
"ranges": [
{
"events": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.0.9"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Packagist",
"name": "neos/form"
},
"ranges": [
{
"events": [
{
"introduced": "5.1.0"
},
{
"fixed": "5.1.3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2021-32697"
],
"database_specific": {
"cwe_ids": [
"CWE-20"
],
"github_reviewed": true,
"github_reviewed_at": "2021-06-21T17:39:52Z",
"nvd_published_at": "2021-06-21T19:15:00Z",
"severity": "MODERATE"
},
"details": "### Impact\nBy crafting a special `GET` request containing a valid form state, a form can be submitted without invoking any validators.\nWe 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.\nThat means that this issue can only be exploited if Form Finishers cause side effects even if no form values have been sent.\n\n### Patches\nhttps://github.com/neos/form/commit/69de4219b1f58157e2be6b05811463875d75c246\n\n### Workarounds\nForm Finishers can be adjusted in a way that they only execute an action if the submitted form contains some expected data.\nAlternatively a custom Finisher can be added as first finisher.\n\n### References\nThis regression was introduced with https://github.com/neos/form/commit/049d415295be8d4a0478ccba97dba1bb81649567\nOriginal report: https://tickets.neos.io/#ticket/zoom/411 (internal)",
"id": "GHSA-m5vx-8chx-qvmm",
"modified": "2021-07-29T14:34:11Z",
"published": "2021-06-22T15:15:08Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/neos/form/security/advisories/GHSA-m5vx-8chx-qvmm"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32697"
},
{
"type": "WEB",
"url": "https://github.com/neos/form-ghsa-m5vx-8chx-qvmm/pull/1"
},
{
"type": "WEB",
"url": "https://github.com/neos/form/commit/049d415295be8d4a0478ccba97dba1bb81649567"
},
{
"type": "WEB",
"url": "https://github.com/neos/form/commit/69de4219b1f58157e2be6b05811463875d75c246"
},
{
"type": "WEB",
"url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/neos/form/CVE-2021-32697.yaml"
},
{
"type": "WEB",
"url": "https://github.com/neos/form/releases/tag/5.1.3"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "Form validation can be skipped"
}
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.