Skip to content
Access control Write-up Intermediate

Let me store that for you

An unprivileged user could create files in the SYSTEM folder, which allowed DLL side-loading. An attacker could place a malicious DLL that a privileged process would load.

sensepost.com

Published on sensepost.com

A while ago Jonas Lykkegaard disclosed a zeroday that could be used to create files in the SYSTEM folder. CVE-2020-16885 got assigned for this vulnerability, and was since patched with KB4580346.

The author, on sensepost.com

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 a permissions flaw that let unprivileged users create files in a protected system directory.

Impact

An attacker could create files in the SYSTEM folder, enabling DLL side-loading; the text does not show a full exploit chain.

What the attacker needed

Unprivileged local access; Hyper-V host

The fix

It was fixed by the vendor patch KB4580346.

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.

Normally, only administrators can put files in the system folder. This bug let ordinary users do that too. Because some programs load extra code (DLLs) from that folder, an attacker could plant their own file and have a more powerful program run it.

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.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.