Use After Free in OpenBSD OpenSSH
CVE-2015-6564
Use-after-free vulnerability in the mm_answer_pam_free_ctx function in monitor.c in sshd in OpenSSH before 7.0 on non-OpenBSD platforms might allow local users to gain privileges by leveraging control of the sshd uid to send an unexpectedly early MONITOR_REQ_PAM_FREE_CTX request.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.006, 49.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 11 other repositories (bigb0x/CVE-2024-6387, bigb0x/OpenSSH-Scanner, CyCognito/manual-detection, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [oss-security] 20150821 Re: CVE request - OpenSSH 6.9 PAM privilege separation vulnerabilities (mailing-list)
- FEDORA-2015-13469 (vendor-advisory)
- www.securityfocus.com/bid/76317 (vdb-entry)
- www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- GLSA-201512-04 (vendor-advisory)
- kc.mcafee.com/corporate/index
- www.openssh.com/txt/release-7.0 (Vendor Advisory)
- www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- github.com/openssh/openssh-portable/commit/5e75f5198769056089fb06c4d738ab0e5abc…
- RHSA-2016:0741 (vendor-advisory)