CVE-2023-25136
OpenSSH Double Free Vulnerability
Description
OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling. This is fixed in OpenSSH 9.2. The double free can be leveraged, by an unauthenticated remote attacker in the default configuration, to jump to any location in the sshd address space. One third-party report states "remote code execution is theoretically possible."
INFO
Published Date :
Feb. 3, 2023, 6:15 a.m.
Last Modified :
Nov. 21, 2024, 7:49 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
4.2
Exploitability Score :
2.2
Public PoC/Exploit Available at Github
CVE-2023-25136 has a 13 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2023-25136
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
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-25136
.
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
Python
OpenSSH Pre-Auth Double Free CVE-2023-25136 – Writeup and Proof-of-Concept
Looking into the memory when sshd 9.1p1 aborts due to a double free bug.
Python
OpenSSH 9.1漏洞大规模扫描和利用
Python
CVE-2023-25136 POC written by axylisdead
anus openssh poc preauth-rce yourmom
Python
OpenSSH 9.1 vulnerability mass scan and exploit
Python
OpenSSH Pre-Auth Double Free CVE-2023-25136 POC
Python
None
OpenSSH 9.1 vulnerability mass scan and exploit
Python
None
Python
None
None
Python
For the first time, a vulnerability scanning program for Android using Python libraries python3, kivy, kivymd, requests, android, jnius, kivmob, pyjnius, argparse, pwn, bs4, kivyauth
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-25136
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-25136
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://www.openwall.com/lists/oss-security/2023/02/13/1 Added Reference http://www.openwall.com/lists/oss-security/2023/02/22/1 Added Reference http://www.openwall.com/lists/oss-security/2023/02/22/2 Added Reference http://www.openwall.com/lists/oss-security/2023/02/23/3 Added Reference http://www.openwall.com/lists/oss-security/2023/03/06/1 Added Reference http://www.openwall.com/lists/oss-security/2023/03/09/2 Added Reference https://bugzilla.mindrot.org/show_bug.cgi?id=3522 Added Reference https://ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/017_sshd.patch.sig Added Reference https://github.com/openssh/openssh-portable/commit/486c4dc3b83b4b67d663fb0fa62bc24138ec3946 Added Reference https://jfrog.com/blog/openssh-pre-auth-double-free-cve-2023-25136-writeup-and-proof-of-concept/ Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JGAUIXJ3TEKCRKVWFQ6GDAGQFTIIGQQP/ Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R7LKQDFZWKYHQ65TBSH2X2HJQ4V2THS3/ Added Reference https://news.ycombinator.com/item?id=34711565 Added Reference https://security.gentoo.org/glsa/202307-01 Added Reference https://security.netapp.com/advisory/ntap-20230309-0003/ Added Reference https://www.openwall.com/lists/oss-security/2023/02/02/2 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R7LKQDFZWKYHQ65TBSH2X2HJQ4V2THS3/ [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JGAUIXJ3TEKCRKVWFQ6GDAGQFTIIGQQP/ [No types assigned] Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/R7LKQDFZWKYHQ65TBSH2X2HJQ4V2THS3/ Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/JGAUIXJ3TEKCRKVWFQ6GDAGQFTIIGQQP/ -
Modified Analysis by [email protected]
Jul. 21, 2023
Action Type Old Value New Value Changed Reference Type http://www.openwall.com/lists/oss-security/2023/03/09/2 No Types Assigned http://www.openwall.com/lists/oss-security/2023/03/09/2 Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/JGAUIXJ3TEKCRKVWFQ6GDAGQFTIIGQQP/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/JGAUIXJ3TEKCRKVWFQ6GDAGQFTIIGQQP/ Mailing List Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/R7LKQDFZWKYHQ65TBSH2X2HJQ4V2THS3/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/R7LKQDFZWKYHQ65TBSH2X2HJQ4V2THS3/ Mailing List Changed Reference Type https://security.gentoo.org/glsa/202307-01 No Types Assigned https://security.gentoo.org/glsa/202307-01 Third Party Advisory Changed Reference Type https://security.netapp.com/advisory/ntap-20230309-0003/ No Types Assigned https://security.netapp.com/advisory/ntap-20230309-0003/ Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:a250_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:a250:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:500f_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:500f:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:c250_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:c250:-:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jul. 20, 2023
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202307-01 [No Types Assigned] -
CVE Modified by [email protected]
Apr. 19, 2023
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/JGAUIXJ3TEKCRKVWFQ6GDAGQFTIIGQQP/ [No Types Assigned] -
CVE Modified by [email protected]
Apr. 18, 2023
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/R7LKQDFZWKYHQ65TBSH2X2HJQ4V2THS3/ [No Types Assigned] -
CVE Modified by [email protected]
Mar. 09, 2023
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20230309-0003/ [No Types Assigned] -
CVE Modified by [email protected]
Mar. 09, 2023
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2023/03/09/2 [No Types Assigned] -
Modified Analysis by [email protected]
Mar. 07, 2023
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:H/PR:N/UI:N/S:U/C:N/I:L/A:H Changed Reference Type http://www.openwall.com/lists/oss-security/2023/02/13/1 No Types Assigned http://www.openwall.com/lists/oss-security/2023/02/13/1 Mailing List, Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2023/02/22/1 No Types Assigned http://www.openwall.com/lists/oss-security/2023/02/22/1 Mailing List, Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2023/02/22/2 No Types Assigned http://www.openwall.com/lists/oss-security/2023/02/22/2 Mailing List, Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2023/02/23/3 No Types Assigned http://www.openwall.com/lists/oss-security/2023/02/23/3 Mailing List, Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2023/03/06/1 No Types Assigned http://www.openwall.com/lists/oss-security/2023/03/06/1 Mailing List, Third Party Advisory -
CVE Modified by [email protected]
Mar. 06, 2023
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2023/03/06/1 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 23, 2023
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2023/02/23/3 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 22, 2023
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2023/02/22/2 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 22, 2023
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2023/02/22/1 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 14, 2023
Action Type Old Value New Value Changed Description OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling. This is fixed in OpenSSH 9.2. The double free can be triggered by an unauthenticated attacker in the default configuration. One third-party report states "remote code execution is theoretically possible." OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling. This is fixed in OpenSSH 9.2. The double free can be leveraged, by an unauthenticated remote attacker in the default configuration, to jump to any location in the sshd address space. One third-party report states "remote code execution is theoretically possible." -
CVE Modified by [email protected]
Feb. 13, 2023
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2023/02/13/1 [No Types Assigned] -
Initial Analysis by [email protected]
Feb. 10, 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://bugzilla.mindrot.org/show_bug.cgi?id=3522 No Types Assigned https://bugzilla.mindrot.org/show_bug.cgi?id=3522 Exploit, Issue Tracking, Third Party Advisory Changed Reference Type https://ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/017_sshd.patch.sig No Types Assigned https://ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/017_sshd.patch.sig Patch, Vendor Advisory Changed Reference Type https://github.com/openssh/openssh-portable/commit/486c4dc3b83b4b67d663fb0fa62bc24138ec3946 No Types Assigned https://github.com/openssh/openssh-portable/commit/486c4dc3b83b4b67d663fb0fa62bc24138ec3946 Patch, Third Party Advisory Changed Reference Type https://jfrog.com/blog/openssh-pre-auth-double-free-cve-2023-25136-writeup-and-proof-of-concept/ No Types Assigned https://jfrog.com/blog/openssh-pre-auth-double-free-cve-2023-25136-writeup-and-proof-of-concept/ Exploit, Third Party Advisory Changed Reference Type https://news.ycombinator.com/item?id=34711565 No Types Assigned https://news.ycombinator.com/item?id=34711565 Issue Tracking, Third Party Advisory Changed Reference Type https://www.openwall.com/lists/oss-security/2023/02/02/2 No Types Assigned https://www.openwall.com/lists/oss-security/2023/02/02/2 Exploit, Mailing List, Third Party Advisory Added CWE NIST CWE-415 Added CPE Configuration OR *cpe:2.3:a:openssh:openssh:9.1:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Feb. 08, 2023
Action Type Old Value New Value Changed Description OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling. This is fixed in OpenSSH 9.2. The double free can be triggered by an unauthenticated attacker in the default configuration; however, the vulnerability discoverer reports that "exploiting this vulnerability will not be easy." OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling. This is fixed in OpenSSH 9.2. The double free can be triggered by an unauthenticated attacker in the default configuration. One third-party report states "remote code execution is theoretically possible." Added Reference https://jfrog.com/blog/openssh-pre-auth-double-free-cve-2023-25136-writeup-and-proof-of-concept/ [No Types Assigned] Added Reference https://news.ycombinator.com/item?id=34711565 [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-25136
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-25136
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.17 }} 0.23%
score
0.84736
percentile