id: CVE-2018-17422 info: name: dotCMS < 5.0.2 - Open Redirect author: 0x_Akoko,daffainfo severity: medium description: | dotCMS before 5.0.2 has open redirects via the html/common/forward_js.jsp FORWARD_URL parameter or the html/portlet/ext/common/page_preview_popup.jsp hostname parameter. reference: - https://github.com/dotCMS/core/issues/15286 - https://www.cvedetails.com/cve/CVE-2018-17422 classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2018-17422 cwe-id: CWE-601 metadata: shodan-query: http.title:"dotCMS" verified: "true" tags: cve,cve2018,redirect,dotcms requests: - method: GET path: - '{{BaseURL}}/html/common/forward_js.jsp?FORWARD_URL=http://www.example.com' - '{{BaseURL}}/html/portlet/ext/common/page_preview_popup.jsp?hostname=example.com' stop-at-first-match: true matchers-condition: and matchers: - type: word part: body words: - "self.location = 'http://www.example.com'" - type: status status: - 200