Atlassian SourceTree up to 3.0.14 on Windows Mercurial Repository Filename command injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.4$0-$5k0.00

A vulnerability classified as critical was found in Atlassian SourceTree up to 3.0.14 on Windows. This vulnerability affects an unknown functionality of the component Mercurial Repository Handler. The manipulation as part of a Filename leads to a command injection vulnerability. The CWE definition for the vulnerability is CWE-77. The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

There was an argument injection vulnerability in Atlassian Sourcetree for Windows from version 0.5a before version 3.0.15 via filenames in Mercurial repositories. A remote attacker with permission to commit to a Mercurial repository linked in Sourcetree for Windows is able to exploit this issue to gain code execution on the system.

The bug was discovered 02/20/2019. The weakness was disclosed 03/08/2019 (Website). The advisory is available at jira.atlassian.com. This vulnerability was named CVE-2018-20235 since 12/19/2018. The attack can be initiated remotely. The successful exploitation needs a single authentication. The technical details are unknown and an exploit is not available. This vulnerability is assigned to T1202 by the MITRE ATT&CK project.

The vulnerability was handled as a non-public zero-day exploit for at least 16 days. During that time the estimated underground price was around $0-$5k. The commercial vulnerability scanner Qualys is able to test this issue with plugin 371705 (Atlassian Sourcetree Multiple Remote Code Execution Vulnerabilities).

Upgrading to version 3.0.15 eliminates this vulnerability.

The vulnerability is also documented in the vulnerability database at SecurityFocus (BID 105523†). The entries VDB-124949, VDB-131481 and VDB-131483 are pretty similar. Once again VulDB remains the best source for vulnerability data.

Productinfo

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 7.4

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Command injection
CWE: CWE-77 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: SourceTree 3.0.15

Timelineinfo

10/05/2018 🔍
12/19/2018 +75 days 🔍
02/20/2019 +63 days 🔍
03/08/2019 +16 days 🔍
03/09/2019 +1 days 🔍
07/29/2023 +1603 days 🔍

Sourcesinfo

Vendor: atlassian.com

Advisory: 152173
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2018-20235 (🔍)
GCVE (CVE): GCVE-0-2018-20235
GCVE (VulDB): GCVE-100-131482
SecurityFocus: 105523 - Git CVE-2018-17456 Arbitrary Code Execution Vulnerability

See also: 🔍

Entryinfo

Created: 03/09/2019 07:28 AM
Updated: 07/29/2023 03:47 PM
Changes: 03/09/2019 07:28 AM (64), 05/14/2020 06:57 PM (4), 07/29/2023 03:47 PM (4)
Complete: 🔍
Cache ID: 18:7AA:40

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!