id: CVE-2018-11784 info: name: Apache Tomcat - Open Redirect author: geeknik severity: medium description: 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. reference: - https://lists.apache.org/thread.html/23134c9b5a23892a205dc140cdd8c9c0add233600f76b313dda6bd75@%3Cannounce.tomcat.apache.org%3E - https://nvd.nist.gov/vuln/detail/CVE-2018-11784 - http://web.archive.org/web/20210509082244/https://www.securityfocus.com/bid/105524 classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N cvss-score: 4.3 cve-id: CVE-2018-11784 cwe-id: CWE-601 metadata: shodan-query: title:"Apache Tomcat" tags: tomcat,redirect,cve,cve2018,apache requests: - method: GET path: - "{{BaseURL}}//interact.sh" matchers: - type: regex regex: - '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1 part: header # Enhanced by mp on 2022/04/26