SecurityContext

CVE-2018-17422: DotCMS < 5.0.2 - Open Redirect

  • Template: CVE-2018-17422
  • Name: DotCMS < 5.0.2 - Open Redirect
  • Description: dotCMS before 5.0.2 contains multiple open redirect vulnerabilities via the html/common/forward_js.jsp FORWARD_URL parameter or the html/portlet/ext/common/page_preview_popup.jsp hostname parameter. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
  • Impact: An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the installation of malware.
  • Remediation: Upgrade to a version of DotCMS that is higher than 5.0.2 to mitigate the open redirect vulnerability.
  • Severity: medium
  • Authors: 0x_Akoko, daffainfo
  • Tags: cve2018, cve, redirect, dotcms, vuln
  • References: https://github.com/dotCMS/core/issues/15286, https://nvd.nist.gov/vuln/detail/CVE-2018-17422, https://github.com/ARPSyndicate/kenzer-templates
  • Cves: CVE-2018-17422
  • Verified: yes
  • Max requests: 2
  • Directory: http/cves
  • Path: http/cves/2018/CVE-2018-17422.yaml
  • Digest: 4a0a00473045022100fc979f8a660bfdf604c8e01bdb5edc6110ed1c90aacef1b562f85a4e26bc1d9c022021f6a8fe7b2dd87b5c080cec8fa867464eeb2d9dd2be983850e5ecece0b4b077
  • Created at: 2022-05-17T07:56:41Z
  • Updated at: 2026-11-24T02:03:42Z
  • Age in days: 1652
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-17422.yaml

Classification

  • Cwe: CWE-601
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.03717
  • Epss percentile: 0.90062
  • Cpe: cpe:2.3:a:dotcms:dotcms:*:*:*:*:*:*:*:*

Metadata

  • Fofa-query: title="dotcms"
  • Google-query: intitle:"dotcms"
  • Max-request: 2
  • Product: dotcms
  • Shodan-query: http.title:"dotCMS", http.title:"dotcms"
  • Vendor: dotcms
  • Verified: yes

Products

ProductIndexedUrl
dotcms:dotcmsyes/v1/products/dotcms/dotcms

Labels

  • Name: dotCMS - Open Redirect
  • Impact: Attackers can redirect users to malicious sites, potentially leading to information theft, data modification, or unauthorized operations.
  • Remediation: Update to version 5.0.2 or later to fix open redirect vulnerabilities.
  • Vulnerability type: open_redirect
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2018-17422
  • Checked, none or zero: vulnerability impact
  • Not known: requirements

```yaml

id: CVE-2018-17422

info:

name: DotCMS < 5.0.2 - Open Redirect

author: 0x_Akoko,daffainfo

severity: medium

description: |

dotCMS before 5.0.2 contains multiple open redirect vulnerabilities via the html/common/forward_js.jsp FORWARD_URL parameter or the html/portlet/ext/common/page_preview_popup.jsp hostname parameter. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.

impact: |

An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the installation of malware.

remediation: |

Upgrade to a version of DotCMS that is higher than 5.0.2 to mitigate the open redirect vulnerability.

reference:

- https://github.com/dotCMS/core/issues/15286

- https://nvd.nist.gov/vuln/detail/CVE-2018-17422

- https://github.com/ARPSyndicate/kenzer-templates

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

epss-score: 0.03717

epss-percentile: 0.90062

cpe: cpe:2.3:a:dotcms:dotcms:*:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 2

vendor: dotcms

product: dotcms

shodan-query:

- http.title:"dotCMS"

- http.title:"dotcms"

fofa-query: title="dotcms"

google-query: intitle:"dotcms"

tags: cve2018,cve,redirect,dotcms,vuln

http:

- method: GET

path:

- '{{BaseURL}}/html/common/forward_js.jsp?FORWARD_URL=http://oast.me'

- '{{BaseURL}}/html/portlet/ext/common/page_preview_popup.jsp?hostname=oast.me'

stop-at-first-match: true

matchers:

- type: word

part: body

words:

- "self.location = 'http://oast.me'"

- "location.href = 'http\\x3a\\x2f\\x2fwww\\x2eoast\\x2eme'"

digest: 4a0a00473045022100fc979f8a660bfdf604c8e01bdb5edc6110ed1c90aacef1b562f85a4e26bc1d9c022021f6a8fe7b2dd87b5c080cec8fa867464eeb2d9dd2be983850e5ecece0b4b077:922c64590222798bb761d5b6d8e72950

```