Exploit database

Vulnerability

CVE-2016-7255

Vulnerability details

Score
7.8
Severity
high

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Description

The kernel-mode drivers 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, Windows 10 Gold, 1511, and 1607, and Windows Server 2016 allow local users to gain privileges via a crafted application, aka "Win32k Elevation of Privilege Vulnerability."

CVE Program

Exploit source choices

6 sources
Win32k ConsoleControl Offset Confusion
MSF-windows--local--cve_2022_21882_win32kMetasploitWindows / remote

A vulnerability exists within win32k that can be leveraged by an attacker to escalate privileges to those of NT AUTHORITY\SYSTEM. The flaw exists in how the WndExtra field of a window can be manipulated into being treated as an offset despite being populated by an attacker-controlled value. This can be leveraged to achieve an out of bounds write operation, eventually leading to privilege escalation. This flaw was originally identified as CVE-2021-1732 and was patched by Microsoft on February 9th, 2021. In early 2022, a technique to bypass the patch was identified and assigned CVE-2022-21882. The root cause is is the same for both vulnerabilities. This exploit combines the patch bypass with the original exploit to function on a wider range of Windows 10 targets.

2021-02-09cve_2022_21882_win32k.rb
fsecurelabs/cve-2016-7255
GH-5c2f4d8bad6f9948dc9e2c683b5a7f42GitHubUnofficial GitHub source

An exploit for CVE-2016-7255 on Windows 7/8/8.1/10(pre-anniversary) 64 bit

2017-03-026 files · 81 stars
yuvatia/page-table-exploitation
GH-fe137bb36499bc2ebc83a940b6919447GitHubUnofficial GitHub source

A demonstration of how page tables can be used to run arbitrary code in ring-0 and lead to a privesc. Uses CVE-2016-7255 as an example.

2018-06-098 files · 11 stars