330 karma · joined Feb 4, 2024 (2y ago) · 80 submissions
comment 1y ago · link · parent
I am completely aware of that, but I am aware that other clients handle it just fine. The bug actually forced me to use a different client for when I actually needed an FTP client.
comment 1y ago · link · parent
comment 1y ago · link · parent
As far as risks are concerned: any app with the ability to get a send right to NetAuthAgent (pretty much any un-sandboxed app) can just silently as NetAuthAgent for any saved credentials for file drives (FTP, WebDAV, Samba, etc.), as well as chaining into a leak of all iCloud Contacts and Calendars (plus other stuff from iCloud). Sandboxing makes it difficult, but not impossible.
The risks are zero if you're up to date (and the patch was in October of last year, so you honestly should be up to date already). If you are not up to date for whatever reason and choose not to be, the risks are far more (unless you diligently check every single process that ever runs on your device).
comment 1y ago · link · parent
Entitlement checks are not in the Mach layer of the kernel.
https://github.com/nmggithub/wts/commit/2bdce1c0c76c7adc360e...
Just a one word change, fixing a factual inaccuracy when talking about how XNU works.
comment 1y ago · link · parent
To be honest, any sort of locked down messaging system requires more (i.e. validation of sender, etc.) than just the transfer of messages. And that's just not something you would get with a low-level communication protocol like Mach (unless Apple overhauled the MIG compiler to add entitlement checks).
Mach is fantastic when paired with entitlement checks.
comment 1y ago · link · parent
comment 1y ago · link · parent
It's funny, Apple themselves even suggest people use other apps for FTP: https://support.apple.com/guide/mac-help/servers-shared-comp...
> With read-only access, you can copy files from the server, but to copy files to the server, you may need another FTP app. Choose Apple menu > App Store to find FTP apps available for macOS.
Another funny note: NetAuthAgent has had a bug for years where you cannot connect to an FTP server if your username contains an `@` symbol. I understand the technical reasons for that, but it is technically supported by the spec and other clients work with it just fine. I'd dig up some old posts talking about it going back years, but I don't want to put in the effort, lol.
comment 1y ago · link · parent
80.
Leaking Passwords and more on macOS(wts.dev ↗)
325 points · by nmgycombinator · 1y ago · 62 comments