Bugzilla – Bug 1171928
VUL-0: CVE-2020-9484: tomcat6,tomcat: Remote Code Execution via session persistence
Last modified: 2022-02-13 11:48:17 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
fix: https://github.com/apache/tomcat/commit/bb33048e3f9b4f2b70e4da2e6c4e34ca89023b1b
(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
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.
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.
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.
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.
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
Factory not yet updated. Matei, please update factory and then reassign bug to us.
All is fixed and released.