Debian DLA-2635-1 : libspring-java security update

critical Nessus Plugin ID 149004

Synopsis

The remote Debian host is missing a security update.

Description

Multiple vulnerabilities were discovered in libspring-java, a modular Java/J2EE application framework. An attacker may execute code, perform XST attack, issue unauthorized cross-domain requests or cause a DoS (denial of service) in specific configurations.

CVE-2018-1270

Spring Framework allows applications to expose STOMP over WebSocket endpoints with a simple, in-memory STOMP broker through the spring-messaging module. A malicious user (or attacker) can craft a message to the broker that can lead to a remote code execution attack.

CVE-2018-11039

Spring Framework allows web applications to change the HTTP request method to any HTTP method (including TRACE) using the HiddenHttpMethodFilter in Spring MVC. If an application has a pre-existing XSS vulnerability, a malicious user (or attacker) can use this filter to escalate to an XST (Cross Site Tracing) attack.

CVE-2018-11040

Spring Framework 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.

CVE-2018-15756

Spring Framework provides support for range requests when serving static resources through the ResourceHttpRequestHandler, or starting in 5.0 when an annotated controller returns an org.springframework.core.io.Resource. A malicious user (or attacker) can add a range header with a high number of ranges, or with wide ranges that overlap, or both, for a denial of service attack.

For Debian 9 stretch, these problems have been fixed in version 4.3.5-1+deb9u1.

We recommend that you upgrade your libspring-java packages.

For the detailed security status of libspring-java please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/libspring-java

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

https://lists.debian.org/debian-lts-announce/2021/04/msg00022.html

https://packages.debian.org/source/stretch/libspring-java

http://www.nessus.org/u?6bb4a348

Plugin Details

Severity: Critical

ID: 149004

File Name: debian_DLA-2635.nasl

Version: 1.6

Type: local

Agent: unix

Published: 4/27/2021

Updated: 1/12/2024

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2018-1270

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libspring-aop-java, p-cpe:/a:debian:debian_linux:libspring-beans-java, p-cpe:/a:debian:debian_linux:libspring-context-java, p-cpe:/a:debian:debian_linux:libspring-context-support-java, p-cpe:/a:debian:debian_linux:libspring-core-java, p-cpe:/a:debian:debian_linux:libspring-expression-java, p-cpe:/a:debian:debian_linux:libspring-instrument-java, p-cpe:/a:debian:debian_linux:libspring-jdbc-java, p-cpe:/a:debian:debian_linux:libspring-jms-java, p-cpe:/a:debian:debian_linux:libspring-messaging-java, p-cpe:/a:debian:debian_linux:libspring-orm-java, p-cpe:/a:debian:debian_linux:libspring-oxm-java, p-cpe:/a:debian:debian_linux:libspring-test-java, p-cpe:/a:debian:debian_linux:libspring-transaction-java, p-cpe:/a:debian:debian_linux:libspring-web-java, p-cpe:/a:debian:debian_linux:libspring-web-portlet-java, p-cpe:/a:debian:debian_linux:libspring-web-servlet-java, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/23/2021

Vulnerability Publication Date: 4/6/2018

Reference Information

CVE: CVE-2018-11039, CVE-2018-11040, CVE-2018-1270, CVE-2018-15756