CVE-2019-15012
Bitbucket Server and Bitbucket Data Center from version 4.13. before 5.16.11, from version 6.0.0 before 6.0.11, from version 6.1.0 before 6.1.9, from version 6.2.0 before 6.2.7, from version 6.3.0 before 6.3.6, from version 6.4.0 before 6.4.4, from version 6.5.0 before 6.5.3, from version 6.6.0 before 6.6.3, from version 6.7.0 before 6.7.3, from version 6.8.0 before 6.8.2, from version 6.9.0 before 6.9.1 had a Remote Code Execution vulnerability via the edit-file request. A remote attacker with write permission on a repository can write to any arbitrary file to the victims Bitbucket Server or Bitbucket Data Center instance using the edit-file endpoint, if the user has Bitbucket Server or Bitbucket Data Center running, and has the permission to write the file at that destination. In some cases, this can result in execution of arbitrary code by the victims Bitbucket Server or Bitbucket Data Center instance.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by atlassian, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Atlassian Bitbucket Server: affected: 4.13 to before unspecified, unspecified to before 5.16.11, 6.0 to before unspecified, unspecified to before 6.0.11, 6.1.0 to before unspecified, unspecified to before 6.1.9; fixed in
5.16.11,6.0.11,6.1.9,6.2.7,6.3.6,6.4.4 - Atlassian Bitbucket Data Center: affected: 4.13 to before unspecified, unspecified to before 5.16.11, 6.0 to before unspecified, unspecified to before 6.0.11, 6.1.0 to before unspecified, unspecified to before 6.1.9; fixed in
5.16.11,6.0.11,6.1.9,6.2.7,6.3.6,6.4.4
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.