-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2012.0873
                  Confluence Security Advisory 2012-09-11
                             13 September 2012

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Atlassian Confluence
Publisher:         Atlassian
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Cross-site Scripting -- Remote with User Interaction
Resolution:        Patch/Upgrade

Original Bulletin: 
   https://confluence.atlassian.com/display/DOC/Confluence+Security+Advisory+2012-09-11

- --------------------------BEGIN INCLUDED TEXT--------------------

Confluence Security Advisory 2012-09-11

    Added by Andrew Lui [Atlassian Technical Writer], last edited by Vitaly 
    Osipov [Atlassian] on Sep 12, 2012

This advisory discloses security vulnerability that we have found and fixed in 
a recent version of Confluence.

    Customers who have downloaded and installed Confluence should upgrade 
    their existing Confluence installations to fix this vulnerability.  
    Enterprise Hosted customers need to request an upgrade by raising a support 
    request. See Enterprise Hosting Upgrade Time Windows for instructions.
    Atlassian OnDemand and JIRA Studio customers are not affected by any of the 
    issues described in this advisory.

Atlassian is committed to improving product security. The vulnerability listed 
in this advisory has been discovered by Atlassian, unless noted otherwise. The 
reporter may also have requested that we do not credit them. 

If you have questions or concerns regarding this advisory, please raise a 
support request at http://support.atlassian.com/.

In this advisory:

    XSS Vulnerability

XSS Vulnerability

Severity

Atlassian rates the severity level of this vulnerability as High, according to 
the scale published in Severity Levels for Security Issues. The scale allows us 
to rank the severity as critical, high, medium or low.
This is an independent assessment and you should evaluate its applicability to 
your own IT environment. This vulnerability is not of Critical severity.

Description

We have identified and fixed a reflected, or non-persistent, cross-site 
scripting (XSS) vulnerability that affects Confluence instances, including 
publicly available instances (that is, Internet-facing servers). XSS 
vulnerabilities allow an attacker to embed their own JavaScript into a 
Confluence page when it is viewed by the victim's browser. An attacker does not
need an account on Confluence server. A successful attack does not necessarily 
modify any server content.

We recommend you to read about XSS attacks at Wikipedia, The Web Application
Security Consortium and other places on the web before considering specific 
mitigations for this vulnerability.

This vulnerability affects all versions of Confluence earlier than 4.1.8. It 
has been fixed in Confluence 4.1.9 and later. This issue can be tracked here: 
CONF-26366 - Cross Site Scripting Vulnerability - RESOLVED

Risk Mitigation

We strongly recommend upgrading your Confluence installation to fix this 
vulnerability. Please see the 'Fix' section below.

One possible workaround is to block requests to certain URLs before they reach 
Confluence. HTTP GET requests to any Confluence URLs where the file name is 
".vm" should be blocked. For example, if you use Apache web server to front 
Confluence and your Confluence is under /wiki path, then you can set up the 
following rules to block XSS attempts:

<LocationMatch ^/wiki/.*\.vm\?.* >
   Deny from all
</LocationMatch>

<LocationMatch ^/wiki/.*\.vm$ >
   Deny from all
</LocationMatch>

We recommend that you read the links above about how XSS attacks work before 
applying any workarounds. This code is only an example.

Fix

Upgrade

The vulnerability and fix version are described in the 'Description' section 
above.

We recommend that you upgrade to Confluence 4.1.9 or later, if possible. For 
a full description of the latest version of Confluence, see the release notes. 
You can download the latest version of Confluence from the download centre.

Patches are not available for this vulnerability for any version of Confluence. 
Please see our Security Patch Policy for further information.

Our thanks to D. Niedermaier of Intrest SEC who reported the XSS vulnerability 
described in this advisory. We fully support the reporting of vulnerabilities  
and we appreciate it when people work with us to identify and solve the 
problem.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBUFFM5O4yVqjM2NGpAQI9QxAAp+GQO0pysX9tf0mBNNwLszg5Hv2PlbYD
/Z3/u35/HSVChMk+SdFdMy6JX6geXyfwPJE0LF0VtAAaEeh4ffw2PPbhwnSCo/3n
XbS6b0R8hcL2TMT3CwlSzBW1+j7ECqm6WTXYAZt/m9cpud59yXD7FwVoCS7GV1E4
ea4lulOgU1wpSZZ8ycuuEC8wxdfDm/BZo396XPtRDK23ccFfdiEJrkDtG8N04/zY
GQscJAuTXnU7qeBOj2UkLzhlUzN6Cx/6otePmJsckA5M1IJaGCkAlhI4hQsqy+cz
ryuBleOgoPyPoXU7gwZFftTSU1pGE0UWILQPxlPI5mDqH9G2iIIZMexv0GlobdrH
wwW0uNYwU0kXeo1InaA9fswjxZHOdCswKLWX7FpcDZ9PwG17vKLAseDpxMKjUMwB
o7gzTQKSnzwMEI86qeuayNKWIqARakF71PUHDXADEzpjDVzR80AowIKr/gS/Wc18
tIyi0qev1ompVjo1EBHPb5LpDfyq5GpOqxdjyeOTf4L3j7qKM+ybREjXp1uAZxE+
8TT0cYY1lnifEcNmIyhWjX6Qfa0wT/RsqZrtmJkaRhvYPrV1ond/a2o6fIrsea/H
5sDQd9lKx/TfHUOufczIA+9RyJ5yPCj15ahQ8Htl9TD1zicQRTe2sMNyP9TwckDR
PVTmvZ3KmXs=
=zrBZ
-----END PGP SIGNATURE-----