CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
7.2 | $0-$5k | 0.00 |
A vulnerability was found in Mercurial up to 4.2. It has been classified as critical. This affects an unknown code. The manipulation with an unknown input leads to a link following vulnerability. CWE is classifying the issue as CWE-59. The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
The bug was discovered 08/10/2017. The weakness was published 10/05/2017 by Cedric Buissart (Website). It is possible to read the advisory at security.gentoo.org. This vulnerability is uniquely identified as CVE-2017-1000115 since 10/03/2017. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. The technical details are unknown and an exploit is not publicly available.
The vulnerability was handled as a non-public zero-day exploit for at least 35 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 103227 (Amazon Linux AMI : mercurial (ALAS-2017-893)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176140 (Debian Security Update for mercurial (DSA 3963-1)).
Upgrading to version 4.3 eliminates this vulnerability. A possible mitigation has been published before and not just after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (103227). Similar entry is available at 107476.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.4VulDB Meta Temp Score: 7.2
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
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: Link followingCWE: CWE-59
ATT&CK: Unknown
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: 103227
Nessus Name: Amazon Linux AMI : mercurial (ALAS-2017-893)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 53376
OpenVAS Name: Debian Security Advisory DSA 3963-1 (mercurial - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Mercurial 4.3
Timeline
08/10/2017 🔍08/10/2017 🔍
09/14/2017 🔍
09/15/2017 🔍
10/03/2017 🔍
10/04/2017 🔍
10/05/2017 🔍
10/05/2017 🔍
12/30/2022 🔍
Sources
Advisory: RHSA-2017:2489Researcher: Cedric Buissart
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-1000115 (🔍)
OVAL: 🔍
SecurityFocus: 100290 - Mercurial Remote Command Injection and Symlink Directory Traversal Vulnerabilities
See also: 🔍
Entry
Created: 10/05/2017 15:14Updated: 12/30/2022 17:06
Changes: 10/05/2017 15:14 (75), 11/22/2019 08:44 (5), 12/30/2022 17:06 (4)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.