Skip to content
Access control Write-up Advanced

Finding a Privilege Escalation in the Intel Trusted Connect Service Client

The Intel Trusted Connect Service Client installer, when repaired by a standard user, resets the access control list of log files under a world-writable directory to grant Everyone full control. An attacker could create a hardlink from a log file to a service binary, causing the installer to grant full control over that binary, then overwrite it with a payload to escalate to SYSTEM.

trustedsec.com

Published on trustedsec.com

In this post, we will cover a privilege escalation that I found in the Intel Trusted Connect Service Client. The Connect Service Client is part of Intel Management Engine Components and is designed to permit a non-privileged user to become system.

The author, on trustedsec.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the installer's repair action sets permissive ACLs on files in a user-writable directory without validating that those files are not hardlinks to more sensitive files.

Impact

A standard user could escalate to SYSTEM and create a new administrator account; the text notes the flaw was already fixed in a later version, so only the tested older version is confirmed vulnerable.

What the attacker needed

Local access to a Windows machine; standard user account; vulnerable Intel software installed; ability to run msiexec repair

The fix

The vulnerability was fixed in a later release of the Intel Management Engine Components.

How it was found

  1. Run the installer repair command as a standard user from the Windows installer directory.
  2. Observe that the repair process sets the ACL of log files under the Intel iCLS Client log directory to grant Everyone full control.
  3. Delete a log file and create a hardlink with the same name pointing to a service binary.
  4. Re-run the installer repair command to apply the permissive ACL to the service binary.
  5. Overwrite the service binary with a payload that creates a new administrator user.
  6. Start the targeted service to execute the payload and create the administrator account.

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 write-up has not been written yet. The Original tab links to the source.

A standard user can run a repair command for an installed program. That repair process runs with high privileges and changes permissions on some log files, giving everyone full control. Because the user can replace a log file with a link to a protected program, the repair process accidentally gives the user full control over that program, which they can then replace with malicious code that runs as the system.

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.

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.