Skip to content

About

Part of an Directory.ReadWrite.All abuse in Entra ID

Resources

Stars

7 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

HiddenConsentGrant

This code exploits the hidden consent grant attack which leverages the Directory.ReadWrite.all application permission.

Pre-requirements

  1. Create certificate and private key (or use the given pair of certificate and key from the repository).
  2. Update client secret and user id in the code.

Usage

  1. Run the tool
  python server.py
  1. Launch the "non-malicious" page.
  2. get the access tokens
  3. have fun!

Link to blog

https://www.semperis.com/blog/app-consent-attack-hidden-consent-grant/

About

Part of an Directory.ReadWrite.All abuse in Entra ID

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages