Bug 1171928 - (CVE-2020-9484) VUL-0: CVE-2020-9484: tomcat6,tomcat: Remote Code Execution via session persistence
(CVE-2020-9484)
VUL-0: CVE-2020-9484: tomcat6,tomcat: Remote Code Execution via session persi...
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Major
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/259667/
CVSSv3.1:SUSE:CVE-2020-9484:7.5:(AV:N...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-05-20 15:36 UTC by Marcus Meissner
Modified: 2022-02-13 11:48 UTC (History)
5 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Meissner 2020-05-20 15:36:34 UTC
CVE-2020-9484

via oss-sec

CVE-2020-9484 Apache Tomcat Remote Code Execution via session persistence

Severity: High

Vendor: The Apache Software Foundation

Versions Affected:
Apache Tomcat 10.0.0-M1 to 10.0.0-M4
Apache Tomcat 9.0.0.M1 to 9.0.34
Apache Tomcat 8.5.0 to 8.5.54
Apache Tomcat 7.0.0 to 7.0.103

Description:
If:
a) an attacker is able to control the contents and name of a file on the
   server; and
b) the server is configured to use the PersistenceManager with a
   FileStore; and
c) the PersistenceManager is configured with
   sessionAttributeValueClassNameFilter="null" (the default unless a
   SecurityManager is used) or a sufficiently lax filter to allow the
   attacker provided object to be deserialized; and
d) the attacker knows the relative file path from the storage location
   used by FileStore to the file the attacker has control over;
then, using a specifically crafted request, the attacker will be able to
trigger remote code execution via deserialization of the file under
their control. Note that all of conditions a) to d) must be true for the
attack to succeed.

Mitigation:
- Upgrade to Apache Tomcat 10.0.0-M5 or later
- Upgrade to Apache Tomcat 9.0.35 or later
- Upgrade to Apache Tomcat 8.5.55 or later
- Upgrade to Apache Tomcat 7.0.104 or later
Alternatively, users may configure the PersistenceManager with an
appropriate value for sessionAttributeValueClassNameFilter to ensure
that only application provided attributes are serialized and deserialized.

Credit:
This issue was discovered and reported responsibly to the Apache Tomcat
Security Team by report by jarvis threedr3am of pdd security research

References:
[1] http://tomcat.apache.org/security-10.html
[2] http://tomcat.apache.org/security-9.html
[3] http://tomcat.apache.org/security-8.html
[4] http://tomcat.apache.org/security-7.html
Comment 3 Simon Lees 2020-05-21 05:17:09 UTC
(In reply to Marcus Meissner from comment #1)
> fix:
> 
> https://github.com/apache/tomcat/commit/
> bb33048e3f9b4f2b70e4da2e6c4e34ca89023b1b

We still have 9.X atleast in 15.1 so there is a fix for that branch at https://github.com/apache/tomcat/commit/3aa8f28db7efb311cdd1b6fe15a9cd3b167a2222.patch
Comment 9 Swamp Workflow Management 2020-05-21 19:13:03 UTC
SUSE-SU-2020:1365-1: An update that fixes one vulnerability is now available.

Category: security (important)
Bug References: 1171928
CVE References: CVE-2020-9484
Sources used:
SUSE Linux Enterprise Server 12-SP5 (src):    tomcat-9.0.35-3.32.1
SUSE Linux Enterprise Server 12-SP4 (src):    tomcat-9.0.35-3.32.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 10 Swamp Workflow Management 2020-05-21 19:13:53 UTC
SUSE-SU-2020:1363-1: An update that fixes one vulnerability is now available.

Category: security (important)
Bug References: 1171928
CVE References: CVE-2020-9484
Sources used:
SUSE Linux Enterprise Module for Web Scripting 15-SP1 (src):    tomcat-9.0.35-4.30.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 11 Swamp Workflow Management 2020-05-21 19:14:47 UTC
SUSE-SU-2020:1364-1: An update that fixes one vulnerability is now available.

Category: security (important)
Bug References: 1171928
CVE References: CVE-2020-9484
Sources used:
SUSE Linux Enterprise Server for SAP 15 (src):    tomcat-9.0.35-3.52.2
SUSE Linux Enterprise Server 15-LTSS (src):    tomcat-9.0.35-3.52.2
SUSE Linux Enterprise High Performance Computing 15-LTSS (src):    tomcat-9.0.35-3.52.2
SUSE Linux Enterprise High Performance Computing 15-ESPOS (src):    tomcat-9.0.35-3.52.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 12 Swamp Workflow Management 2020-05-22 16:13:11 UTC
SUSE-SU-2020:14375-1: An update that fixes three vulnerabilities is now available.

Category: security (important)
Bug References: 1136085,1159723,1171928
CVE References: CVE-2019-0221,CVE-2019-12418,CVE-2020-9484
Sources used:
SUSE Linux Enterprise Server 11-SP4-LTSS (src):    tomcat6-6.0.53-0.57.16.1
SUSE Linux Enterprise Point of Sale 11-SP3 (src):    tomcat6-6.0.53-0.57.16.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 13 Swamp Workflow Management 2020-05-25 01:14:03 UTC
openSUSE-SU-2020:0711-1: An update that fixes one vulnerability is now available.

Category: security (important)
Bug References: 1171928
CVE References: CVE-2020-9484
Sources used:
openSUSE Leap 15.1 (src):    tomcat-9.0.35-lp151.3.18.1
Comment 14 Marcus Meissner 2020-05-26 10:07:20 UTC
Factory not yet updated. Matei, please update factory and then reassign bug to us.
Comment 17 Vítězslav Čížek 2020-05-28 11:59:32 UTC
All is fixed and released.