Skip to content
Access control Write-up Intermediate

Admin capabilities around your ears

A privileged Windows service reads a configuration file from a world-writable location, and a non-administrator user can create that file to point to an arbitrary executable, which the service then runs with elevated privileges. This allows a local user to escalate to administrator.

Markus Krell Follow

Published on markus-krell.de

Do you own a Plantronics headset? If you do, you are probably using Plantronics Hub on your system.

Markus Krell (@MarkusKrell), on markus-krell.de

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

Impact

A local non-administrator user could escalate to administrator privileges by causing the update service to run an arbitrary executable.

What the attacker needed

Local access to a Windows system; Plantronics Hub prior to 3.14 installed; non-administrator user account

The fix

The vendor fixed it by requiring the update executable to be signed with their certificate.

How it was found

  1. Install an older version of Plantronics Hub on a test system.
  2. Use Process Monitor to observe the elevated service and the user process during an upgrade.
  3. Trigger the upgrade through the user interface, noting that the user process creates MajorUpgrade.config and the elevated service consumes it.
  4. Revert to the old version and stop the SpokesUpdateService service to inspect the file contents.
  5. Modify the executable path in MajorUpgrade.config to point to a different program.
  6. Restart the update service, which then runs the specified program with elevated privileges.

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.

On Windows, some programs run with high permissions (administrator) and others with low permissions (normal user). Here, a high-permission updater service trusted a file that any normal user could write. By putting a different program path in that file, a normal user could make the service run their chosen program as an administrator.

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 Markus Krell

View all

2 more disclosed reports, best first.

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.