Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotCMS V5.0.1 open redirect #15286

Closed
howchen opened this Issue Sep 14, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@howchen
Copy link

howchen commented Sep 14, 2018

Current Behavior

dotCMS V5.0.1 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a malformed URL
e.g.

http://localhost:8999/html/common/forward_js.jsp?FORWARD_URL=http://www.baidu.com
http://localhost:8999/html/portlet/ext/common/page_preview_popup.jsp?hostname=google.com

redirect

Possible Solution

limit the redirect target

@wezell

This comment has been minimized.

Copy link
Contributor

wezell commented Sep 14, 2018

Thank you for this report. This issue will be resolved in 5.0.2 with the code from this issue:
#15274

@wezell wezell closed this Sep 14, 2018

@valentijnscholten

This comment has been minimized.

Copy link

valentijnscholten commented Oct 12, 2018

Please note this issue also affects the 3.x and 4.x versions.

Looking at the commit in #15724 it looks like the chosen solution is to mandate authentication for these urls. Wouldn't that leave logged in users still vulnerable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.