Skip to content
OpenAdvisories
High · 7.5 CVE-2018-1272 EUVD-2018-0493GHSA-4487-x383-qpph

Possible privilege escalation in org.springframework:spring-core

Published Apr 6, 2018 · Updated Sep 17, 2024 · Assigned by dell

Description

Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported versions, provide client-side support for multipart requests. When Spring MVC or Spring WebFlux server application (server A) receives input from a remote client, and then uses that input to make a multipart request to another server (server B), it can be exposed to an attack, where an extra multipart is inserted in the content of the request from server A, causing server B to use the wrong value for a part it expects. This could to lead privilege escalation, for example, if the part content represents a username or user roles.

Affected products

VendorProductAffectedFixed
Spring by Pivotal Spring Framework Versions prior to 5.0.5 and 4.3.15 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libspring-java 4.3.19-1 —
Debian 13 libspring-java 4.3.19-1 —
Debian 12 libspring-java 4.3.19-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework:spring-core < 4.3.15 4.3.15 GHSA-4487-x383-qpph
Maven org.springframework:spring-core >= 5.0.0, < 5.0.5 5.0.5 GHSA-4487-x383-qpph

Advisories 1

References