Skip to content
Access control Advisory Advanced CVE-2022-22583

Apple macOS PackageKit PKInstallSandbox SIP Bypass vulnerability

PackageKit on macOS had improper access control that let a local attacker who could already run low-privileged code disclose sensitive information in the context of the current user. Apple released an update to correct the flaw.

Mickey Jin Follow

Originally disclosed on Zero Day Initiative

Medium 5.5 View original

This vulnerability allows local attackers to disclose sensitive information on affected installations of Apple macOS. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

Mickey Jin (@patch1t) of Trend Micro, on the Zero Day Initiative

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

How it worked

Root cause

Likely a missing or incorrect permission check in PackageKit's install sandbox handling, allowing a low-privileged local process to reach data it should not access.

Impact

A local attacker with low-privileged code execution could disclose sensitive information in the context of the current user; the advisory does not describe the data or any defence that limited it.

What the attacker needed

Ability to run low-privileged code locally

The fix

Apple issued an update that corrects 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.

PackageKit is the part of macOS that installs software packages. A flaw in how it checked permissions meant someone who already had a small foothold on the machine could read information they should not see. The attacker still needed to run code on the Mac first, so this is not something reachable from the internet.

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 Mickey Jin

View all

41 more disclosed reports, best first.

More from Zero Day Initiative

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.