libssh up to 0.9.7/0.10.5 ProxyCommand/ProxyJump Hostname code 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.
5.2$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB 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.): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

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

Exploitinginfo

Class: Code injection
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 235526
Nessus Name: RockyLinux 9 : libssh (RLSA-2024:2504)

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: libssh 0.9.8/0.10.6

Timelineinfo

11/07/2023 🔍
12/19/2023 +42 days 🔍
12/19/2023 +0 days 🔍
05/08/2025 +506 days 🔍

Sourcesinfo

Advisory: FEDORA-2023-55800423a8
Status: Confirmed

CVE: CVE-2023-6004 (🔍)
GCVE (CVE): GCVE-0-2023-6004
GCVE (VulDB): GCVE-100-248368

Entryinfo

Created: 12/19/2023 07:51
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!