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.
Originally disclosed on Microsoft
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
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
- Log on to the system.
- Wait for another user to log on to the same system via Terminal Services or Fast User Switching.
- 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.