CVE-2018-11040
springframework: cross-domain requests via JSONP through AbstractJsonpResponseBodyAdvice
Overview
Description
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-829
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | org.springframework:spring-core | >=5.0.0.RELEASE, <5.0.7.RELEASE>=4.3.0.RELEASE, <4.3.18.RELEASE | 5.0.7.RELEASE4.3.18.RELEASE |
Open a package to see all its vulnerabilities.
Operating systems · 7 fixes
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 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 | 4.3.5-1+deb9u1 |
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/cpuoct2018-4428296.html
- access.redhat.com https://access.redhat.com/security/cve/CVE-2018-11040
- github.com https://github.com/advisories/GHSA-f26x-pr96-vw86
- github.com https://github.com/spring-projects/spring-framework
- github.com https://github.com/spring-projects/spring-framework/commit/874859493bbda59739c38c7e52eb3625f247b93a
- github.com https://github.com/spring-projects/spring-framework/commit/b80c13b722bb207ddf43f53a007ee3ddc1dd2e26
- lists.debian.org https://lists.debian.org/debian-lts-announce/2021/04/msg00022.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-11040
- pivotal.io https://pivotal.io/security/cve-2018-11040
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2018-11040
Show all 16 references
- www.oracle.com https://www.oracle.com/security-alerts/cpujan2020.html
- 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/cpuapr2019-5072813.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.