CVE-2021-0090: Intel Driver & Support Assistant (DSA) Elevation Of Privilege (EOP)
An unprivileged user could change the download folder location in Intel DSA, and the privileged service would move files there. By placing a folder junction at the old location pointing to a protected system directory, the user could get a planted DLL copied into that directory and loaded by the Windows Print Spooler at boot, running code as SYSTEM.
Published on bohops.com
Intel Driver & Support Assistant (DSA) is a driver and software update utility for Intel components. DSA version 20.8.30.6 (and likely prior) is vulnerable to a local privilege escalation reparse point bug.
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 the privileged DSA service followed a user-controlled reparse point when moving files, without checking that the destination was safe.
Impact
An unprivileged local user could execute arbitrary code as NT AUTHORITY\SYSTEM after a reboot.
What the attacker needed
Local unprivileged account; ability to create folder junctions; reboot for DLL load
The fix
Intel was notified in September 2020 and a patch was issued in June 2021; users should update to the latest DSA version.
How it was found
- Open the DSA settings page and note the default folder location.
- Create a test file inside the Downloads folder of the current location.
- Change the folder location and observe the service moving the files to the new path.
- Set a folder junction on the old Downloads folder pointing to the protected system directory.
- Plant a DLL in the new location that the Print Spooler loads at startup.
- Change the folder location again so the service moves the DLL into the system directory, then reboot.
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.
A folder junction is a Windows shortcut that makes one folder point to another. The update tool let any logged-in user pick where it stored downloads, and a background service with high privileges moved the files there. The user pointed the old folder at a protected system folder, so the service copied a malicious library file into it, and Windows loaded that file at startup with full system rights.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.