Skip to content
Access control Write-up Intermediate

Security Advisory YSA-2024-01 Yubikey Manager Privilege Escalation

YubiKey Manager GUI on Windows, when run as Administrator, could open browser windows with Administrator privileges. A local attacker could exploit this to perform actions as Administrator, though some browsers like Edge have mitigations.

yubico.com

Published on yubico.com

Published Date: 2024-04-04 Tracking IDs: YSA-2024-01 CVE: CVE-2024-31498 CVSS 3.1: 7.7

The author, on yubico.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 application spawns the default browser as a child process without dropping its elevated Administrator token, so the browser inherits those privileges.

Impact

A local attacker could escalate local attacks and increase the impact of browser-based attacks, but some browsers such as Edge have additional mitigations that prevent opening as Administrator.

What the attacker needed

Windows system; YubiKey Manager GUI < 1.2.6; Tool run as Administrator; Default browser not Edge

The fix

It was fixed in YubiKey Manager GUI version 1.2.6; users should update, or avoid running the tool elevated when FIDO features are not needed, or set Edge as the default browser.

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.

YubiKey Manager is a program for configuring YubiKey security keys. On Windows it must run with high (Administrator) rights to access some features, and any web browser it launches can inherit those high rights. A local attacker could then use that browser to do things with Administrator rights, unless the browser (like Edge) blocks it.

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.