Inappropriate implementation in Installer (CVE-2026-11103)
The Chrome Elevation Service sets the working directory of a SYSTEM-level recovery process to a user-writable temp folder and accepts older signed recovery packages lacking DLL-loading protections. A local attacker could plant a malicious DLL to escalate privileges to SYSTEM.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 57 days
Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports without the security team.
Overview: The Chrome Elevation Service exposes an interactive COM interface that executes a provided recovery CRX as SYSTEM. During execution, it insecurely sets the child process's Current Working Directory to the user-writable C:\Windows\Temp. By supplying a historically signed CRX and planting a malicious DLL, a local attacker can achieve privilege escalation to SYSTEM via DLL hijacking.
Affected files:
chrome/elevation_service/elevated_recovery_impl.cc
Estimated timestamp from git blame: 2018-11-04
Summary
The Chrome Elevation Service (elevation_service.exe), running with LocalSystem privileges, incorrectly sets the Current Working Directory (CWD) of recovery child processes to the system temporary directory (C:\Windows\Temp). Because this directory is writable by unprivileged interactive users, it creates a Local Privilege Escalation (LPE) vector via DLL hijacking. An attacker can trigger this by providing a historically signed, older version of ChromeRecovery.crx3 that lacks modern DLL loading mitigations.
Vulnerability Details
- COM Accessibility: The Elevation Service exposes the
IElevatorCOM interface. During startup (chrome/windows_services/service_program/service.cc:384),Service::InitializeComSecurity()explicitly addsSids::Interactive()to the DACL, allowing any locally logged-in user to invoke its methods. - Downgrade Attack: The interface exposes
RunRecoveryCRXElevated, taking a user-provided CRX path. The CRX verification (chrome/elevation_service/elevated_recovery_impl.cc:185) only validates the signature against a hardcoded public key hash (GetRecoveryCRXHash()). It does not enforce versioning or rollback prevention. An attacker can supply an older, legitimately signedChromeRecovery.crx3from a time before Chromium implemented theEnableSecureDllLoading()mitigation (which relies onSetDefaultDllDirectories). - Insecure CWD Setting: When launching the unpacked binary,
LaunchCmdprepares abase::LaunchOptionsstructure and sets the current directory to the temp dir:C++ // chrome/elevation_service/elevated_recovery_impl.cc:213-216 base::LaunchOptions options = {}; options.feedback_cursor_off = true; base::GetTempDir(&options.current_directory); base::Process proc = base::LaunchProcess(command_line, options); - Temp Dir Resolution: Because the service runs as
LocalSystem,base::GetTempDir()resolves toC:\Windows\Temp. By default, Windows allows standardBUILTIN\Usersto write files (AppendData) to this directory. - DLL Hijack:
ChromeRecovery.exeis launched asSYSTEMwith its CWD explicitly set toC:\Windows\Temp. Because the attacker provided an older binary lackingSetDefaultDllDirectoriesmitigations, the Windows loader uses Safe DLL Search Mode. If a dependency is missing from the application or system directories, the loader will check the CWD. The attacker can place a malicious DLL (e.g.,version.dllorprofapi.dll) inC:\Windows\Temp. The loader maps it into theSYSTEMprocess, executing the attacker'sDllMain.
Note: These steps are suggested based on static analysis, as our tooling cannot currently run arbitrary code to produce a live proof of concept.
Suggested Fix
Use base::GetSecureTempDirectory() instead of base::GetTempDir() in LaunchCmd(). GetSecureTempDirectory() is specifically designed for SYSTEM processes to resolve to an administrator-only directory (e.g., %SystemRoot%\SystemTemp), preventing lower-privileged users from tampering with it. Alternatively, do not set options.current_directory at all, allowing the child process to safely inherit the Elevation Service's CWD (typically C:\Windows\System32).
Evaluated with Chrome root at commit: 137d451a126685dd5010e6609db9f6d4a78d8234
Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.
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 the service sets the child process's working directory to a world-writable temp folder and does not prevent loading older signed recovery packages that lack secure DLL search mitigations.
Impact
A local attacker could escalate privileges to SYSTEM, though the report notes the steps are based on static analysis and no live proof of concept was produced.
What the attacker needed
Local user access; ability to write to C:\Windows\Temp; historically signed CRX available
The fix
The service should use a secure temp directory for SYSTEM processes or not set the working directory at all.
How it was found
- Invoke the exposed COM interface as a local user.
- Provide an older, legitimately signed recovery CRX that lacks modern DLL loading mitigations.
- Place a malicious DLL in the writable temp directory.
- The service launches the recovery executable as SYSTEM with its working directory set to that temp folder, loading the malicious DLL.
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 background service running with the highest Windows privileges starts another program but tells it to look for supporting files in a folder that ordinary users can write to. An attacker can put a harmful file there, and the privileged program loads it, giving the attacker the same high privileges.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.