Urgent: Moderate Vulnerability Found in Confluence Server and Data Center Products

Atlassian Companion man-in-the-middle Vulnerability

On Wednesday December 18, 2019, Atlassian announced a moderate severity vulnerability present in the Confluence Previews plugin in Confluence Server and Confluence Data Center. (CVE-2019-15006).

Description

There was a man-in-the-middle (MITM) vulnerability present in the Confluence Previews plugin in Confluence Server and Confluence Data Center. This plugin was used to facilitate communication with the Atlassian Companion application. The Confluence Previews plugin in Confluence Server and Confluence Data Center communicated with the Companion application via the atlassian-domain-for-localhost-connections-only.com domain name, the DNS A record of which points at 127.0.0.1. Additionally, a signed certificate for the domain was publicly distributed with the Companion application. An attacker in the position to control DNS resolution of their victim could carry out a man-in-the-middle (MITM) attack between Confluence Server (or Confluence Data Center) and the atlassian-domain-for-localhost-connections-only.com domain intended to be used with the Companion application. This certificate has been revoked, however, usage of the atlassian-domain-for-localhost-connections-only.com domain name was still present in Confluence Server and Confluence Data Center. An attacker could perform the described attack by denying their victim access to certificate revocation information, and carry out a man-in-the-middle (MITM) attack to observe files being edited using the Companion application and/or modify them, and access some limited user information.

Atlassian Cloud instances have already been upgraded to a version of Confluence which does not have the issue described on this page.

Customers who have upgraded Confluence Server and Confluence Data Center to version 6.13.10, 6.15.10, 7.0.5, 7.1.2, 7.2.0 or higher are not affected.

Customers who are on any of the affected versions listed below, upgrade your Confluence Server and Confluence Data Center installations immediately to fix this vulnerability.

What you need to do

Atlassian recommends that you upgrade either to the latest Enterprise release version, which is 6.13.10, or to the latest version. For a full description of the latest version of Confluence Server and Confluence Data Center, see the Release Notes. You can download the latest Confluence Server and Data Center Enterprise Release from the download center.

Upgrade to a fixed version of Confluence Server and Confluence Data Center.
(1) If you have a current Enterprise release version (an Enterprise release version released on 18 December 2017 or later), or an older version (released before 2 December 2018) upgrade to the latest Enterprise release version (6.13.10)

If you have version… …then upgrade to this Enterprise release version:
6.13.x

6.12.x

6.11.x

6.13.10 (recommended)

(2) If you have a current feature version (a feature version released on 18 June 2019 or later), upgrade to the next bug-fix version of your current feature version.

If you have version… …then upgrade to this bugfix version:
7.1.x 7.1.2
7.0.x 7.0.5
6.15.x 6.15.10

(3) If you have an older version (a feature version released before 18 June 2019) but cannot upgrade to an Enterprise Release version, upgrade to any of these versions.

If you have version… …then upgrade to any of these versions:
6.14.x 6.15.10

7.0.5

7.1.2

7.2.0

Atlassian has released the following versions of Confluence Server to address this issue:

Atlassian has released the following versions of Confluence Data Center to address this issue:

Mitigation

If you are unable to upgrade Confluence Server or Data Center immediately, or are in the process of migrating to Confluence Cloud, then as a temporary workaround, you can update the Confluence Previews plugin manually, or disable Companion App integration in the Confluence Previews plugin.

If you have Confluence 6.13 and later, manually upgrade the plugin
To upgrade the Confluence Previews plugin:
1.     Download the appropriate version of the Confluence Previews plugin for your version of Confluence from the table below.
2.     Go to  > Manage apps.
3.     Choose Upload and follow the prompts to manually install the plugin.
See Installing Marketplace apps: Installing by file upload for more information.

Confluence version Confluence Previews plugin version with fix
Confluence 7.1.x confluence-previews-9.1.5
Confluence 7.0.x confluence-previews-9.0.4
Confluence 6.15.x confluence-previews-8.2.2
Confluence 6.14.x confluence-previews-8.0.7
Confluence 6.13.x (Enterprise) confluence-previews-7.0.19

To confirm the plugin was updated correctly go to  > Manage apps and search for Confluence Previews plugin. Expand the listing, and check the version number matches the plugin version listed above for your version of Confluence.


If you have Confluence 6.11 or 6.12 and cannot upgrade, disable the Companion App integration 

This will disable the “Edit with” functionality. To disable the Atlassian Companion App integration:
Note: if you choose this route it will effect editing attached documents in Confluence and will require end user communication/training. 

  1. Go to  > Manage apps.
  2. Choose System Apps from the drop-down menu then search for Confluence Previews.
  3. Click to expand the list of plugin modules.
  4. Disable the following plugin modules:
    • Edit With plugin for the Media Viewer (companion-plugin)
    • Embedded ‘Edit With’ button (embedded-edit)
    • ADCClient AMD Wrapper (companion-client-wrapper)
    • Edit With button (companion-plugin-button)
    • Templates for Edit With feature (companion-plugin-templates)

To confirm the Companion App integration was disabled successfully, insert a file into a page. View the page and click the file thumbnail to view the file in the preview. The “Edit with” menu should not appear.

Need help with this?

Give us a call, or request for help here. As an Atlassian Platinum Solution Partner, we’re here to help you keep all your Atlassian products running smoothly.

References:

Atlassian Article