Microsoft Windows State Repository Service Race Condition Use-After-Free Information Disclosure Vulnerability
The State Repository Service in Microsoft Windows lacked proper locking when operating on an object, so a pointer could be reused after being freed. A local attacker who already had low-privileged code execution could disclose sensitive information, and could combine this with other flaws to escalate to SYSTEM.
This vulnerability allows local attackers to disclose sensitive information on affected installations of Microsoft Windows. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a missing lock around an object's lifetime, allowing a pointer to be used after the object was freed.
Impact
A local attacker with low-privileged code execution could disclose sensitive information and, chained with other vulnerabilities, could escalate privileges and run code as SYSTEM.
What the attacker needed
Ability to run low-privileged code locally
The fix
Microsoft issued an update to correct the vulnerability.
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 report has not been written yet. The Original tab links to the source.
A program frees a chunk of memory and then still uses a pointer to it, which is called a use-after-free. Because the memory can be reused for something else in between, the program may read data it should not, leaking sensitive information. Here the attacker must already be able to run some code on the machine, so this is a step in a larger attack rather than a way in from outside.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.