ACE to RCE
A misconfigured Active Directory Access Control Entry granted GenericWrite rights that could be abused to run arbitrary executables. The author describes a new way to abuse this misconfiguration to achieve remote code execution.
sensepost.com
Published on sensepost.com
tl;dr: In this writeup I am going to describe how to abuse a GenericWrite ACE misconfiguration in Active Directory to run arbitrary executables.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely an overly permissive GenericWrite Access Control Entry was granted to a principal that should not have had it, allowing modification of attributes that can lead to code execution.
Impact
An attacker with the misconfigured permission could run arbitrary executables, leading to remote code execution on the affected system.
What the attacker needed
Misconfigured GenericWrite ACE; access to the AD environment
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Active Directory is a system that manages users and computers in a Windows network. An Access Control Entry is a rule saying who can do what to an object, and GenericWrite is a broad permission that lets someone change many attributes of that object. If that permission is given too widely, an attacker can change settings to make the system run their own program.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.