CVE-2020-9484
tomcat: deserialization flaw in session persistence storage leading to RCE
Overview
Description
When using Apache Tomcat versions 10.0.0-M1 to 10.0.0-M4, 9.0.0.M1 to 9.0.34, 8.5.0 to 8.5.54 and 7.0.0 to 7.0.103 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.
Source: OX vulnerability database
Severity
7 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-502
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | tomcat | >=7.0.0, <7.0.108>=8.5.0, <8.5.63>=9.0.1, <9.0.43 | 7.0.1088.5.639.0.43 |
| Maven | org.apache.tomcat:tomcat-catalina | >=10.0.0-M1, <10.0.0-M5>=9.0.0, <9.0.35>=8.0.0, <8.5.55>=7.0.0, <7.0.104 | 10.0.0-M59.0.358.5.557.0.104 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=10.0.0-M1, <10.0.0-M5>=9.0.0, <9.0.35>=8.0.0, <8.5.55>=7.0.0, <7.0.104 | 10.0.0-M59.0.358.5.557.0.104 |
Open a package to see all its vulnerabilities.
Operating systems · 29 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | tomcat +9 | 7.0.76-12.el7_8 |
Red Hat 4 releases · 8 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | opendaylight | eol | — |
| 7 | tomcat-native | 0:1.2.23-22.redhat_22.ep7.el7 | RHSA-2020:2483 |
| 7 | jws5-tomcat-native | 0:1.2.23-5.redhat_5.el7jws | RHSA-2020:2506 |
| 7 | tomcat7 +11 | 0:7.0.70-40.ep7.el7 | RHSA-2020:2483 |
| 7 | tomcat +9 | 0:7.0.76-12.el7_8 | RHSA-2020:2530 |
| 7 | tomcat8 +11 | 0:8.0.36-44.ep7.el7 | RHSA-2020:2483 |
5 more rows
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | tomcat +8 | 9.0.35-3.32.1 | SUSE-SU-2020:1365-1 |
debian 6 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | tomcat9 | 9.0.31-1~deb10u2 |
| 11 | tomcat9 | 9.0.35-1 |
| 12 | tomcat9 | 9.0.35-1 |
| 13 | tomcat9 | 9.0.35-1 |
| 14 | tomcat9 | 9.0.35-1 |
| 9 | tomcat7 | affected |
1 more row
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| tomcat9 | 9.0.35-1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | tomcat10 +10 | 10.1.14-1.1 | openSUSE-SU-2024:13441-1 |
| Tumbleweed | tomcat +10 | 9.0.36-8.4 | openSUSE-SU-2024:11468-1 |
ubuntu 4 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | tomcat9 | 9.0.16-3ubuntu0.18.04.2 |
| 18.04-ESM | tomcat7 | 7.0.78-1ubuntu0.1~esm1 |
| 18.04-ESM | tomcat8 | 8.5.39-1ubuntu1~18.04.3+esm2 |
| 18.04-ESM | tomcat9 | 9.0.16-3ubuntu0.18.04.2 |
| 20.04 | tomcat9 | 9.0.31-1ubuntu0.1 |
| 20.04-ESM | tomcat9 | 9.0.31-1ubuntu0.1 |
References
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00057.html
- mail-archives.apache.org http://mail-archives.apache.org/mod_mbox/tomcat-announce/202005.mbox/%3Ce3a0a517-bf82-ba62-0af6-24b83ea0e4e2%40apache.org%3E
- packetstormsecurity.com http://packetstormsecurity.com/files/157924/Apache-Tomcat-CVE-2020-9484-Proof-Of-Concept.html
- seclists.org http://seclists.org/fulldisclosure/2020/Jun/6
- tomcat.apache.org http://tomcat.apache.org/security-10.html#Fixed_in_Apache_Tomcat_10.0.0-M5
- tomcat.apache.org http://tomcat.apache.org/security-7.html#Fixed_in_Apache_Tomcat_7.0.104
- tomcat.apache.org http://tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.5.55
- tomcat.apache.org http://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.35
- www.openwall.com http://www.openwall.com/lists/oss-security/2021/03/01/2
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-9484
Show all 98 references
- bugzilla.suse.com https://bugzilla.suse.com/show_bug.cgi?id=1171928
- github.com https://github.com/apache/tomcat
- github.com https://github.com/apache/tomcat/commit/3aa8f28db7efb311cdd1b6fe15a9cd3b167a2222 (9.0.35)
- github.com https://github.com/apache/tomcat/commit/3aa8f28db7efb311cdd1b6fe15a9cd3b167a2222.patch
- github.com https://github.com/apache/tomcat/commit/4785433a226a20df6acbea49296e1ce7e23de453
- github.com https://github.com/apache/tomcat/commit/53e30390943c18fca0c9e57dbcc14f1c623cfd06 (7.0.104)
- github.com https://github.com/apache/tomcat/commit/6d66e99ef85da93e4d2c2a536ca51aa3418bfaf4
- github.com https://github.com/apache/tomcat/commit/74b105657ffbd1d1de80455f03446c3bbf30d1f5
- github.com https://github.com/apache/tomcat/commit/93f0cc403a9210d469afc2bd9cf03ab3251c6f35
- github.com https://github.com/apache/tomcat/commit/bb33048e3f9b4f2b70e4da2e6c4e34ca89023b1b
- github.com https://github.com/apache/tomcat/commit/bb33048e3f9b4f2b70e4da2e6c4e34ca89023b1b (10.0.0-M5)
- github.com https://github.com/apache/tomcat/commit/ec08af18d0f9ddca3f2d800ef66fe7fd20afef2f (8.5.55)
- kc.mcafee.com https://kc.mcafee.com/corporate/index?page=content&id=SB10332
- linux.oracle.com https://linux.oracle.com/cve/CVE-2020-9484.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2020-2530.html
- lists.apache.org https://lists.apache.org/thread.html/r11ce01e8a4c7269b88f88212f21830edf73558997ac7744f37769b77%40%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r11ce01e8a4c7269b88f88212f21830edf73558997ac7744f37769b77@%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r123b3ebe389f46f9d337923f393cdae4d3e9b78d982d706712f0898c%40%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r123b3ebe389f46f9d337923f393cdae4d3e9b78d982d706712f0898c@%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r26950738f4b4ca2d256597cf391d52d3450fa665c297ea5ca38f5469%40%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r26950738f4b4ca2d256597cf391d52d3450fa665c297ea5ca38f5469@%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r77eae567ed829da9012cadb29af17f2df8fa23bf66faf88229857bb1%40%3Cannounce.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r7bc247fffcb1d58415215c861d2354bd653c86266230d78a93c71ae2%40%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r7bc247fffcb1d58415215c861d2354bd653c86266230d78a93c71ae2@%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r8a2ac0e476dbfc1e6440b09dcc782d444ad635d6da26f0284725a5dc%40%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r8a2ac0e476dbfc1e6440b09dcc782d444ad635d6da26f0284725a5dc@%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r8dd19c514face6dd85fd4eab0271854883f40c7307926c1f7cd5400c%40%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r8dd19c514face6dd85fd4eab0271854883f40c7307926c1f7cd5400c@%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/raa4123e472175bb052fbba165d37187cea923f755e8f3f30d124cb3f%40%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/raa4123e472175bb052fbba165d37187cea923f755e8f3f30d124cb3f@%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rb1c0fb105ce2b93b7ec6fc1b77dd208022621a91c12d1f580813cfed%40%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rb1c0fb105ce2b93b7ec6fc1b77dd208022621a91c12d1f580813cfed@%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rb51ccd58b2152fc75125b2406fc93e04ca9d34e737263faa6ff0f41f%40%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rb51ccd58b2152fc75125b2406fc93e04ca9d34e737263faa6ff0f41f@%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rc1778b38e74b5b6142414d57623bd55b023a72361f422836782fca3c%40%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rc1778b38e74b5b6142414d57623bd55b023a72361f422836782fca3c@%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rc8473b08abdf3c16494ed817bec1717a0ee0c8080315bc27db5f21c3%40%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rc8473b08abdf3c16494ed817bec1717a0ee0c8080315bc27db5f21c3@%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rf59c72572b9fee674a5d5cc6afeca4ffc3918a02c354a81cc50b7119%40%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rf59c72572b9fee674a5d5cc6afeca4ffc3918a02c354a81cc50b7119@%3Ccommits.tomee.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rf6d5d57b114678d8898005faef31e9fd6d7c981fcc4ccfc3bc272fc9%40%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rf6d5d57b114678d8898005faef31e9fd6d7c981fcc4ccfc3bc272fc9@%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rf70f53af27e04869bdac18b1fc14a3ee529e59eb12292c8791a77926%40%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rf70f53af27e04869bdac18b1fc14a3ee529e59eb12292c8791a77926@%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf%40%3Cannounce.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf%40%3Cannounce.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf%40%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf%40%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf@%3Cannounce.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf@%3Cannounce.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf@%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf@%3Cusers.tomcat.apache.org%3E
- lists.debian.org https://lists.debian.org/debian-lts-announce/2020/05/msg00020.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2020/05/msg00026.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2020/07/msg00010.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GIQHXENTLYUNOES4LXVNJ2NCUQQRF5VJ
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GIQHXENTLYUNOES4LXVNJ2NCUQQRF5VJ/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WJ7XHKWJWDNWXUJH6UB7CLIW4TWOZ26N
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WJ7XHKWJWDNWXUJH6UB7CLIW4TWOZ26N/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GIQHXENTLYUNOES4LXVNJ2NCUQQRF5VJ
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WJ7XHKWJWDNWXUJH6UB7CLIW4TWOZ26N
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-9484
- security.gentoo.org https://security.gentoo.org/glsa/202006-21
- security.netapp.com https://security.netapp.com/advisory/ntap-20200528-0005
- security.netapp.com https://security.netapp.com/advisory/ntap-20200528-0005/
- tomcat.apache.org https://tomcat.apache.org/security-10.html
- tomcat.apache.org https://tomcat.apache.org/security-7.html
- tomcat.apache.org https://tomcat.apache.org/security-8.html
- tomcat.apache.org https://tomcat.apache.org/security-9.html
- ubuntu.com https://ubuntu.com/security/notices/USN-4448-1
- ubuntu.com https://ubuntu.com/security/notices/USN-4596-1
- ubuntu.com https://ubuntu.com/security/notices/USN-5360-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6908-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6943-1
- usn.ubuntu.com https://usn.ubuntu.com/4448-1
- usn.ubuntu.com https://usn.ubuntu.com/4448-1/
- usn.ubuntu.com https://usn.ubuntu.com/4596-1
- usn.ubuntu.com https://usn.ubuntu.com/4596-1/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-9484
- www.debian.org https://www.debian.org/security/2020/dsa-4727
- www.oracle.com https://www.oracle.com//security-alerts/cpujul2021.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuApr2021.html
- www.oracle.com https://www.oracle.com/security-alerts/cpujan2021.html
- www.oracle.com https://www.oracle.com/security-alerts/cpujan2022.html
- www.oracle.com https://www.oracle.com/security-alerts/cpujul2020.html
- www.oracle.com https://www.oracle.com/security-alerts/cpujul2022.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuoct2020.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuoct2021.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.