Summary by beerbrain
Vulnerability
Redirect confluence searches to any webpage you want.
- To create make a code block macro with the contents as follows: <meta http-equiv = "refresh" content = "2; url = <insert url>" />
- Add text in the body of the document with keywords to pick up on a search.
- Search for keywords and be redirected to any webpage you have chosen.
Possible exploits:
- The webpage you choose can have any javascript you wish, for instance a browser hijack that gives you full network access of the client's browser session (e.g. internal corporate networks).
- You can utilize the redirect as a CSRF attack.
- You can be fancy and clone the confluence search page in your redirect and add malicious code (e.g. browsjer hijack).
- You can redirect to a login screen for confluence or corporate SSO to gain user credentials