Lucene search

K
redhatcveRedhat.comRH:CVE-2018-11040
HistoryOct 17, 2018 - 4:50 a.m.

CVE-2018-11040

2018-10-1704:50:03
redhat.com
access.redhat.com
42

0.003 Low

EPSS

Percentile

66.3%

Spring Framework, versions 5.0.x prior to 5.0.7 and 4.3.x prior to 4.3.18 and older unsupported versions, allows web applications to enable cross-domain requests via JSONP (JSON with Padding) through AbstractJsonpResponseBodyAdvice for REST controllers and MappingJackson2JsonView for browser requests. Both are not enabled by default in Spring Framework nor Spring Boot, however, 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.

Mitigation

According to the upstream advisory, this vulnerability only applies to applications that do all of the following:

  • Explicitly configure MappingJackson2JsonView.
  • Do not set the jsonpParameterNames property of MappingJackson2JsonView to an empty set.
  • Expose sensitive user information over endpoints that can render content with JSONP.