-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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

                               ESB-2017.1519
          A vulnerability has been identified in Atlassian Bamboo
                               19 June 2017

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

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

Product:           Atlassian Bamboo
Publisher:         Atlassian
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-8907  

Original Bulletin: 
   https://confluence.atlassian.com/x/KgwUNg

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

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

This email refers to the advisory found at
https://confluence.atlassian.com/x/KgwUNg .


CVE ID:

* CVE-2017-8907.


Product: Bamboo.

Affected Bamboo product versions:

5.0.0 <= version < 5.15.7
6.0.0 <= version < 6.0.1


Fixed Bamboo product versions:

* for 5.15.x, Bamboo 5.15.7 has been released with a fix for this issue.
* for 6.0.x, Bamboo 6.0.1 has been released with a fix for this issue.


Summary:
This advisory discloses a critical severity security vulnerability
that was introduced in version 5.0.0 of Bamboo. Versions of Bamboo
starting with 5.0.0 before 5.15.7 (the fixed version for 5.15.x) and
from 6.0.0 before 6.0.1 (the fixed version for 6.0.x) are affected by
this vulnerability.

Cloud instances have already been upgraded to a version of Bamboo that
does not have the issue described in this email.

Customers who have upgraded Bamboo to version 5.15.7 or 6.0.1 are not affected.

Customers who have downloaded and installed Bamboo >= 5.0.0 but less
than 5.15.7 (the fixed version for 5.15.x) or who have downloaded and
installed Bamboo >= 6.0.0 but less than 6.0.1 (the fixed version for
6.0.x) please upgrade your Bamboo installations immediately to fix
this vulnerability.


Incorrect permission check for deployment projects (CVE-2017-8907)

Severity:
Atlassian rates the severity level of this vulnerability as critical,
according to the scale published in our Atlassian severity levels. The
scale allows us to rank the severity as critical, high, moderate or
low.
This is our assessment and you should evaluate its applicability to
your own IT environment.


Description:

Bamboo did not correctly check if a user creating a deployment project
had the edit permission and therefore the rights to do so. An attacker
who can login to Bamboo as a user without the edit permission for
deployment projects is able to use this vulnerability, provided there
is an existing plan with a green build, to create a deployment project
and execute arbitrary code on an available Bamboo Agent. By default a
local agent is enabled this means that code execution can occur on the
system hosting Bamboo as the user running Bamboo.
Versions of Bamboo starting with 5.0.0 before 5.15.7 (the fixed
version for 5.15.x) and from 6.0.0 before 6.0.1 (the fixed version for
6.0.x) are affected by this vulnerability. This issue can be tracked
at: https://jira.atlassian.com/browse/BAM-18405 .


Fix:

To address this issue, we've released the following versions containing a fix:

* Bamboo version 5.15.7
* Bamboo version 6.0.1

Remediation:

Upgrade Bamboo to version 6.0.1 or higher.

The vulnerabilities and fix versions are described above. If affected,
you should upgrade to the latest version immediately.

If you are running Bamboo 5.15.x and cannot upgrade to 6.0.1, upgrade
to version 5.15.7.


For a full description of the latest version of Bamboo, see
the release notes found at
https://confluence.atlassian.com/display/BAMBOO/Bamboo+releases. You
can download the latest version of Bamboo from the download centre
found at https://www.atlassian.com/software/bamboo/download.

Acknowledgements:
Atlassian would like to credit Iordache Cosmin (@inhibitor181) for
reporting this issue to us.

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

- -----BEGIN PGP SIGNATURE-----

iQI0BAEBCgAeBQJZQy1QFxxzZWN1cml0eUBhdGxhc3NpYW4uY29tAAoJECQgl6K8
UnagkuIQAIX5aPb11n1gTXAz1HFFkgBSfFEl/SvjfBVRVlNc6iBBx06t98qwl2LM
2jloGTRaRq9kbA7l3mpgLomEUDD8vX4+h+J5kxg6+XGRmK6ZuK53fFjZRXZslRp1
ZpnYuYmDw9bQZ4tIgcINHnPqAE0Wb+p9PBBRJdNzOY/3NdXkiXureHkpHqQrjABO
OEo/KD8cYesLxfs3otGYyo7UHxXZrHmDjz/UnsS4VSBvhXW3nvHr2SsDnQl+WYO/
aWa/YG2I2M/ZWozYuf8IPhBIvWxGeX+h6vjJ6NGI0OjwyBBe+87M0aOemvbJ09y9
RleMgVpgibH1hyuJZUjjfRjhxxGEEqSnS0yz8SgQdjIBHCfJPbegnKyk2FVTsIzQ
pht5uV/Xm9w/84E+75fD82Ki349QQ7Cff3VdZZctR4kE1+6DS6NwS89avYF9WSCf
k6pE4gxWydnOzKuljv7eIrUzoEMEEGK5OHPud9dpU0RKMCEZdvzIXQptKvKTpbOW
Uk4WX0PCaFw6c1U2UpBgfRngf/fykir9ZprB+v4nm1zjvIYr84s/m/0XyEQ6Rhmt
BFxajxcAPjjTuOAkF4CRXzfLAWkf9D18RJWrD4eCL9H82d7xR3XFg6KZnMTf8qF7
NPQRgUy1XkYaMei9veTfxL6gSdHtPY35r/tZN3gbu0l+MD3w9CEI
=ncNT
- -----END PGP SIGNATURE-----

- --------------------------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

iQIVAwUBWUcWFYx+lLeg9Ub1AQgMjRAAgkHQcF7F95bWgzYO/qSSTb0VD55CYJ12
QjPKH92QaMaESDHB2yus9Dok/ufq2/5/9cA+Hpp/Itz6CxniemwydxE/WUEWiKzZ
514ZHduSEnQINMFvbWbe4YGKzpgVHneQIp3wT1g3QJ0f/ELVfCXFA/ZIxzhWEOJU
yW9Tzqlp927Wq6wuutABRDqROxkHx0Iv19Ntcxj/y00nuwLOUIAJKndztbS1igI3
eajLdK/JeAoftx2N9LTJbsqS4+pBEZLDA25trrDE/u7T9v6VnFCnlIuytRU3W3W6
Q9u8SM9KoqH6rguilVcv8iKMN8iVwkvxkjuMA2Ro9EMNWu2f+66lixT1mlaZfOId
0v2IN/5ds4oglx2aOHC6XIrXvt1rnLfOu4f5Qza+WybsbfPjn/jEueq3p8gsUaTt
4ZZ4j6+rcoIJpWvf3fnJYnV+ezgH2EcepVlf20UFNgKoJ1tMyABdBNMcpBcPQZxl
UZeNSu+1Slgcm07LOJ/Ugg6oDZooZ/WNtUY2AVH2YA7xAlljzsa54UsZovgRDNKE
ih3g+fxagBTz/mZKZzQYk8C70pJK3gU3AzA2fC/DLE5n2i3F0EWTMu37wePTx97A
ngb+0fN74GhYaE3mzUfdnikrdrcq+ywy6VQtA6w5DaTlzC45x1ntHutSW2QSIFJQ
fzU9Ed11QTY=
=gbxv
-----END PGP SIGNATURE-----