Skip to content
Access control Advisory Intermediate CVE-2018-8339

Windows Installer Elevation of Privilege Vulnerability (CVE-2018-8339)

The Windows Installer failed to properly sanitise input, leading to insecure library loading. A locally authenticated attacker could run arbitrary code with elevated system privileges.

SandboxEscaper Follow

Originally disclosed on Microsoft

High 7.4 View original

Description

An elevation of privilege vulnerability exists in the Windows Installer when the Windows Installer fails to properly sanitize input leading to an insecure library loading behavior. A locally authenticated attacker could run arbitrary code with elevated system privileges. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. The security update addresses the vulnerability by correcting the input sanitization error to preclude unintended elevation.

Windows Installer

Windows Installer

The original report as published on the Microsoft Security Response Center, by SandboxEscaper and Daniel Docherty, MWR Labs. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 Windows Installer did not properly validate a file path before loading a library, allowing a local attacker to place a malicious library where it would be loaded.

Impact

A locally authenticated attacker could run arbitrary code with elevated system privileges, potentially installing programs, viewing or changing data, or creating accounts with full user rights.

What the attacker needed

Local access to the machine; authenticated user account

The fix

The vulnerability was fixed by correcting the input sanitisation error to prevent unintended elevation.

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.

Windows Installer is a program that installs and removes software on Windows. It loaded a library file from a location an attacker could control, so a logged-in user could make it load a malicious file and gain higher privileges.

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.

More from Microsoft

View all

The newest disclosed reports for this program.

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.