Skip to content
File upload Write-up Intermediate

Rediscovering Epic Games 0-Days (Forever Unpatched?)

The Epic Games Launcher installer runs with elevated privileges and performs file operations inside a folder that ordinary users can write to. By replacing a subfolder with a symbolic link, an attacker can make the installer overwrite or delete an arbitrary file, which can be leveraged for local privilege escalation.

Christopher Vella Follow

Published on signal-labs.com

So one day I was browsing ZDI (usually its the same sort of targets, lots of Foxit bugs, Adobe, Ivanti, etc) and noticed a couple entries by @izobashi (ZDI-22-537, ZDI-22-538) for Epic Games Launcher, there were two things that stood out:

Christopher Vella, on signal-labs.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 the installer performs privileged file operations inside a directory with a permissive access control list, so a low-privileged user can replace a folder with a symbolic link and redirect those operations.

Impact

A low-privileged local user could overwrite or delete arbitrary files with the installer's elevated rights, which can be leveraged for local privilege escalation.

What the attacker needed

Local access to the machine; ability to run the MSI in repair mode; symbolic link testing tools

The fix

The installer should not perform privileged file operations in a user-writable directory, and the permissive access control list on the launcher folder should be tightened; the text does not say it was fixed.

How it was found

  1. Install the Epic Games Launcher and locate its MSI package in the Windows Installer directory.
  2. Configure ProcMon to capture file creation and image load events, including the launcher path.
  3. Run the MSI in Repair mode and observe the file operations it performs.
  4. Replace the Win32 folder with a symbolic link pointing to the RPC Control object directory.
  5. Create a link for the DLL the installer looks for, redirecting it to a target file such as License.rtf.
  6. Press Retry so the installer overwrites the target file, or press Cancel so rollback deletes it.

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.

An installer is a program that copies files into place and often runs with high privileges. Here, one of the folders it writes into could be changed by a normal user, so the user could point the installer at a different file and make it overwrite or delete that file instead. That is dangerous because the installer has more power than the user does.

What is File upload?

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.

More from Epic Games

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.