GitHub Advisoryadvisory · Maven
GHSA-344f-f5vg-2jfj Potential remote code execution in Apache Tomcat
HIGH
Official page ↗
- Aliases
- CVE-2020-9484
- Ecosystem
- Maven
- Packages
- org.apache.tomcat:tomcat-catalina, org.apache.tomcat.embed:tomcat-embed-core
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-502
- Reviewed
- 2020-05-21
Affected packages
• Maven org.apache.tomcat:tomcat-catalina: >= 10.0.0-M1, < 10.0.0-M5 → fixed in 10.0.0-M5
• Maven org.apache.tomcat:tomcat-catalina: >= 9.0.0, < 9.0.35 → fixed in 9.0.35
• Maven org.apache.tomcat:tomcat-catalina: >= 8.0.0, < 8.5.55 → fixed in 8.5.55
• Maven org.apache.tomcat:tomcat-catalina: >= 7.0.0, < 7.0.104 → fixed in 7.0.104
• Maven org.apache.tomcat.embed:tomcat-embed-core: >= 10.0.0-M1, < 10.0.0-M5 → fixed in 10.0.0-M5
• Maven org.apache.tomcat.embed:tomcat-embed-core: >= 9.0.0, < 9.0.35 → fixed in 9.0.35
• Maven org.apache.tomcat.embed:tomcat-embed-core: >= 8.0.0, < 8.5.55 → fixed in 8.5.55
• Maven org.apache.tomcat.embed:tomcat-embed-core: >= 7.0.0, < 7.0.104 → fixed in 7.0.104
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.
Related
Alias · CVE (1)
- CVE-2020-9484 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… vulnerability
Weakness · CWE (1)
- CWE-502 Deserialization of Untrusted Data weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-9484 advisory
- https://github.com/apache/tomcat/commit/3aa8f28db7efb311cdd1b6fe15a9cd3b167a2222.patch web
- https://github.com/apache/tomcat/commit/4785433a226a20df6acbea49296e1ce7e23de453 web
- https://github.com/apache/tomcat/commit/6d66e99ef85da93e4d2c2a536ca51aa3418bfaf4 web
- https://github.com/apache/tomcat/commit/74b105657ffbd1d1de80455f03446c3bbf30d1f5 web
- https://github.com/apache/tomcat/commit/93f0cc403a9210d469afc2bd9cf03ab3251c6f35 web
- https://github.com/apache/tomcat/commit/bb33048e3f9b4f2b70e4da2e6c4e34ca89023b1b web
- https://www.oracle.com/security-alerts/cpuoct2021.html web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/WJ7XHKWJWDNWXUJH6UB7CLIW4TWOZ26N web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/GIQHXENTLYUNOES4LXVNJ2NCUQQRF5VJ web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WJ7XHKWJWDNWXUJH6UB7CLIW4TWOZ26N web
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GIQHXENTLYUNOES4LXVNJ2NCUQQRF5VJ web
- https://lists.debian.org/debian-lts-announce/2020/07/msg00010.html web
- https://lists.debian.org/debian-lts-announce/2020/05/msg00026.html web
- https://lists.debian.org/debian-lts-announce/2020/05/msg00020.html web
- https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf@%3Cusers.tomcat.apache.org%3E web
- https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf@%3Cdev.tomcat.apache.org%3E web
- https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf@%3Cannounce.tomcat.apache.org%3E web
- https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf@%3Cannounce.apache.org%3E web
- https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf%40%3Cusers.tomcat.apache.org%3E web
- https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf%40%3Cdev.tomcat.apache.org%3E web
- https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf%40%3Cannounce.tomcat.apache.org%3E web
- https://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf%40%3Cannounce.apache.org%3E web
- https://www.oracle.com/security-alerts/cpuoct2020.html web
- https://www.oracle.com/security-alerts/cpujul2022.html web
- https://www.oracle.com/security-alerts/cpujul2020.html web
- https://www.oracle.com/security-alerts/cpujan2022.html web
- https://www.oracle.com/security-alerts/cpujan2021.html web
- https://www.oracle.com/security-alerts/cpuApr2021.html web
- https://www.oracle.com//security-alerts/cpujul2021.html web
- https://www.debian.org/security/2020/dsa-4727 web
- https://usn.ubuntu.com/4596-1 web
- https://usn.ubuntu.com/4448-1 web
- https://tomcat.apache.org/security-9.html web
- https://tomcat.apache.org/security-8.html web
- https://tomcat.apache.org/security-7.html web
- https://tomcat.apache.org/security-10.html web
- https://security.netapp.com/advisory/ntap-20200528-0005 web
- https://security.gentoo.org/glsa/202006-21 web
- https://lists.apache.org/thread.html/r8dd19c514face6dd85fd4eab0271854883f40c7307926c1f7cd5400c@%3Ccommits.tomee.apache.org%3E web