Business

Patch critical flaw in Atlassian Bitbucket Server and Data Center! (CVE-2022-36804)

Published

on

A critical vulnerability (CVE-2022-36804) in Atlassian Bitbucket Server and Data Center could be exploited by unauthorized attackers to execute malicious code on vulnerable instances.

About CVE-2022-36804

Bitbucket Server and Data Center are used by software developers around the world for source code revision control, management and hosting.

CVE-2022-36804 is a command injection vulnerability in multiple API endpoints of Bitbucket Server and Data Center.

“An attacker with access to a public repository or with read permissions to a private Bitbucket repository can execute arbitrary code by sending a malicious HTTP request,” Atlassian explained. Which subsequent actions the attacker can take depends on the permissions associated with the exploited application.

All versions of Bitbucket Server and Data Center released before versions 7.6.17, 7.17.10, 7.21.4, 8.0.3, 8.1.2, 8.2.2, and 8.3.1 are vulnerable, but Bitbucket installations hosted by Atlassian are not affected.

Fixing the issue before attackers start exploiting it

Users are advised to upgrade to their self-hosted installations to plug the security hole.

“If you have configured Bitbucket Mesh nodes, these will need to be updated with to the corresponding version of Mesh that includes the fix,” the company added.

“If you’re unable to upgrade Bitbucket, a temporary mitigation step is to turn off public repositories globally by setting feature.public.access=false as this will change this attack vector from an unauthorized attack to an authorized attack. This can not be considered a complete mitigation as an attacker with a user account could still succeed.”

CVE-2022-36804 was reported by AppSec auditor Maxwell Garret (aka TheGrandPew), who recently promised to release a PoC in late September.

Of course, nothing’s stopping attackers from reverse-engineering the provided patches to glean enough information into the flaw to create a working exploit, so users should act quickly to block this avenue of attack.

Source: https://www.helpnetsecurity.com/2022/08/29/cve-2022-36804/

Click to comment
Exit mobile version