Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added extended rights to 'find' command. Smaller changes to has_vulne… #226

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

csandker
Copy link

Noticed there were false positive instances of ESC1, showing enrollment rights for users that were not able to enroll in those templates.

Looking at the ACEs it turned out the the 'Enroll' permission was indeed assigned to the principal, but the ACTIVE_DIRECTORY_RIGHTS.EXTENDED_RIGHT was not, which prevented enrollment.

Certify has the same permission check implemented here.

While adjusting the code I also changed the "write permissions" view to show which specific write permissions a principal has, but only report the write permission as ESC4 if the entire template can be modified.

@fgeek
Copy link

fgeek commented Nov 7, 2024

I have verified that this indeed does fix ESC1 false-positive in my current target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants