News for hackers. Stuff that matters.
Re:Critical SIP Bypass Vulnerabilities in macOS PackageKit.f... by orangea on Saturday July 30, 2022 @11:59PM (#32293042)
What is this "shove" operation and how is it different than moving a file the normal way?
Re:Critical SIP Bypass Vulnerabilities in macOS PackageKit.f... by pilif on Sunday July 31, 2022 @12:21AM (#32293151)
The first paragraph in the “Root Cause” section explains: that binary has access to a service that’s allowed to bypass SIP restrictions.

It’s required to have those capabilities because this is what’s used by Apple to install their OS updates

Re:Critical SIP Bypass Vulnerabilities in macOS PackageKit.f... by therein on Sunday July 31, 2022 @01:19AM (#32293379)
So it is privilege-free `sudo move` as a service. Nice.

Do all that entitlement dance all across the OS, sign the bootloader and ensure execution integrity up to the kernel and then do this.

Re:Critical SIP Bypass Vulnerabilities in macOS PackageKit.f... by pilif on Wednesday August 03, 2022 @04:36AM (#32329130)
That's the root of the issue. The service is meant to be used by a system component but didn't or couldn't check whether that was actually true and the failure to check properly was overlooked in the security review.

There's some history of similar problems where functionality offered by a privileged library was exposed to non-privileged users.

This isn't an apple-only issue though - before this system-level of authorization, there was suid binaries which could be abused because they didn't perform proper checking of user input.

Re:Critical SIP Bypass Vulnerabilities in macOS PackageKit.f... by dangrie158 on Sunday July 31, 2022 @01:47AM (#32293511)
Does not seem Privilege free as it seems to need sudo to run the client to connect to the service?
Re:Critical SIP Bypass Vulnerabilities in macOS PackageKit.f... by azinman2 on Sunday July 31, 2022 @02:17AM (#32293632)
My thoughts exactly. If you can sudo, isn’t it already game over?
Re:Critical SIP Bypass Vulnerabilities in macOS PackageKit.f... by eslaught on Sunday July 31, 2022 @02:31AM (#32293694)
But that was the entire point of SIP, wasn't it? To mitigate the impact of a compromised root account. If it doesn't work, then what's the point of going to all this effort in the first place?
Re:Critical SIP Bypass Vulnerabilities in macOS PackageKit.f... by j16sdiz on Sunday July 31, 2022 @02:32AM (#32293698)
Think SELinux.

sudo is bad, but it is not worse.

Like SELinux, you are not supposed to be able to disable without reboot.

Re:Critical SIP Bypass Vulnerabilities in macOS PackageKit.f... by fignews on Sunday July 31, 2022 @04:37AM (#32294235)
Wouldn’t `setenforce 0` be essentially “disabling” SELinux without a reboot?
Re:Critical SIP Bypass Vulnerabilities in macOS PackageKit.f... by OJFord on Sunday July 31, 2022 @07:21AM (#32294818)
Puts it in 'permissive' mode, i.e. 'audit but don't deny'. Disabling (i.e. no auditing either, no record) requires a reboot I believe (a change to kernel param).