- 34,644
- 0
- 18 Дек 2022
- EDB-ID
- 38275
- Проверка EDB
-
- Пройдено
- Автор
- NILS SOMMER
- Тип уязвимости
- DOS
- Платформа
- WINDOWS_X86
- CVE
- cve-2015-1722
- Дата публикации
- 2015-09-22
Microsoft Windows Kernel - Bitmap Handling Use-After-Free (MS15-061) (1)
Код:
Source: https://code.google.com/p/google-security-research/issues/detail?id=293
Platform: Win7 32-bit.
trigger.cpp should fire the issue, with two caveats:
- PoC will NOT work if compiled as a debug build.
- PoC will trigger the condition every time but the subsequent corruption might not cause a crash every time. It may be necessary to run the PoC multiple times.
debug.txt is a sample crash log.
Analysis from Nils:
---
Using the series of calls we are able to free the bitmap object, a reference to this object still exists in the trigger process after killing the first notepad process.
At this time we are able to replace the freed object in memory. We are not able to reuse this object through the original handle, however another free is triggered when quitting the trigger process, which will decrement the reference counter on the freed or replaced object, either modifying heap metadata or freeing the object which was allocated in the place of the original bitmap object.
---
Proof of Concept:
https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/38275.zip
- Источник
- www.exploit-db.com