Skip to content
Path traversal Advisory Intermediate CVE-2024-44178

PackageKit: An app may be able to modify protected parts of the file system (CVE-2024-44178)

A symlink validation flaw in PackageKit allowed an app to modify protected parts of the file system. An attacker could exploit this to alter files that should be off-limits.

Mickey Jin Follow

Originally disclosed on Apple

Impact: An app may be able to modify protected parts of the file system

Description: This issue was addressed with improved validation of symlinks.

Available for: Mac Studio (2022 and later), iMac (2019 and later), Mac Pro (2019 and later), Mac mini (2018 and later), MacBook Air (2020 and later), MacBook Pro (2018 and later), and iMac Pro (2017 and later)

The original report as published on Apple's security release notes, by Mickey Jin (@patch1t). Images and videos are our own copies; raw HTML is shown as text. View it on Apple's security release notes.

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 insufficient validation of symbolic links before performing file operations, allowing a crafted symlink to redirect writes to protected locations.

What the attacker needed

Local app execution

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.

A symlink is a shortcut file that points to another file or folder. If a program follows a symlink without checking where it really leads, it might write to a protected location. Here, an app could use that to change files it should not be able to touch.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Mickey Jin

View all

113 more disclosed reports, best first.

More from Apple

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.