libssh up to 0.9.7/0.10.5 ProxyCommand/ProxyJump Hostname code injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.2 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as critical has been discovered in libssh up to 0.9.7/0.10.5. Affected is an unknown function of the component ProxyCommand/ProxyJump. Executing a manipulation of the argument Hostname can lead to code injection. This vulnerability appears as CVE-2023-6004. The attack may be performed from remote. There is no available exploit. It is advisable to upgrade the affected component.
Details
A vulnerability has been found in libssh up to 0.9.7/0.10.5 and classified as critical. This vulnerability affects an unknown functionality of the component ProxyCommand/ProxyJump. The manipulation of the argument hostname with an unknown input leads to a code injection vulnerability. The CWE definition for the vulnerability is CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. As an impact it is known to affect confidentiality, integrity, and availability.
The weakness was presented 12/19/2023. The advisory is shared for download at bugzilla.redhat.com. This vulnerability was named CVE-2023-6004 since 11/07/2023. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1059.
The vulnerability scanner Nessus provides a plugin with the ID 235526 (RockyLinux 9 : libssh (RLSA-2024:2504)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 0.9.8 or 0.10.6 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (235526). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.2
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 4.8
NVD Vector: 🔍
CNA Base Score: 4.8
CNA Vector (Red Hat, Inc.): 🔍
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: 🔍
Exploiting
Class: Code injectionCWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
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: 235526
Nessus Name: RockyLinux 9 : libssh (RLSA-2024:2504)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: libssh 0.9.8/0.10.6
Timeline
11/07/2023 🔍12/19/2023 🔍
12/19/2023 🔍
05/08/2025 🔍
Sources
Advisory: FEDORA-2023-55800423a8Status: Confirmed
CVE: CVE-2023-6004 (🔍)
GCVE (CVE): GCVE-0-2023-6004
GCVE (VulDB): GCVE-100-248368
Entry
Created: 12/19/2023 07:51Updated: 05/08/2025 15:48
Changes: 12/19/2023 07:51 (39), 01/12/2024 14:48 (14), 09/17/2024 00:34 (29), 04/21/2025 01:08 (3), 05/08/2025 15:48 (2)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.