Apple macOS PackageKit PKInstallService Directory Traversal System Integrity Protection Bypass Vulnerability
PackageKit on macOS failed to validate a user-supplied path before using it in file operations. A local attacker with low-privileged code execution could escalate privileges and delete files normally protected by System Integrity Protection.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to bypass System Integrity Protection 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.
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
Impact
A local attacker who can already run low-privileged code could escalate privileges and delete files protected by System Integrity Protection; Apple fixed the flaw in an update.
What the attacker needed
Ability to run low-privileged code locally
The fix
Apple issued an update to correct the vulnerability, which should add proper validation of user-supplied paths before file operations.
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.
System Integrity Protection is a macOS feature that stops even administrator-level programs from changing or deleting important system files. Here, a background service called PackageKit accepted a file path from a user without checking it, so a program already running on the machine could point it at protected files. That let the attacker remove files the operating system normally shields.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.