Atlassian Bitbucket Server and Data Center Command Injection Vulnerability
Multiple API endpoints of Atlassian Bitbucket Server and Data Center contain a command injection vulnerability where an attacker with access to a public Bitbucket repository, or with read permissions to a private one, can execute code by sending a malicious HTTP request.
Improper Neutralization of Special Elements used in an OS Command CWE-78
An attacker can make the server run commands of their choosing, which usually means full control of it.
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command before it is sent to a downstream component.
Weakness data: MITRE Common Weakness Enumeration.
Improper Neutralization of Argument Delimiters in a Command CWE-88
The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.
Weakness data: MITRE Common Weakness Enumeration.
Improper Neutralization of Null Byte or NUL Character CWE-158
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes NUL characters or null bytes when they are sent to a downstream component.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 2 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Atlassian Bitbucket Server | Software | from 7.0.0, before 7.6.17; from 7.7.0, before 7.17.10; from 7.18.0, before 7.21.4; from 8.0.0, before 8.0.3; from 8.1.0, before 8.1.3; from 8.2.0, before 8.2.2; and 1 more | 7.6.17; 7.17.10; 7.21.4; 8.0.3 |
| Atlassian Bitbucket Data Center | Software | from 7.0.0, before unspecified; from unspecified, before 7.6.17; from 7.7.0, before unspecified; from unspecified, before 7.17.10; from 7.18.0, before unspecified; from unspecified, before 7.21.4; and 8 more | unspecified; 7.6.17; 7.17.10; 7.21.4 |
The 8.8 severity score (high) from NIST, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | Low | The attacker needs an ordinary user account. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 2.8 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 5.9 | A score for how bad the harm is if it works. Higher is worse. |
Scorers can disagree. NIST scores every flaw the same way; the reporting company knows its own product best.
1 of the 4 sources NIST lists are patches or advisories from the vendor. 2 explain how the flaw works or include exploit code, so attackers can find instructions easily.