Bug 1636512 (CVE-2018-11784) - CVE-2018-11784 tomcat: Open redirect in default servlet
Summary: CVE-2018-11784 tomcat: Open redirect in default servlet
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-11784
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1636513 1636514 1641873 1641874 1676828 1711342
Blocks: 1636515
TreeView+ depends on / blocked
 
Reported: 2018-10-05 15:00 UTC by Pedro Sampaio
Modified: 2022-03-13 15:41 UTC (History)
81 users (show)

Fixed In Version: tomcat 9.0.12, tomcat 8.5.34, tomcat 7.0.91
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:39:19 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:0130 0 None None None 2019-01-22 13:36:40 UTC
Red Hat Product Errata RHSA-2019:0131 0 None None None 2019-01-22 13:41:23 UTC
Red Hat Product Errata RHSA-2019:0485 0 None None None 2019-03-13 15:50:49 UTC
Red Hat Product Errata RHSA-2019:1529 0 None None None 2019-06-18 17:21:20 UTC

Description Pedro Sampaio 2018-10-05 15:00:38 UTC
A flaw was found in Apache tomcat. When the default servlet 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.

References:

https://lists.apache.org/thread.html/23134c9b5a23892a205dc140cdd8c9c0add233600f76b313dda6bd75@%3Cannounce.tomcat.apache.org%3E

Comment 1 Pedro Sampaio 2018-10-05 15:01:57 UTC
Created tomcat tracking bugs for this issue:

Affects: epel-all [bug 1636514]
Affects: fedora-all [bug 1636513]

Comment 5 Doran Moppert 2018-10-23 04:32:48 UTC
This vulnerability does not affect Tomcat 6.0.24 as Response.sendRedirect() always sends an absolute URL.

Vulnerable versions of Tomcat may not be exploitable under either the following conditions:

 - if org.apache.catalina.STRICT_SERVLET_COMPLIANCE set to true
 - if org.apache.catalina.servlets.DefaultServlet is either:
   - not deployed at all
   - only deployed with Context attribute useRelativeRedirects set to false
   - only deploted with both Context attributes mapperContextRootRedirectEnabled and mapperDirectoryRedirectEnabled are set to false

Comment 8 errata-xmlrpc 2019-01-22 13:36:37 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Web Server

Via RHSA-2019:0130 https://access.redhat.com/errata/RHSA-2019:0130

Comment 9 errata-xmlrpc 2019-01-22 13:41:19 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Web Server 3 for RHEL 6
  Red Hat JBoss Web Server 3 for RHEL 7

Via RHSA-2019:0131 https://access.redhat.com/errata/RHSA-2019:0131

Comment 10 errata-xmlrpc 2019-03-13 15:50:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:0485 https://access.redhat.com/errata/RHSA-2019:0485

Comment 12 Joshua Padman 2019-05-15 22:51:14 UTC
This vulnerability is out of security support scope for the following products:
 * Red Hat JBoss Data Grid 6
 * Red Hat JBoss Data Virtualization & Services 6
 * Red Hat JBoss Fuse 6
 * Red Hat JBoss Fuse Service Works 6

Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.

Comment 13 errata-xmlrpc 2019-06-18 17:21:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2019:1529 https://access.redhat.com/errata/RHSA-2019:1529


Note You need to log in before you can comment on or make changes to this bug.