CVE-2022-36804
Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0 before version 7.17.10, from version 7.18.0 before version 7.21.4, from version 8.0.0 before version 8.0.3, from version 8.1.0 before version 8.1.3, and from version 8.2.0 before version 8.2.2, and from version 8.3.0 before 8.3.1 allows remote attackers with read permissions to a public or private Bitbucket repository to execute arbitrary code by sending a malicious HTTP request. This vulnerability was reported via our Bug Bounty Program by TheGrandPew.
What to do
This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2022-09-30). If you run an affected version, patch or mitigate now.
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: 7.0.0 to before unspecified, unspecified to before 7.6.17, 7.7.0 to before unspecified, unspecified to before 7.17.10, 7.18.0 to before unspecified, unspecified to before 7.21.4; fixed in
7.6.17,7.17.10,7.21.4,8.0.3,8.1.3,8.2.2 - Atlassian Bitbucket Data Center: affected: 7.0.0 to before unspecified, unspecified to before 7.6.17, 7.7.0 to before unspecified, unspecified to before 7.17.10, 7.18.0 to before unspecified, unspecified to before 7.21.4; fixed in
7.6.17,7.17.10,7.21.4,8.0.3,8.1.3,8.2.2
References
- https://jira.atlassian.com/browse/BSERV-13438
- http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html
- http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html
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.