CVE-2018-11784 Apache Tomcat Open Redirect vulnerability
Attackers can craft URLs to redirect users to arbitrary external sites via the default servlet, potentially facilitating phishing attacks.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-11784?
CVE-2018-11784 is a medium-severity vulnerability in Apache Tomcat, published on 4 Oct 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
When the default servlet in Apache Tomcat versions 9.0.0.M1 to 9.0.11, 8.5.0 to 8.5.33 and 7.0.23 to 7.0.90 returned a redirect to a directory (e.g. redirecting to '/foo/' when the user requested '/foo') a specially crafted URL could be used to cause the redirect to be generated to any URI of the attackers choice.
Weakness: CWE-601
Which versions are affected by CVE-2018-11784?
6 open source packages ship an affected version, including org.apache.tomcat.embed:tomcat-embed-core. It affects 15 products.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.tomcat.embed:tomcat-embed-core Maven | From 7.0.23 | 7.0.91 |
org.apache.tomcat.embed:tomcat-embed-core Maven | From 7.0.23 | 7.0.91 |
org.apache.tomcat.embed:tomcat-embed-core Maven | From 8.5.0 | 8.5.34 |
org.apache.tomcat.embed:tomcat-embed-core Maven | From 8.5.0 | 8.5.34 |
org.apache.tomcat.embed:tomcat-embed-core Maven | From 9.0.0 | 9.0.12 |
org.apache.tomcat.embed:tomcat-embed-core Maven | From 9.0.0 | 9.0.12 |
Linux distribution packages (34)
tomcat Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-9.el7_6 |
tomcat-admin-webapps Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-9.el7_6 |
tomcat-docs-webapp Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-9.el7_6 |
tomcat-el-2.2-api Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-9.el7_6 |
tomcat-javadoc Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-9.el7_6 |
tomcat-jsp-2.2-api Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-9.el7_6 |
tomcat-jsvc Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-9.el7_6 |
tomcat-lib Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-9.el7_6 |
tomcat-servlet-3.0-api Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-9.el7_6 |
tomcat-webapps Red Hat:enterprise_linux:7::client | All versions | 0:7.0.76-9.el7_6 |
tomcat Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-9.el7_6 |
tomcat-admin-webapps Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-9.el7_6 |
tomcat-docs-webapp Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-9.el7_6 |
tomcat-el-2.2-api Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-9.el7_6 |
tomcat-javadoc Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-9.el7_6 |
tomcat-jsp-2.2-api Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-9.el7_6 |
tomcat-jsvc Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-9.el7_6 |
tomcat-lib Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-9.el7_6 |
tomcat-servlet-3.0-api Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-9.el7_6 |
tomcat-webapps Red Hat:enterprise_linux:7::computenode | All versions | 0:7.0.76-9.el7_6 |
tomcat Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-9.el7_6 |
tomcat-admin-webapps Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-9.el7_6 |
tomcat-docs-webapp Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-9.el7_6 |
tomcat-el-2.2-api Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-9.el7_6 |
tomcat-javadoc Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-9.el7_6 |
tomcat-jsp-2.2-api Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-9.el7_6 |
tomcat-jsvc Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-9.el7_6 |
tomcat-lib Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-9.el7_6 |
tomcat-servlet-3.0-api Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-9.el7_6 |
tomcat-webapps Red Hat:enterprise_linux:7::server | All versions | 0:7.0.76-9.el7_6 |
tomcat Red Hat:enterprise_linux:7::workstation | All versions | 0:7.0.76-9.el7_6 |
tomcat-admin-webapps Red Hat:enterprise_linux:7::workstation | All versions | 0:7.0.76-9.el7_6 |
tomcat-docs-webapp Red Hat:enterprise_linux:7::workstation | All versions | 0:7.0.76-9.el7_6 |
tomcat-el-2.2-api Red Hat:enterprise_linux:7::workstation | All versions | 0:7.0.76-9.el7_6 |
Products include Apache Tomcat, Canonical Ubuntu Linux, Debian Debian Linux, Netapp Snap Creator Framework, Oracle Communications Application Session Controller, Oracle Hospitality Guest Access and 9 more.
How do I fix CVE-2018-11784?
Upgrade org.apache.tomcat.embed:tomcat-embed-core to a fixed version for your release line: 7.0.91, 8.5.34 or 9.0.12.
Is CVE-2018-11784 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-11784 exists.
Public exploit code: 1 Exploit-DB entry, 1 Nuclei template and 1 proofs of concept on GitHub.
Other vulnerabilities in Apache Tomcat
Sources
Also known as DLA-1544-1, DLA-1545-1, GHSA-5q99-f34m-67gc, RHSA-2019:0485, SUSE-SU-2018:3393-1, SUSE-SU-2018:3935-1 and 3 more.