Git Product home page Git Product logo

cve-2023-36723's Introduction

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

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

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

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

cve-2023-36723's People

Contributors

wh04m1001 avatar

Stargazers

 avatar Gr3yD0g avatar Seb avatar TechForBad avatar  avatar Mozhar Alhosni avatar  avatar Ö avatar Subxpl0it avatar jacy0110 avatar HackerJackec0p4t7  avatar  avatar Matthew Linney avatar Erik avatar Nicolas Vincent avatar Tomahawkd avatar Crispr  avatar  avatar  avatar KeyStrOke avatar  avatar R.B.C. avatar Rubi1iXD avatar LSA avatar Wing avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar Philip avatar meaSec avatar  avatar vonzy avatar yoon jaeheng avatar biubiu avatar 10cks avatar  avatar  avatar lightstarts avatar  avatar ar0x avatar MightyIT avatar d0gkiller87 avatar João Victor avatar  avatar  avatar ibranch7 avatar ⠀ avatar  avatar xct avatar WtZ avatar Marco avatar  avatar  avatar  avatar ttt avatar Heroman Zhang avatar ddos avatar bopin avatar  avatar 炁 avatar Ryota Sakai avatar 秋葉杏 avatar S3lrius avatar Kr0ff avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.