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.

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.

ID Vendor Product Action
1 Netapp ontap_select_deploy_administration_utility
2 Netapp a250_firmware
3 Netapp 500f_firmware
4 Netapp c250_firmware
5 Netapp a250
6 Netapp 500f
7 Netapp c250
1 Fedoraproject fedora
1 Openbsd openssh
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.

URL Resource
http://www.openwall.com/lists/oss-security/2023/02/13/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2023/02/22/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2023/02/22/2 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2023/02/23/3 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2023/03/06/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2023/03/09/2 Mailing List Third Party Advisory
https://bugzilla.mindrot.org/show_bug.cgi?id=3522 Exploit Issue Tracking Third Party Advisory
https://ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/017_sshd.patch.sig Patch Vendor Advisory
https://github.com/openssh/openssh-portable/commit/486c4dc3b83b4b67d663fb0fa62bc24138ec3946 Patch Third Party Advisory
https://jfrog.com/blog/openssh-pre-auth-double-free-cve-2023-25136-writeup-and-proof-of-concept/ Exploit Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JGAUIXJ3TEKCRKVWFQ6GDAGQFTIIGQQP/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R7LKQDFZWKYHQ65TBSH2X2HJQ4V2THS3/
https://news.ycombinator.com/item?id=34711565 Issue Tracking Third Party Advisory
https://security.gentoo.org/glsa/202307-01 Third Party Advisory
https://security.netapp.com/advisory/ntap-20230309-0003/ Third Party Advisory
https://www.openwall.com/lists/oss-security/2023/02/02/2 Exploit Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2023/02/13/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2023/02/22/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2023/02/22/2 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2023/02/23/3 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2023/03/06/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2023/03/09/2 Mailing List Third Party Advisory
https://bugzilla.mindrot.org/show_bug.cgi?id=3522 Exploit Issue Tracking Third Party Advisory
https://ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/017_sshd.patch.sig Patch Vendor Advisory
https://github.com/openssh/openssh-portable/commit/486c4dc3b83b4b67d663fb0fa62bc24138ec3946 Patch Third Party Advisory
https://jfrog.com/blog/openssh-pre-auth-double-free-cve-2023-25136-writeup-and-proof-of-concept/ Exploit Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JGAUIXJ3TEKCRKVWFQ6GDAGQFTIIGQQP/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R7LKQDFZWKYHQ65TBSH2X2HJQ4V2THS3/
https://news.ycombinator.com/item?id=34711565 Issue Tracking Third Party Advisory
https://security.gentoo.org/glsa/202307-01 Third Party Advisory
https://security.netapp.com/advisory/ntap-20230309-0003/ Third Party Advisory
https://www.openwall.com/lists/oss-security/2023/02/02/2 Exploit Mailing List Third Party Advisory

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

Updated: 11 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 16, 2024, 6:06 p.m. This repo has been linked 1 different CVEs too.

OpenSSH Pre-Auth Double Free CVE-2023-25136 – Writeup and Proof-of-Concept

Updated: 10 months ago
3 stars 0 fork 0 watcher
Born at : Sept. 21, 2023, 12:05 p.m. This repo has been linked 1 different CVEs too.

Looking into the memory when sshd 9.1p1 aborts due to a double free bug.

Python

Updated: 1 year, 2 months ago
1 stars 0 fork 0 watcher
Born at : Sept. 4, 2023, 7:28 p.m. This repo has been linked 1 different CVEs too.

OpenSSH 9.1漏洞大规模扫描和利用

Python

Updated: 5 months ago
5 stars 4 fork 4 watcher
Born at : June 30, 2023, 9:34 a.m. This repo has been linked 1 different CVEs too.

CVE-2023-25136 POC written by axylisdead

anus openssh poc preauth-rce yourmom

Python

Updated: 1 year, 3 months ago
3 stars 0 fork 0 watcher
Born at : June 3, 2023, 12:36 p.m. This repo has been linked 1 different CVEs too.

OpenSSH 9.1 vulnerability mass scan and exploit

Python

Updated: 1 month, 2 weeks ago
8 stars 3 fork 3 watcher
Born at : April 28, 2023, 7:46 p.m. This repo has been linked 1 different CVEs too.

OpenSSH Pre-Auth Double Free CVE-2023-25136 POC

Python

Updated: 8 months, 3 weeks ago
45 stars 7 fork 7 watcher
Born at : April 18, 2023, 9:47 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 year, 8 months ago
0 stars 2 fork 2 watcher
Born at : April 8, 2023, 6:19 a.m. This repo has been linked 923 different CVEs too.

OpenSSH 9.1 vulnerability mass scan and exploit

Python

Updated: 1 month, 1 week ago
102 stars 21 fork 21 watcher
Born at : Feb. 22, 2023, 7:44 p.m. This repo has been linked 1 different CVEs too.

None

Python

Updated: 1 year, 10 months ago
3 stars 1 fork 1 watcher
Born at : Feb. 14, 2023, 8:13 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 10 months, 1 week ago
20 stars 3 fork 3 watcher
Born at : Feb. 14, 2023, 6:10 p.m. This repo has been linked 921 different CVEs too.

None

Python

Updated: 4 months, 1 week ago
43 stars 9 fork 9 watcher
Born at : Feb. 7, 2023, 3:33 p.m. This repo has been linked 1 different CVEs too.

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

Updated: 1 year, 1 month ago
1 stars 0 fork 0 watcher
Born at : Sept. 12, 2021, 11:51 a.m. This repo has been linked 36 different CVEs too.

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]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability