This server will be upgraded at 3pm Sydney time on December 3rd (December 2nd, 8pm PST) and will be down for up to 30 minutes.
This documentation relates to the latest version of Confluence.
If you are using an earlier version, please go to the documentation home page and select the relevant version.

Confluence Community Security Advisory 2006-01-19

All Versions
Click for all versions
Confluence 2.10 Documentation

Index

This security advisory is not endorsed by Atlassian - this is a public service advisory from a member of the confluence community. Please remember to backup any modified files, and use these instructions at your own risk. While this information is based on Confluence v2.1.2, it may have uses with older affected versions of Confluence.

The official security advisory is located at Confluence Security Advisory 2006-01-20

 

Problem

There is a possibility of XSS exploitation of the Full Name user profile field when displayed.

Solution

The problem was unescaped outputting of the fullname - wrapping the output in $generalUtil.htmlEncode() resolve it. The vast majority of the problem can be resolved by changing /confluence/template/includes/macros.vm in the distribution on the following lines:

  • 180
  • 186
  • 200
  • 340
  • 893

I have attached the modified macros.vm file here which you can copy into your distribution.

Scope

There are other places which are still affected which Atlassian have been made aware of, a complete resolution should be provided by Atlassian in their own offical advisory.

I hope this helps some of you!

Labels

xss xss Delete
confluence20 confluence20 Delete
security-advisory security-advisory Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jan 19, 2006

    David Loeng says:

    Fixed in 2.1.3. Thanks for submitting this Dan. Cheers, Dave

    Fixed in 2.1.3. Thanks for submitting this Dan.

    Cheers,
    Dave

Add Comment