SUSE SLES11 Security Update : tomcat6 (SUSE-SU-2021:14705-1)

high Nessus Plugin ID 150565

Language:

Synopsis

The remote SUSE host is missing one or more security updates.

Description

The remote SUSE Linux SLES11 host has packages installed that are affected by multiple vulnerabilities as referenced in the SUSE-SU-2021:14705-1 advisory.

- When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default servlet to false) it was possible to upload a JSP file to the server via a specially crafted request. This JSP could then be requested and any code it contained would be executed by the server. (CVE-2017-12617)

- When serving resources from a network location using the NTFS file system, Apache Tomcat versions 10.0.0-M1 to 10.0.0-M9, 9.0.0.M1 to 9.0.39, 8.5.0 to 8.5.59 and 7.0.0 to 7.0.106 were susceptible to JSP source code disclosure in some configurations. The root cause was the unexpected behaviour of the JRE API File.getCanonicalPath() which in turn was caused by the inconsistent behaviour of the Windows API (FindFirstFileW) in some circumstances. (CVE-2021-24122)

- The fix for CVE-2020-9484 was incomplete. When using Apache Tomcat 10.0.0-M1 to 10.0.0, 9.0.0.M1 to 9.0.41, 8.5.0 to 8.5.61 or 7.0.0. to 7.0.107 with a configuration edge case that was highly unlikely to be used, the Tomcat instance was still vulnerable to CVE-2020-9494. Note that both the previously published prerequisites for CVE-2020-9484 and the previously published mitigations for CVE-2020-9484 also apply to this issue. (CVE-2021-25329)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://bugzilla.suse.com/1059554

https://bugzilla.suse.com/1180947

https://bugzilla.suse.com/1182909

http://www.nessus.org/u?9c22d6e4

https://www.suse.com/security/cve/CVE-2017-12617

https://www.suse.com/security/cve/CVE-2021-24122

https://www.suse.com/security/cve/CVE-2021-25329

Plugin Details

Severity: High

ID: 150565

File Name: suse_SU-2021-14705-1.nasl

Version: 1.7

Type: local

Agent: unix

Published: 6/10/2021

Updated: 1/17/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 9.2

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.9

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

CVSS Score Source: CVE-2017-12617

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.7

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

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

Vulnerability Information

CPE: p-cpe:/a:novell:suse_linux:tomcat6-jsp-2_1-api, p-cpe:/a:novell:suse_linux:tomcat6-lib, p-cpe:/a:novell:suse_linux:tomcat6-servlet-2_5-api, p-cpe:/a:novell:suse_linux:tomcat6-admin-webapps, p-cpe:/a:novell:suse_linux:tomcat6-docs-webapp, p-cpe:/a:novell:suse_linux:tomcat6-javadoc, cpe:/o:novell:suse_linux:11, p-cpe:/a:novell:suse_linux:tomcat6-webapps, p-cpe:/a:novell:suse_linux:tomcat6

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/SuSE/release, Host/SuSE/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/21/2021

Vulnerability Publication Date: 9/21/2017

CISA Known Exploited Vulnerability Due Dates: 4/15/2022

Exploitable With

Core Impact

Metasploit (Tomcat RCE via JSP Upload Bypass)

Elliot (Apache Tomcat for Windows HTTP PUT Method File Upload)

Reference Information

CVE: CVE-2017-12617, CVE-2021-24122, CVE-2021-25329

IAVA: 2018-A-0118-S, 2020-A-0570-S, 2021-A-0114-S

IAVB: 2017-B-0136-S

SuSE: SUSE-SU-2021:14705-1