[] NeoSense

Microsoft Windows Kernel - 'DeferWindowPos' Use-After-Free (MS15-073)

Author: Nils Sommer
type: dos
platform: windows_x86
port: 
date_added: 2015-09-22 
date_updated: 2015-09-22 
verified: 1 
codes: CVE-2015-2366;OSVDB-124589;MS15-073 
tags: 
aliases:  
screenshot_url:  
application_url: 

Source: https://code.google.com/p/google-security-research/issues/detail?id=339

The attached PoC demonstrate a use-after-free condition that occurs when operating on a DeferWindowPos object from multiple threads. The DeferWindowPos() call will trigger and block on the execution of a window procedure in a separate thread from which we call EndDeferWindowPos on the same handle. specialpool.txt contains the debugger output with Session Pool enabled, crash.txt the debugger output without Session Pool.

Proof of Concept:
https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/38266.zip