Dulwich up to 0.18.4 SSH Subprocess Hostname command injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.4 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical has been found in Dulwich up to 0.18.4. Affected by this vulnerability is an unknown functionality of the component SSH Subprocess. The manipulation with the input -<string> as part of Hostname leads to command injection.
This vulnerability is traded as CVE-2017-16228. It is possible to initiate the attack remotely. There is no exploit available.
It is recommended to upgrade the affected component.
Details
A vulnerability was found in Dulwich up to 0.18.4 and classified as critical. This issue affects some unknown processing of the component SSH Subprocess. The manipulation with the input value -<string> leads to a command injection vulnerability. Using CWE to declare the problem leads to 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. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
Dulwich before 0.18.5, when an SSH subprocess is used, allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-1000116, and CVE-2017-1000117.
The bug was discovered 10/29/2017. The weakness was shared 10/29/2017 (Website). It is possible to read the advisory at tracker.debian.org. The identification of this vulnerability is CVE-2017-16228 since 10/29/2017. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1202 according to MITRE ATT&CK.
The vulnerability scanner Nessus provides a plugin with the ID 105887 (Fedora 27 : python-dulwich (2017-5dd9b12179)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 171409 (OpenSUSE Security Update for python-dulwich (openSUSE-SU-2018:2213-1)).
Upgrading to version 0.18.5 eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (105887). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
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: Command injectionCWE: CWE-77 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
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: 105887
Nessus Name: Fedora 27 : python-dulwich (2017-5dd9b12179)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 830749
OpenVAS Name: Fedora Update for python-dulwich FEDORA-2017-5dd9b12179
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Dulwich 0.18.5
Patch: dulwich.io
Timeline
10/29/2017 🔍10/29/2017 🔍
10/29/2017 🔍
10/29/2017 🔍
10/30/2017 🔍
12/15/2017 🔍
01/15/2018 🔍
01/05/2023 🔍
Sources
Advisory: FEDORA-2017-5dd9b12179Status: Not defined
CVE: CVE-2017-16228 (🔍)
GCVE (CVE): GCVE-0-2017-16228
GCVE (VulDB): GCVE-100-108779
Entry
Created: 10/30/2017 08:11Updated: 01/05/2023 12:01
Changes: 10/30/2017 08:11 (69), 12/02/2019 08:09 (6), 01/05/2023 11:52 (5), 01/05/2023 12:01 (1)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.