7.8
HIGH
CVE-2016-10012
OpenSSH SSHd Shared Memory Privilege Escalation Vulnerability
Description

The shared memory manager (associated with pre-authentication compression) in sshd in OpenSSH before 7.4 does not ensure that a bounds check is enforced by all compilers, which might allows local users to gain privileges by leveraging access to a sandboxed privilege-separation process, related to the m_zback and m_zlib data structures.

INFO

Published Date :

Jan. 5, 2017, 2:59 a.m.

Last Modified :

Nov. 21, 2024, 2:43 a.m.

Source :

cve@mitre.org

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2016-10012 has a 10 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-2016-10012 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 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-2016-10012.

URL Resource
http://www.openwall.com/lists/oss-security/2016/12/19/2 Mailing List Release Notes
http://www.securityfocus.com/bid/94975
http://www.securitytracker.com/id/1037490
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.647637
https://access.redhat.com/errata/RHSA-2017:2029
https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
https://github.com/openbsd/src/commit/3095060f479b86288e31c79ecbc5131a66bcd2f9 Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html
https://security.netapp.com/advisory/ntap-20171130-0002/
https://support.f5.com/csp/article/K62201745?utm_source=f5support&amp%3Butm_medium=RSS
https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03818en_us
https://www.openssh.com/txt/release-7.4
http://www.openwall.com/lists/oss-security/2016/12/19/2 Mailing List Release Notes
http://www.securityfocus.com/bid/94975
http://www.securitytracker.com/id/1037490
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.647637
https://access.redhat.com/errata/RHSA-2017:2029
https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
https://github.com/openbsd/src/commit/3095060f479b86288e31c79ecbc5131a66bcd2f9 Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html
https://security.netapp.com/advisory/ntap-20171130-0002/
https://support.f5.com/csp/article/K62201745?utm_source=f5support&amp%3Butm_medium=RSS
https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03818en_us
https://www.openssh.com/txt/release-7.4

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

Updated: 2 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Jan. 30, 2025, 9:01 a.m. This repo has been linked 173 different CVEs too.

None

Python

Updated: 6 months ago
0 stars 0 fork 0 watcher
Born at : Oct. 3, 2024, 3:15 p.m. This repo has been linked 22 different CVEs too.

bulk scanning tool for 21 different CVE's for OpenSSH

Python

Updated: 7 months, 1 week ago
1 stars 0 fork 0 watcher
Born at : Aug. 25, 2024, 6:28 a.m. This repo has been linked 22 different CVEs too.

OpenSSH Vulnerabilities Scanner: Bulk Scanning Tool for 21 different OpenSSH CVEs.

Python

Updated: 2 months, 2 weeks ago
7 stars 5 fork 5 watcher
Born at : Aug. 24, 2024, 10:56 p.m. This repo has been linked 22 different CVEs too.

Bulk Scanning Tool for OpenSSH CVE-2024-6387, CVE-2024-6409, CVE-2006-5051, CVE-2008-4109, and 16 other CVEs.

Updated: 8 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : July 11, 2024, 11:56 a.m. This repo has been linked 22 different CVEs too.

Bulk Scanning Tool for OpenSSH CVE-2024-6387, CVE-2006-5051 , CVE-2008-4109 and others.

openssh security-audit security-tools ssh ssh-server

Python

Updated: 3 months ago
27 stars 7 fork 7 watcher
Born at : July 1, 2024, 8:45 p.m. This repo has been linked 21 different CVEs too.

None

Updated: 1 year, 9 months ago
0 stars 0 fork 0 watcher
Born at : June 30, 2023, 2:41 p.m. This repo has been linked 78 different CVEs too.

None

Lua Python

Updated: 1 year, 1 month ago
1 stars 0 fork 0 watcher
Born at : March 10, 2022, 10:55 a.m. This repo has been linked 29 different CVEs too.

Easily scan for CVEs using nmap.

cve nmap portscanning shell shellscript automation

Shell

Updated: 5 months ago
12 stars 3 fork 3 watcher
Born at : Jan. 13, 2022, 2:44 p.m. This repo has been linked 34 different CVEs too.

This is a boot2root VM and is a continuation of the Basic Pentesting series. This series is designed to help newcomers to penetration testing develop pentesting skills and have fun exploring part of the offensive side of security. VirtualBox is the recommended platform for this challenge (though it should also work with VMware -- however, I haven’t tested that). This VM is a moderate step up in difficulty from the first entry in this series. If you’ve solved the first entry and have tried a few other beginner-oriented challenges, this VM should be a good next step. Once again, this challenge contains multiple initial exploitation vectors and privilege escalation vulnerabilities. Your goal is to remotely attack the VM, gain root privileges, and read the flag located at /root/flag.txt. Once you’ve finished, try to find other vectors you might have missed! If you’d like to send me a link to your writeup, enjoyed the VM or have questions or feedback, feel free to contact me at: josiah@vt.edu If you finished the VM, please also consider posting a writeup! Writeups help you internalize what you worked on and help anyone else who might be struggling or wants to see someone else’s process. There were lots of wonderful writeups for Basic Pentesting: 1, and I look forward to reading the writeups for this challenge.

Updated: 1 year, 9 months ago
5 stars 5 fork 5 watcher
Born at : May 25, 2021, 9:07 a.m. This repo has been linked 78 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-2016-10012 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-10012 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/2016/12/19/2
    Added Reference http://www.securityfocus.com/bid/94975
    Added Reference http://www.securitytracker.com/id/1037490
    Added Reference http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.647637
    Added Reference https://access.redhat.com/errata/RHSA-2017:2029
    Added Reference https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
    Added Reference https://github.com/openbsd/src/commit/3095060f479b86288e31c79ecbc5131a66bcd2f9
    Added Reference https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html
    Added Reference https://security.netapp.com/advisory/ntap-20171130-0002/
    Added Reference https://support.f5.com/csp/article/K62201745?utm_source=f5support&amp%3Butm_medium=RSS
    Added Reference https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03818en_us
    Added Reference https://www.openssh.com/txt/release-7.4
  • CVE Modified by cve@mitre.org

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by cve@mitre.org

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://support.f5.com/csp/article/K62201745?utm_source=f5support&amp%3Butm_medium=RSS [No types assigned]
    Removed Reference MITRE https://support.f5.com/csp/article/K62201745?utm_source=f5support&utm_medium=RSS
  • CVE Modified by cve@mitre.org

    Dec. 13, 2022

    Action Type Old Value New Value
    Added Reference https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Nov. 11, 2019

    Action Type Old Value New Value
    Added Reference https://support.f5.com/csp/article/K62201745?utm_source=f5support&utm_medium=RSS [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Sep. 11, 2018

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Jun. 01, 2018

    Action Type Old Value New Value
    Added Reference https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03818en_us [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Jan. 05, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2017:2029 [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Dec. 02, 2017

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20171130-0002/ [No Types Assigned]
  • CVE Modified by cve@mitre.org

    Jan. 07, 2017

    Action Type Old Value New Value
    Added Reference https://www.openssh.com/txt/release-7.4 [No Types Assigned]
    Added Reference http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.647637 [No Types Assigned]
    Added Reference http://www.securitytracker.com/id/1037490 [No Types Assigned]
    Added Reference http://www.securityfocus.com/bid/94975 [No Types Assigned]
  • Initial Analysis by nvd@nist.gov

    Jan. 05, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:L/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.openwall.com/lists/oss-security/2016/12/19/2 No Types Assigned http://www.openwall.com/lists/oss-security/2016/12/19/2 Release Notes, Mailing List
    Changed Reference Type https://github.com/openbsd/src/commit/3095060f479b86288e31c79ecbc5131a66bcd2f9 No Types Assigned https://github.com/openbsd/src/commit/3095060f479b86288e31c79ecbc5131a66bcd2f9 Vendor Advisory, Patch
    Added CWE CWE-119
    Added CPE Configuration OR *cpe:2.3:a:openbsd:openssh:7.3:*:*:*:*:*:*:* (and previous)
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.
10010090908080707060605050404030302020101000March 7, 2023March 7, 2023March 17, 2025March 17, 2025March 29, 2025March 29, 2025March 30, 2025March 30, 2025
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.02 }} -0.02%

score

0.01698

percentile

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