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

Bug: Azurehound / Bloodhound CE: Administrative Units are not considered leading to wrong edges #942

Open
4 tasks done
zh54321 opened this issue Nov 8, 2024 · 0 comments
Labels
bug Something isn't working triage This issue requires triaging

Comments

@zh54321
Copy link

zh54321 commented Nov 8, 2024

Description:

Administrative Units are not considered by Bloodhound / Azurehound and therefore lead to wrong edges.

Are you intending to fix this bug?

No

Component(s) Affected:

Bloodhound edges where Administrative Units are involved (example AZResetPassword).

Steps to Reproduce:

  1. Create a new user in Entra ID
  2. Create an administrative unit in Entra ID
  3. Add a role assignment (example Privileged Authentication Administrator) to the user set the scope to the administrative unit
  4. Collect the data with Azurehound and import them
  5. Check if there are any paths between the created user and the Global Admin

Expected Behavior:

The edges should not be created.

Actual Behavior: Screenshots/Code Snippets/Sample Files:

Bloodhound CE shows the edge AZResetPassword to the Global Admin:
image

However, since the role assignment for Normaluser is scoped to an administrative unit, that edge is wrong.
role

Only one user is a member of the administrative unit:
image

Therefore, the user can't reset the pw of the global admin:
pw

How to fix:

  • Change Azurehound to also collect information about administrative units (data is not present in the collected json file)
  • Change processing to only draw the edges of roles which are scoped to an AU to the members of the AU.

Environment Information:

Bloodhound CE: 6.1.0
Neo4j: 4.4.38
PostgreSQL: 16.4 (Debian 16.4-1.pgdg120+2)
GraphDB version: v6.1.0
API Version: v6.1.0
AzureHound: v2.2.1

Contributor Checklist:

  • I have searched the issue tracker to ensure this bug hasn't been reported before or is not already being addressed.
  • I have provided clear steps to reproduce the issue.
  • I have included relevant environment information details.
  • I have attached necessary supporting documents.
@zh54321 zh54321 added bug Something isn't working triage This issue requires triaging labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This issue requires triaging
Projects
None yet
Development

No branches or pull requests

1 participant