CVE-2018-5224: Atlassian Bamboo - Command Injection
- Cve: CVE-2018-5224
- Name: Atlassian Bamboo - Command Injection
- Description: Bamboo did not correctly check if a configured Mercurial repository URI contained values that the Windows operating system may consider argument parameters. An attacker who has permission to create a repository in Bamboo, edit an existing plan in Bamboo that has a non-linked Mercurial repository, or create a plan in Bamboo either globally or in a project using Bamboo Specs can can execute code of their choice on systems that run a vulnerable version of Bamboo on the Windows operating system. All versions of Bamboo starting with 2.7.0 before 6.3.3 (the fixed version for 6.3.x) and from version 6.4.0 before 6.4.1 (the fixed version for 6.4.x) running on the Windows operating system are affected by this vulnerability.
- Impact: Attackers can execute arbitrary code on Windows systems running Bamboo, potentially leading to full system compromise.
- Remediation: Update to Bamboo 6.3.3 or later for 6.3.x, and 6.4.1 or later for 6.4.x versions.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs permission to create or edit repositories or plans
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0267
- Epss percentile: 0.86131
- Assignee: [email protected]
- Published at: 2018-03-29T13:29:00Z
- Age in days: 3162
- Modified at: 2026-06-17T01:59:52Z
- Patch available: yes
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-5224
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://confluence.atlassian.com/x/PS9sO | Mitigation, Vendor Advisory |
| https://jira.atlassian.com/browse/BAM-19743 | Vendor Advisory |
| http://www.securityfocus.com/bid/103653 | Third Party Advisory, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| atlassian:bamboo | >= 6.4.0, < 6.4.1; >= 2.7.0, < 6.3.3 | yes | nvd | /v1/products/atlassian/bamboo |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 632
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports