← Vulnerability feed

Vulnerability record · CVE-2018-11784 · published 4 October 2018

CVE-2018-11784: Apache Tomcat default servlet open redirect on directory requests

Apache · Tomcat

The Apache Tomcat default servlet generated directory redirects (for example '/foo' to '/foo/') using attacker-controllable input, allowing the redirect target to be set to any URI. This is a classic open redirect (CWE-601) affecting Tomcat 9.0.0.M1 to 9.0.11, 8.5.0 to 8.5.33 and 7.0.23 to 7.0.90, and it matters because Tomcat is widely deployed and the redirect can be used to lend a trusted hostname to phishing or credential-harvesting links.

4.3 CVSS 3.0 Medium EPSS 98% · top 0.1% CWE-601 · Open redirect
4.3CVSS 3.0 base score, v2 4.3
98%EPSS exploitation probability, 30 days
NoNot in CISA KEV
15Affected product versions listed by NVD
78References
17 Jun 2026Last modified by NVD

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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

medium priorityCVSS rates it 4.3 (medium) with no confidentiality or availability impact, but the very high EPSS score and broad Tomcat deployment justify prompt patching.

What it is

The Apache Tomcat default servlet generated directory redirects (for example '/foo' to '/foo/') using attacker-controllable input, allowing the redirect target to be set to any URI. This is a classic open redirect (CWE-601) affecting Tomcat 9.0.0.M1 to 9.0.11, 8.5.0 to 8.5.33 and 7.0.23 to 7.0.90, and it matters because Tomcat is widely deployed and the redirect can be used to lend a trusted hostname to phishing or credential-harvesting links.

Impact

An attacker gains the ability to send a victim from a trusted Tomcat-hosted URL to an arbitrary external site. There is no data disclosure or code execution; the impact is limited to integrity of the redirect response and abuse of the site's reputation.

Attack surface

Reachable over the network via HTTP requests to a directory path handled by the default servlet; no authentication is required, but the victim must follow the crafted link (UI:R in the CVSS vector).

Exploitation

Not listed in CISA KEV and no ransomware association is recorded, but EPSS is very high (0.94494, 99.8th percentile) and public proof-of-concept material exists (Packet Storm advisory), indicating active interest even though no in-the-wild exploitation is confirmed by this record.

What to do

  • Upgrade Tomcat to a release after 9.0.11, 8.5.33 or 7.0.90, or apply the vendor fix for your distribution (Red Hat, Debian, Ubuntu, SUSE errata are referenced).
  • If immediate upgrade is not possible, front Tomcat with a reverse proxy that validates or rewrites Location headers on redirect responses.
  • Disable or restrict the default servlet's directory redirect behavior where the application does not rely on it.
  • Review and constrain any application logic that reflects request paths into redirect targets.
  • Educate users about open-redirect phishing links originating from trusted internal hostnames.

Detection

  • Monitor web logs for requests to directory paths without a trailing slash that return 3xx responses with an external Location header.
  • Alert on Location headers in Tomcat responses pointing to domains outside your own.
  • Correlate repeated 302/301 responses to the same client from varied crafted paths, which may indicate scanning or phishing campaign use.
  • Check for the Packet Storm PoC pattern in HTTP request logs against Tomcat default servlet paths.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

15 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00030.html
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00056.html
http://packetstormsecurity.com/files/163456/Apache-Tomcat-9.0.0M1-Open-Redirect.html
http://www.securityfocus.com/bid/105524 Third Party AdvisoryVDB Entry
https://access.redhat.com/errata/RHSA-2019:0130 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:0131 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:0485 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1529
https://kc.mcafee.com/corporate/index?page=content&id=SB10284
https://lists.apache.org/thread.html/1dd0a59c1295cc08ce4c9e7edae5ad2268acc9ba55adcefa0532e5ba%40%3Cdev.tomcat.apache.org
https://lists.apache.org/thread.html/23134c9b5a23892a205dc140cdd8c9c0add233600f76b313dda6bd75%40%3Cannounce.tomcat.apach
https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org
https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org
https://lists.apache.org/thread.html/3d19773b4cf0377db62d1e9328bf9160bf1819f04f988315086931d7%40%3Cdev.tomcat.apache.org
https://lists.apache.org/thread.html/5c0e00fd31efc11e147bf99d0f03c00a734447d3b131ab0818644cdb%40%3Cdev.tomcat.apache.org
https://lists.apache.org/thread.html/6af47120905aa7d8fe12f42e8ff2284fb338ba141d3b77b8c7cb61b3%40%3Cdev.tomcat.apache.org
https://lists.apache.org/thread.html/845312a10aabbe2c499fca94003881d2c79fc993d85f34c1f5c77424%40%3Cdev.tomcat.apache.org
https://lists.apache.org/thread.html/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a%40%3Cdev.tomcat.apache.org
https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org
https://lists.apache.org/thread.html/e85e83e9954f169bbb77b44baae5a33d8de878df557bb32b7f793661%40%3Cdev.tomcat.apache.org
https://lists.apache.org/thread.html/eb6efa8d59c45a7a9eff94c4b925467d3b3fec8ba7697f3daa314b04%40%3Cdev.tomcat.apache.org
https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d%40%3Cdev.tomcat.apache.or
https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0%40%3Cdev.tomcat.apache.or
https://lists.apache.org/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9%40%3Cdev.tomcat.apache.or
https://lists.apache.org/thread.html/r9136ff5b13e4f1941360b5a309efee2c114a14855578c3a2cbe5d19c%40%3Cdev.tomcat.apache.or
https://lists.apache.org/thread.html/raba0fabaf4d56d4325ab2aca8814f0b30a237ab83d8106b115ee279a%40%3Cdev.tomcat.apache.or
https://lists.debian.org/debian-lts-announce/2018/10/msg00005.html Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/10/msg00006.html Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BZ4PX4B3QTKRM35VJAVIEOP
https://seclists.org/bugtraq/2019/Dec/43
https://security.netapp.com/advisory/ntap-20181014-0002/ Third Party Advisory
https://usn.ubuntu.com/3787-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4596
https://www.oracle.com/security-alerts/cpuapr2020.html
https://www.oracle.com/security-alerts/cpujan2020.html
https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html PatchThird Party Advisory
https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html PatchThird Party Advisory
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00030.html

Track CVE-2018-11784 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2018-11784), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.