CVE-2023-51385
OpenSSH Command Injection Vulnerability
Description
In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or host name has shell metacharacters, and this name is referenced by an expansion token in certain situations. For example, an untrusted Git repository can have a submodule with shell metacharacters in a user name or host name.
INFO
Published Date :
Dec. 18, 2023, 7:15 p.m.
Last Modified :
Nov. 21, 2024, 8:37 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.5
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2023-51385 has a 42 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-51385
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
OpenSSH Vulnerabilities list
cve openssh vulnerabilities
None
None
None
HTML
DockerLab - Machine
None
DockerLab - Machine
Máquina DockerLab
None
HTML
None
None
None
None
None
Dockerfile Go
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-51385
vulnerability anywhere in the article.
- Kaspersky
Exploits and vulnerabilities in Q3 2024
Q3 2024 saw multiple vulnerabilities discovered in Windows and Linux subsystems that are not standard for cyberattacks. This is because operating system developers have been releasing new security mit ... Read more
The following table lists the changes that have been made to the
CVE-2023-51385
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://seclists.org/fulldisclosure/2024/Mar/21 Added Reference http://www.openwall.com/lists/oss-security/2023/12/26/4 Added Reference https://github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1a Added Reference https://lists.debian.org/debian-lts-announce/2023/12/msg00017.html Added Reference https://security.gentoo.org/glsa/202312-17 Added Reference https://security.netapp.com/advisory/ntap-20240105-0005/ Added Reference https://support.apple.com/kb/HT214084 Added Reference https://vin01.github.io/piptagole/ssh/security/openssh/libssh/remote-code-execution/2023/12/20/openssh-proxycommand-libssh-rce.html Added Reference https://www.debian.org/security/2023/dsa-5586 Added Reference https://www.openssh.com/txt/release-9.6 Added Reference https://www.openwall.com/lists/oss-security/2023/12/18/2 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Mar. 13, 2024
Action Type Old Value New Value Added Reference MITRE http://seclists.org/fulldisclosure/2024/Mar/21 [No types assigned] -
CVE Modified by [email protected]
Mar. 07, 2024
Action Type Old Value New Value Added Reference MITRE https://support.apple.com/kb/HT214084 [No types assigned] -
CVE Modified by [email protected]
Jan. 05, 2024
Action Type Old Value New Value Added Reference MITRE https://security.netapp.com/advisory/ntap-20240105-0005/ [No types assigned] -
Modified Analysis by [email protected]
Jan. 03, 2024
Action Type Old Value New Value Removed CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N Changed Reference Type http://www.openwall.com/lists/oss-security/2023/12/26/4 No Types Assigned http://www.openwall.com/lists/oss-security/2023/12/26/4 Mailing List, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2023/12/msg00017.html No Types Assigned https://lists.debian.org/debian-lts-announce/2023/12/msg00017.html Mailing List, Third Party Advisory Changed Reference Type https://security.gentoo.org/glsa/202312-17 No Types Assigned https://security.gentoo.org/glsa/202312-17 Third Party Advisory Changed Reference Type https://vin01.github.io/piptagole/ssh/security/openssh/libssh/remote-code-execution/2023/12/20/openssh-proxycommand-libssh-rce.html No Types Assigned https://vin01.github.io/piptagole/ssh/security/openssh/libssh/remote-code-execution/2023/12/20/openssh-proxycommand-libssh-rce.html Third Party Advisory Changed Reference Type https://www.debian.org/security/2023/dsa-5586 No Types Assigned https://www.debian.org/security/2023/dsa-5586 Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Dec. 28, 2023
Action Type Old Value New Value Added Reference MITRE https://security.gentoo.org/glsa/202312-17 [No types assigned] -
CVE Modified by [email protected]
Dec. 26, 2023
Action Type Old Value New Value Added Reference MITRE http://www.openwall.com/lists/oss-security/2023/12/26/4 [No types assigned] -
CVE Modified by [email protected]
Dec. 26, 2023
Action Type Old Value New Value Added Reference MITRE https://lists.debian.org/debian-lts-announce/2023/12/msg00017.html [No types assigned] -
CVE Modified by [email protected]
Dec. 22, 2023
Action Type Old Value New Value Added Reference MITRE https://vin01.github.io/piptagole/ssh/security/openssh/libssh/remote-code-execution/2023/12/20/openssh-proxycommand-libssh-rce.html [No types assigned] -
CVE Modified by [email protected]
Dec. 22, 2023
Action Type Old Value New Value Added Reference MITRE https://www.debian.org/security/2023/dsa-5586 [No types assigned] -
Initial Analysis by [email protected]
Dec. 22, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1a No Types Assigned https://github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1a Patch Changed Reference Type https://www.openssh.com/txt/release-9.6 No Types Assigned https://www.openssh.com/txt/release-9.6 Release Notes Changed Reference Type https://www.openwall.com/lists/oss-security/2023/12/18/2 No Types Assigned https://www.openwall.com/lists/oss-security/2023/12/18/2 Mailing List, Release Notes Added CWE NIST CWE-78 Added CPE Configuration OR *cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:* versions up to (excluding) 9.6 -
CVE Modified by [email protected]
Dec. 19, 2023
Action Type Old Value New Value Added Reference MITRE https://github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1a [No types assigned] -
CVE Received by [email protected]
Dec. 18, 2023
Action Type Old Value New Value Added Description In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or host name has shell metacharacters, and this name is referenced by an expansion token in certain situations. For example, an untrusted Git repository can have a submodule with shell metacharacters in a user name or host name. Added Reference MITRE https://www.openssh.com/txt/release-9.6 [No types assigned] Added Reference MITRE https://www.openwall.com/lists/oss-security/2023/12/18/2 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-51385
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-51385
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.23 }} -0.07%
score
0.60403
percentile