Skip to content
Access control Advisory Advanced CVE-2017-0298

Windows COM Session Elevation of Privilege Vulnerability (CVE-2017-0298)

A DCOM object in Helppane.exe, configured to run as the interactive user, failed to properly authenticate the client. An attacker who logged on could run a crafted application to execute arbitrary code in another user's session after that user logged on via Terminal Services or Fast User Switching.

James Forshaw Follow

Originally disclosed on Microsoft

High 6.6 View original

Description

An elevation of privilege exists in Windows when a DCOM object in Helppane.exe, configured to run as the interactive user, fails to properly authenticate the client. An attacker who successfully exploited the vulnerability could run arbitrary code in another user's session. To exploit the vulnerability, an attacker would first have to log on to the system. An attacker could then run a specially crafted application that could exploit the vulnerability after another user logged on to the same system via Terminal Services or Fast User Switching. The update addresses the vulnerability by correcting how Helppane.exe authenticates the client.

Windows COM

Windows COM

The original report as published on the Microsoft Security Response Center, by James Forshaw of Google Project Zero. 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 DCOM object in Helppane.exe did not correctly verify the identity of the client connecting to it before acting on its behalf.

Impact

An attacker could run arbitrary code in another user's session, potentially gaining that user's privileges.

What the attacker needed

Attacker must log on to the system; another user must log on via Terminal Services or Fast User…

The fix

The update addresses the vulnerability by correcting how Helppane.exe authenticates the client.

How it was found

  1. Log on to the system.
  2. Wait for another user to log on to the same system via Terminal Services or Fast User Switching.
  3. Run a specially crafted application to exploit the vulnerability.

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 lets programs talk to each other using a system called COM. One of these programs, Helppane.exe, was supposed to check who was asking it to do something, but it did not check properly. That meant a logged-in attacker could trick it into running their code inside another person's logged-in session on the same 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.

More by James Forshaw

View all

105 more disclosed reports, best first.

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.