Git up to 2.19.1 on Linux/Unix run-command.c run_command $PATH untrusted search path
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
8.4 | $0-$5k | 0.00 |
A vulnerability, which was classified as critical, has been found in Git up to 2.19.1 on Linux/Unix (Versioning Software). Affected by this issue is the function run_command
of the file run-command.c. The manipulation of the argument $PATH
with an unknown input leads to a untrusted search path vulnerability. Using CWE to declare the problem leads to CWE-426. The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control. Impacted is confidentiality, integrity, and availability. CVE summarizes:
Git before 2.19.2 on Linux and UNIX executes commands from the current working directory (as if '.' were at the end of $PATH) in certain cases involving the run_command() API and run-command.c, because there was a dangerous change from execvp to execv during 2017.
The bug was discovered 10/25/2018. The weakness was disclosed 11/23/2018 (Website). The advisory is available at securityfocus.com. This vulnerability is handled as CVE-2018-19486 since 11/23/2018. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1574 by the MITRE ATT&CK project.
The vulnerability was handled as a non-public zero-day exploit for at least 29 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 119256 (Ubuntu 14.04 LTS / 16.04 LTS / 18.04 LTS / 18.10 : git vulnerabilities (USN-3829-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 197313 (Ubuntu Security Notification for Git Vulnerabilities (USN-3829-1)).
Upgrading to version 2.19.2 eliminates this vulnerability. A possible mitigation has been published 4 days after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (119256). The entry 107861 is pretty similar.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.5VulDB Meta Temp Score: 8.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Untrusted search pathCWE: CWE-426
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 119256
Nessus Name: Ubuntu 14.04 LTS / 16.04 LTS / 18.04 LTS / 18.10 : git vulnerabilities (USN-3829-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Git 2.19.2
Patch: git.kernel.org
Timeline
10/25/2018 🔍11/23/2018 🔍
11/23/2018 🔍
11/23/2018 🔍
11/23/2018 🔍
11/24/2018 🔍
11/27/2018 🔍
11/28/2018 🔍
06/11/2023 🔍
Sources
Advisory: USN-3829-1⛔Status: Confirmed
CVE: CVE-2018-19486 (🔍)
SecurityTracker: 1042166
SecurityFocus: 106020 - Git CVE-2018-19486 Remote Command Injection Vulnerability
See also: 🔍
Entry
Created: 11/24/2018 10:16Updated: 06/11/2023 10:29
Changes: 11/24/2018 10:16 (78), 04/14/2020 16:27 (4), 06/11/2023 10:23 (6), 06/11/2023 10:29 (1)
Complete: 🔍
Cache ID: 18:317:103
No comments yet. Languages: en.
Please log in to comment.