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.
CVSS breakdown
Affected products
- apache / Tomcat7.0.0 – 7.0.108
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat10.0.0 – 10.0.0
- apache / Tomcat10.0.0 – 10.0.0
- apache / Tomcat10.0.0 – 10.0.0
- apache / Tomcat10.0.0 – 10.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- apache / Tomcat9.0.0 – 9.0.0
- Canonical / Ubuntu Linux16.04 – 16.04
- Canonical / Ubuntu Linux20.04 – 20.04
- debian / debian_linux9.0 – 9.0
- debian / debian_linux10.0 – 10.0
- debian / debian_linux8.0 – 8.0
- fedoraproject / fedora32 – 32
- fedoraproject / fedora31 – 31
- McAfee / epolicy_orchestrator5.9.0 – 5.9.0
- McAfee / epolicy_orchestrator5.10.0 – 5.10.0
- McAfee / epolicy_orchestrator5.10.0 – 5.10.0
- McAfee / epolicy_orchestrator5.10.0 – 5.10.0
- McAfee / epolicy_orchestrator5.10.0 – 5.10.0
- McAfee / epolicy_orchestrator5.9.1 – 5.9.1
- openSUSE / Leap15.1 – 15.1
- oracle / agile_engineering_data_management6.2.1.0 – 6.2.1.0
- oracle / agile_product_lifecycle_management9.3.3 – 9.3.3
- oracle / agile_product_lifecycle_management9.3.5 – 9.3.5
- oracle / agile_product_lifecycle_management9.3.6 – 9.3.6
- oracle / communications_cloud_native_core_binding_support_function1.10.0 – 1.10.0
- oracle / communications_cloud_native_core_policy1.14.0 – 1.14.0
- oracle / communications_diameter_signaling_router8.0.0.0 – 8.4.0.5
- oracle / communications_element_manager8.2.0 – 8.2.2
- oracle / communications_instant_messaging_server10.0.1.4.0 – 10.0.1.4.0
- oracle / communications_session_report_manager8.2.0 – 8.2.2
- oracle / communications_session_route_manager8.2.0 – 8.2.2
- oracle / database21c – 21c
- oracle / database19c – 19c
- oracle / database12.2.0.1 – 12.2.0.1
- oracle / fmw_platform12.2.1.4.0 – 12.2.1.4.0
- oracle / fmw_platform12.2.1.3.0 – 12.2.1.3.0
- oracle / hospitality_guest_access4.2.0 – 4.2.0
- oracle / hospitality_guest_access4.2.1 – 4.2.1
- oracle / instantis_enterprisetrack17.1 – 17.3
- oracle / managed_file_transfer12.2.1.4.0 – 12.2.1.4.0
- oracle / managed_file_transfer12.2.1.3.0 – 12.2.1.3.0
- oracle / MySQL Enterprise Monitor8.0.21
- oracle / retail_order_broker15.0 – 15.0
- oracle / siebel_apps_-_marketing21.9
- oracle / Siebel UI Framework20.12
- oracle / transportation_management6.3.7 – 6.3.7
- oracle / workload_manager12.2.0.1 – 12.2.0.1
- oracle / workload_manager19c – 19c
- oracle / workload_manager18c – 18c
Exploits & proofs of concept
- nucleiApache Tomcat Remote Command Executionby dwisiswant0
References
- MAILING_LISThttps://lists.apache.org/thread.html/rf70f53af27e04869bdac18b1fc14a3ee529e59eb12292c8791a77926%40%3Cusers.tomcat.apache.org%3E
- MAILING_LISThttps://lists.debian.org/debian-lts-announce/2020/05/msg00020.html
- MAILING_LISThttps://lists.apache.org/thread.html/r26950738f4b4ca2d256597cf391d52d3450fa665c297ea5ca38f5469%40%3Cusers.tomcat.apache.org%3E
- MAILING_LISThttp://lists.opensuse.org/opensuse-security-announce/2020-05/msg00057.html
- MAILING_LISThttps://lists.apache.org/thread.html/r7bc247fffcb1d58415215c861d2354bd653c86266230d78a93c71ae2%40%3Cdev.tomcat.apache.org%3E
- MAILING_LISThttps://lists.debian.org/debian-lts-announce/2020/05/msg00026.html
- MAILING_LISThttp://seclists.org/fulldisclosure/2020/Jun/6
- MISChttps://security.gentoo.org/glsa/202006-21
- MAILING_LISThttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WJ7XHKWJWDNWXUJH6UB7CLIW4TWOZ26N/
- MAILING_LISThttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GIQHXENTLYUNOES4LXVNJ2NCUQQRF5VJ/
- MAILING_LISThttps://lists.apache.org/thread.html/rb1c0fb105ce2b93b7ec6fc1b77dd208022621a91c12d1f580813cfed%40%3Cdev.tomcat.apache.org%3E
- MAILING_LISThttps://lists.debian.org/debian-lts-announce/2020/07/msg00010.html
- VENDOR_ADVISORYhttps://www.oracle.com/security-alerts/cpujul2020.html
- MAILING_LISThttps://lists.apache.org/thread.html/r77eae567ed829da9012cadb29af17f2df8fa23bf66faf88229857bb1%40%3Cannounce.tomcat.apache.org%3E
- MISChttps://security.netapp.com/advisory/ntap-20200528-0005/
- EXPLOIThttp://packetstormsecurity.com/files/157924/Apache-Tomcat-CVE-2020-9484-Proof-Of-Concept.html
- VENDOR_ADVISORYhttps://www.debian.org/security/2020/dsa-4727
- VENDOR_ADVISORYhttps://usn.ubuntu.com/4448-1/
- MAILING_LISThttps://lists.apache.org/thread.html/r123b3ebe389f46f9d337923f393cdae4d3e9b78d982d706712f0898c%40%3Ccommits.tomee.apache.org%3E
- MAILING_LISThttps://lists.apache.org/thread.html/raa4123e472175bb052fbba165d37187cea923f755e8f3f30d124cb3f%40%3Ccommits.tomee.apache.org%3E
- MAILING_LISThttps://lists.apache.org/thread.html/rc8473b08abdf3c16494ed817bec1717a0ee0c8080315bc27db5f21c3%40%3Ccommits.tomee.apache.org%3E
- MAILING_LISThttps://lists.apache.org/thread.html/rf59c72572b9fee674a5d5cc6afeca4ffc3918a02c354a81cc50b7119%40%3Ccommits.tomee.apache.org%3E
- VENDOR_ADVISORYhttps://www.oracle.com/security-alerts/cpuoct2020.html
- MISChttps://kc.mcafee.com/corporate/index?page=content&id=SB10332
- VENDOR_ADVISORYhttps://usn.ubuntu.com/4596-1/
- VENDOR_ADVISORYhttps://www.oracle.com/security-alerts/cpujan2021.html
- MAILING_LISThttps://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf%40%3Cdev.tomcat.apache.org%3E
- MAILING_LISThttps://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf%40%3Cannounce.apache.org%3E
- MAILING_LISThttps://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf%40%3Cusers.tomcat.apache.org%3E
- MAILING_LISThttps://lists.apache.org/thread.html/rf6d5d57b114678d8898005faef31e9fd6d7c981fcc4ccfc3bc272fc9%40%3Cdev.tomcat.apache.org%3E
- MAILING_LISThttps://lists.apache.org/thread.html/rfe62fbf9d4c314f166fe8c668e50e5d9dd882a99447f26f0367474bf%40%3Cannounce.tomcat.apache.org%3E
- MAILING_LISThttp://www.openwall.com/lists/oss-security/2021/03/01/2
- MAILING_LISThttps://lists.apache.org/thread.html/r8dd19c514face6dd85fd4eab0271854883f40c7307926c1f7cd5400c%40%3Ccommits.tomee.apache.org%3E
- VENDOR_ADVISORYhttps://www.oracle.com/security-alerts/cpuApr2021.html
- MAILING_LISThttps://lists.apache.org/thread.html/r8a2ac0e476dbfc1e6440b09dcc782d444ad635d6da26f0284725a5dc%40%3Cusers.tomcat.apache.org%3E
- MAILING_LISThttps://lists.apache.org/thread.html/rb51ccd58b2152fc75125b2406fc93e04ca9d34e737263faa6ff0f41f%40%3Cusers.tomcat.apache.org%3E
- MAILING_LISThttps://lists.apache.org/thread.html/r11ce01e8a4c7269b88f88212f21830edf73558997ac7744f37769b77%40%3Cusers.tomcat.apache.org%3E
- MAILING_LISThttps://lists.apache.org/thread.html/rc1778b38e74b5b6142414d57623bd55b023a72361f422836782fca3c%40%3Cdev.tomcat.apache.org%3E
- VENDOR_ADVISORYhttps://www.oracle.com//security-alerts/cpujul2021.html
- VENDOR_ADVISORYhttps://www.oracle.com/security-alerts/cpuoct2021.html
- VENDOR_ADVISORYhttps://www.oracle.com/security-alerts/cpujan2022.html
- VENDOR_ADVISORYhttps://www.oracle.com/security-alerts/cpujul2022.html