Foxit PDF Editor Installation Uncontrolled Search Path Privilege Escalation Vulnerability
During installation of Foxit PDF Editor through the Microsoft Store, the installer runs a helper executable from a temporary folder that a standard user can write to. An attacker could place a malicious file with the expected name in that folder so it runs with elevated privileges, potentially leading to full system compromise.
A privilege escalation vulnerability exists during the installation of Foxit PDF Editor via the Microsoft Store. A low-privilege user can replace files during the installation process, which may result in unintended elevation of privileges.
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
Impact
A low-privilege local user could gain elevated privileges, potentially up to System, by planting a file during installation.
What the attacker needed
Local low-privilege user account; install via Microsoft Store; ability to write to the temp folder
The fix
The installer should launch helper executables from a trusted absolute path rather than searching a user-writable temporary directory; the vendor released a patch.
How it was found
- Install Foxit PDF Editor via the Microsoft Store so the package manager downloads the setup executable into a temporary folder.
- Place a malicious file named msiexec.exe in that temporary folder before the elevated installer runs it.
- The elevated installer starts the planted file with High Integrity privileges.
- The planted file registers a service to escalate from High Integrity to System.
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.
When a program starts another program, Windows looks for it in certain folders. Here one of those folders is a temporary area that any normal user can write to. If an attacker puts a fake program with the right name there, the installer runs it with higher permissions than the attacker normally has, which can let them take over the machine.
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.