PT-2018-2778 · Spring · Spring Framework

Publicado

2018-06-14

·

Atualizado

2022-06-23

·

CVE-2018-11040

CVSS v3.1

7.5

Alta

VetorAV: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.

Correção

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

BDU:2019-01776
CVE-2018-11040
DLA-2635-1
GHSA-F26X-PR96-VW86

Produtos afetados

Spring Framework