Vulnerabilities > CVE-2016-0099 - Classic Buffer Overflow vulnerability in Microsoft products
Attack vector
LOCAL Attack complexity
LOW Privileges required
LOW Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
The Secondary Logon Service in Microsoft Windows Vista SP2, Windows Server 2008 SP2 and R2 SP1, Windows 7 SP1, Windows 8.1, Windows Server 2012 Gold and R2, Windows RT 8.1, and Windows 10 Gold and 1511 does not properly process request handles, which allows local users to gain privileges via a crafted application, aka "Secondary Logon Elevation of Privilege Vulnerability."
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | 9 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Exploit-Db
description Microsoft Windows 7-10 & Server 2008-2012 - Local Privilege Escalation (x32/x64) (MS16-032) (Powershell). CVE-2016-0099. Local exploit for windows platform file exploits/windows/local/39719.ps1 id EDB-ID:39719 last seen 2016-04-22 modified 2016-04-21 platform windows port published 2016-04-21 reporter b33f source https://www.exploit-db.com/download/39719/ title Microsoft Windows 7-10 & Server 2008-2012 - Local Privilege Escalation x32/x64 MS16-032 Powershell type local description Windows - Secondary Logon Standard Handles Missing Sanitization Privilege Escalation (MS16-032). CVE-2016-0099. Local exploit for windows platform file exploits/windows_x86/local/39574.cs id EDB-ID:39574 last seen 2016-03-21 modified 2016-03-21 platform windows_x86 port published 2016-03-21 reporter Google Security Research source https://www.exploit-db.com/download/39574/ title Windows - Secondary Logon Standard Handles Missing Sanitization Privilege Escalation MS16-032 type local description MS16-032 Secondary Logon Handle Privilege Escalation. CVE-2016-0099. Local exploit for windows platform. Tags: file exploits/windows/local/40107.rb id EDB-ID:40107 last seen 2016-07-13 modified 2016-07-13 platform windows port published 2016-07-13 reporter metasploit source https://www.exploit-db.com/download/40107/ title MS16-032 Secondary Logon Handle Privilege Escalation type local description Microsoft Windows 7-10 & Server 2008-2012 - Local Privilege Escalation (x32/x64) (MS16-032) (C#). CVE-2016-0099. Local exploit for windows platform file exploits/windows/local/39809.cs id EDB-ID:39809 last seen 2016-05-13 modified 2016-04-25 platform windows port published 2016-04-25 reporter fdiskyou source https://www.exploit-db.com/download/39809/ title Microsoft Windows 7-10 & Server 2008-2012 - Local Privilege Escalation x32/x64 MS16-032 C# type local
Metasploit
description | This module exploits the lack of sanitization of standard handles in Windows' Secondary Logon Service. The vulnerability is known to affect versions of Windows 7-10 and 2k8-2k12 32 and 64 bit. This module will only work against those versions of Windows with Powershell 2.0 or later and systems with two or more CPU cores. |
id | MSF:EXPLOIT/WINDOWS/LOCAL/MS16_032_SECONDARY_LOGON_HANDLE_PRIVESC |
last seen | 2020-06-10 |
modified | 2020-01-29 |
published | 2016-06-21 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/local/ms16_032_secondary_logon_handle_privesc.rb |
title | MS16-032 Secondary Logon Handle Privilege Escalation |
Msbulletin
bulletin_id | MS16-032 |
bulletin_url | |
date | 2016-03-08T00:00:00 |
impact | Elevation of Privilege |
knowledgebase_id | 3143141 |
knowledgebase_url | |
severity | Important |
title | Security Update for Secondary Logon to Address Elevation of Privile |
Nessus
NASL family | Windows : Microsoft Bulletins |
NASL id | SMB_NT_MS16-032.NASL |
description | The remote Windows host is affected by an elevation of privilege vulnerability in the Windows Secondary Logon Service due to improper management of request handles in memory. An authenticated, remote attacker can exploit this, via a specially crafted application, to elevate privileges, allowing the execution of arbitrary code. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 89755 |
published | 2016-03-08 |
reporter | This script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof. |
source | https://www.tenable.com/plugins/nessus/89755 |
title | MS16-032: Security Update for Secondary Logon to Address Elevation of Privilege (3143141) |
code |
|
Packetstorm
data source | https://packetstormsecurity.com/files/download/137881/ms16_032_secondary_logon_handle_privesc.rb.txt |
id | PACKETSTORM:137881 |
last seen | 2016-12-05 |
published | 2016-07-12 |
reporter | b33f |
source | https://packetstormsecurity.com/files/137881/MS16-032-Secondary-Logon-Handle-Privilege-Escalation.html |
title | MS16-032 Secondary Logon Handle Privilege Escalation |
Seebug
bulletinFamily | exploit |
description | No description provided by source. |
id | SSV:92118 |
last seen | 2017-11-19 |
modified | 2016-07-15 |
published | 2016-07-15 |
reporter | jinyu00 |
source | https://www.seebug.org/vuldb/ssvid-92118 |
title | MS16-032 Secondary Logon Handle local mention the right vulnerability |
References
- http://www.securityfocus.com/bid/84034
- http://www.securityfocus.com/bid/84034
- http://www.securitytracker.com/id/1035210
- http://www.securitytracker.com/id/1035210
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2016/ms16-032
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2016/ms16-032
- https://www.exploit-db.com/exploits/39574/
- https://www.exploit-db.com/exploits/39574/
- https://www.exploit-db.com/exploits/39719/
- https://www.exploit-db.com/exploits/39719/
- https://www.exploit-db.com/exploits/39809/
- https://www.exploit-db.com/exploits/39809/
- https://www.exploit-db.com/exploits/40107/
- https://www.exploit-db.com/exploits/40107/