CVE-2018-1272
spring-framework: Multipart content pollution
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | org.springframework:spring-core | <4.3.15>=5.0.0, <5.0.5 | 4.3.155.0.5 |
| Seal Maven | org.springframework:spring-core | >=3.2.2.RELEASE+sp0, <3.2.2.RELEASE+sp999 | 3.2.2.RELEASE+sp999 |
| Seal Maven | seal.sp1.org.springframework:spring-core | >=3.2.2.RELEASE, <3.2.2.RELEASE+sp999 | 3.2.2.RELEASE+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 8 fixes
Red Hat 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| rhevm-dependencies | wont fix | |
| 7 | opendaylight | wont fix |
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | libspring-java | 4.3.19-1 |
| 12 | libspring-java | 4.3.19-1 |
| 13 | libspring-java | 4.3.19-1 |
| 14 | libspring-java | 4.3.19-1 |
| 9 | libspring-java | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| libspring-java | 4.3.19-1 |
References
- www.oracle.com http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- www.oracle.com http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- www.securityfocus.com http://www.securityfocus.com/bid/103697
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:1320
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:2669
- access.redhat.com https://access.redhat.com/security/cve/CVE-2018-1272
- github.com https://github.com/advisories/GHSA-4487-x383-qpph
- github.com https://github.com/spring-projects/spring-framework/commit/ab2410c754b67902f002bfcc0c3895bd7772d39
- github.com https://github.com/spring-projects/spring-framework/commit/e02ff3a0da50744b0980d5d665fd242eedea767
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-1272
Show all 16 references
- pivotal.io https://pivotal.io/security/cve-2018-1272
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2018-1272
- www.oracle.com https://www.oracle.com/security-alerts/cpujul2020.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuoct2021.html
- www.oracle.com https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- www.oracle.com https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.