CRITICAL: HTML injection - redirect - CSRF

Disclosed by
beerbrain
  • Engagement Atlassian
  • Disclosed date over 3 years ago
  • Points 2
  • Priority P3 Bugcrowd's VRT priority rating
  • Status Resolved This vulnerability has been accepted and fixed
Summary by Atlassian

HTML injection vulnerability in Confluence

Summary by beerbrain

Vulnerability

Redirect confluence searches to any webpage you want.

  1. To create make a code block macro with the contents as follows: <meta http-equiv = "refresh" content = "2; url = <insert url>" />
  2. Add text in the body of the document with keywords to pick up on a search.
  3. Search for keywords and be redirected to any webpage you have chosen.

Possible exploits:

  1. 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).
  2. You can utilize the redirect as a CSRF attack.
  3. You can be fancy and clone the confluence search page in your redirect and add malicious code (e.g. browsjer hijack).
  4. You can redirect to a login screen for confluence or corporate SSO to gain user credentials
Activity