PT-2018-2778 · Spring · Spring Framework
Published
2018-06-14
·
Updated
2022-06-23
·
CVE-2018-11040
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Spring Framework versions 5.0.x prior to 5.0.7
Spring Framework versions 4.3.x prior to 4.3.18
Spring Framework older unsupported versions
Description
The issue allows web applications to enable cross-domain requests via JSONP (JSON with Padding) through AbstractJsonpResponseBodyAdvice for REST controllers and MappingJackson2JsonView for browser requests. When MappingJackson2JsonView is configured in an application, JSONP support is automatically ready to use through the
jsonp and callback JSONP parameters, enabling cross-domain requests. This could potentially impact the confidentiality of protected information.Recommendations
For Spring Framework versions 5.0.x prior to 5.0.7, update to version 5.0.7 or later.
For Spring Framework versions 4.3.x prior to 4.3.18, update to version 4.3.18 or later.
For Spring Framework older unsupported versions, consider upgrading to a supported version.
As a temporary workaround, consider disabling the MappingJackson2JsonView or restricting access to the
jsonp and callback parameters to minimize the risk of exploitation.Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Spring Framework