目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2023-36723 PoC — Microsoft Windows Container Manager Service 安全漏洞

来源
关联漏洞
标题: Microsoft Windows Container Manager Service 安全漏洞 (CVE-2023-36723)
Description:Microsoft Windows Container Manager Service 是美国微软(Microsoft)公司的一个应用程序。提供一个管理windows容器功能。 Microsoft Windows Container Manager Service存在安全漏洞。攻击者利用该漏洞可以提升权限。以下产品和版本受到影响:Windows 10 Version 1809 for x64-based Systems,Windows 10 Version 1809 for ARM64-based Sys
介绍
# CVE-2023-36723

This is PoC for arbitrary directory creation bug in Container Manager service.

This PoC is not thoroughly tested so it may not even work most of the time (it was enough for msrc to confirm vulnerability).

In order to exploit this vulnerability a Windows Sandbox feature have to be installed on windows host.

When Windows Sandbox feature is installed a set of directories will be created in c:\programdata directory.
One of those directories is C:\ProgramData\Microsoft\Windows\Containers\BaseImages\\<GUID\>\BaseLayer. 
This directory is different as it gives authenticated users group modify permissions on all child objects.

![1](https://github.com/Wh04m1001/CVE-2023-36723/blob/main/1.png)


If BaseLayer directory is empty or some of directories inside it are removed, next time when Windows sandbox is started,  a process cmimageworker.exe will recreate those directories/files  without checking for symbolic links and set DACL that allows authenticated users to modify them.

![2](https://github.com/Wh04m1001/CVE-2023-36723/blob/main/2.png)

I have create PoC that will abuse this vulnerability to create directory pwn with permissive DACL's inside c:\windows\system32 directory as show below:

![poc](https://github.com/Wh04m1001/CVE-2023-36723/blob/main/poc.png)

An attacker can abuse this vulnerability to execute code in process that is running with SYSTEM privileges by abusing SxS assembly loading.
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →