Month of Apple Fixes 177
das writes "On the same day as the launch of the Month of Apple Bugs (MOAB) (blog), Landon Fuller, a programmer, Darwin developer, and former engineer in Apple's BSD Technology Group, has launched an effort to provide runtime fixes for each MOAB issue as they are released. A fix has already been posted for the first MOAB issue."
Response from Kevin Finisterre, second bug (Score:5, Interesting)
Also, the second bug was just posted a few minutes ago: a udp:// URI handling vulnerability in VLC Media Player [info-pull.com] that affects both the Mac OS X and Windows versions of VLC Media Player. While not exactly what I'd call an "Apple bug" (yes, yes, I know the FAQ says they're also looking at "popular applications" that run on Mac OS X as well), it is interesting to note that vulnerabilities in cross platform applications may transfer more easily to the Intel-based Macs running Mac OS X...
In any event, Apple's immediate technical response and longer-term strategic response to MOAB should be interesting.
(Disclaimer: I am the story submitter.)
Re:Response from Kevin Finisterre, second bug (Score:5, Funny)
Re:Response from Kevin Finisterre, second bug (Score:5, Informative)
Re: (Score:2)
An "upplaying" the bug which is not an Apple bug, in the context of a "Month of Apple Bugs" is NOT rediculous?
What if the auhtor pointed on an exploit in some code that possibly might some day be ported to OS X? To me it seems the same case, just extended. Would that also belong in the "Month of Apple Bugs"?
Re: (Score:2, Insightful)
Re: (Score:3, Funny)
Re:Response from Kevin Finisterre, second bug (Score:5, Funny)
Re: (Score:3, Insightful)
Re: (Score:2)
[*] My entry in the "Understatement of the Year Award for 2007".
Re: (Score:2)
Re: (Score:2)
Anyway, as on Linux and on OS X, if you install mplayer you'll still need to find external support to play WMV's. Just as on OS X, as on Linux, if you install VLC [videolan.org] you can click a WMV and it'll play.
Re: (Score:2)
"Others"? There are two of you?
Re: (Score:2)
sure, unless you want to play them full screen when the author doesn't want you to - you actually have to pay for quicktime pro for that.
Or unless you want to play ogg vorbis or theora content, you'll need to install additional software.
Or unless you want to play any of these: FLV, Flash Screen Video, or AVIs with AAC, AC3, H.264, MPEG4, or VBR MP3 audio. Which is why there's
Re: (Score:2)
now if i don't have the time to set everything up so that it purrs, i'll throw VLC onto a system.
*i'm sure front row will be just stellar with this setup, but i have a PPC in my mini, so apple said "wait 'till leapard... or install an older version of OS X and patch it." sometimes apple's idiotic policies (.mac, quicktime pro, front row be
Re: (Score:2)
Mac users actually appreciate well-designed interfaces, so that's not really an option.
It's kind of sad when a program is beaten on interface design by mplayer, of all things.
Re: (Score:2)
If you don't like the interface that comes with vlc, pick another one [videolan.org]. Incidentally I've found quicktime to be one of the most annoying fucking apps ever. The wanky little pull-outs that slide out unnecessarily are just stupid. I guess "pretty" is what stands in for "well designed" in apple-land these days.
Re: (Score:2)
And when did you last use Quicktime? It hasn't had any sliding drawers for years and years.
Re: (Score:2)
I'm sorry to hear that application developers don't offer you the same flexibility on OSX that we tend to get everywhere else.
Most people will never need to mess with the preferences window at all. I've looked at it a zillion times but never actually changed anything.
Apparently that's how long
Re: (Score:2)
The flexibility to choose between a wide array of interfaces that are consistent only in their all being horrible to use is not really considered a feature. We like interfaces that look like the rest of the OS, and behave in ways specified by the HIG. I do not feel the need to put stickers and custom rims on my car, and I do not feel the need to rice my computer, either.
Most people w
Re: (Score:2)
Yeah, I started to get my back all up but luckily I finished reading your comment. Apple has three widget sets and they use them all in currently shipping versions of OSX. They have also apparently forgotten everything they
Re: (Score:2)
Or learn a little scripting. Apple didn't learn the "if you don't want it used, don't ship it" tenet of security. The full screen functionality (at least it used to be) was easily accessible with AppleScript, even without pro.
Re: (Score:2)
That's not really a security issue because Quicktime and Quicktime Pro are the same software. Quicktime is simply crippleware based on the regkey - features are disabled. Want proof? The same download works for both quicktime and quicktime pro, and the dif
Re: (Score:2)
Yes, it is a security issue, but only from Apple's point of view. Customers are getting something they didn't pay for. That's a hole in the implementation. The only truly secure implementation would be to not ship the feature in the lite version.
odds of the average user writing an applescript to fullscreen quicktime is basically nil compared to the odds of them downloading VLC
Not when it's easy to find and do [macosxhints.com]. It's
Re: (Score:2)
*Granted, last time I did this was 2 years ago, I'm sure things have progressed.
Re: (Score:2)
Eh, shit happens. But that's pretty irrelevant when we're talking about a mac. The clueful will figure it out, but most people are not clueful. Most people are fucking lames. Which is why the mac has one button :D (sorry, couldn't resist)
Re: (Score:2)
Heh. For me it was (Score:2)
These days, it's Linux goes on the back end machine, OS X on the front end, and Windows off the deep end.
Re: (Score:2)
Most people have never heard of VLC, because they don't live for their computer. They actually do other stuff, and don't care to go finding software like this. I've mentioned it to a few people, and none had heard of it.
Slashdot != normal people
Apparently I'm abnormal. (Score:2)
Re: (Score:2)
That doesn't mean it's popular though. I still don't know anyone outside of tech-based websites who's heard of it when asked.
Re: (Score:2)
Actually, I was talking about slashdotters, of which he is one. As you point out, this is slashdot. VLC releases hit the front page. He should really
Re: (Score:2)
It's not even shipped by default ! (Score:5, Insightful)
[simon:~] simon% vlc
tcsh: vlc: Command not found.
[simon:~] simon% perl VLCMediaSlayer-x86.pl
jump address is: 0x41424344
writing to file: pwnage.m3u
[simon:~] simon% open pwnage.m3u
[simon:~] simon% (opens iTunes)
the application for this second bug is not even shipped on Mac's by default! Meaning that this completely 3rd-party software, if installed onto a Mac, can cause problems with the Mac. And this is Apple's problem how, exactly ?
Simon
Sorry, but that's bogus (Score:5, Insightful)
If Apple don't supply a piece of software, it is *not* their fault that there can be subsequent problems using that piece of software, it's the program-author's fault. Obviously vlc isn't completely necessary (otherwise I would have it installed, I install a fair amount of linux-related s/w). I do have windows-media player and realmedia player installed...
To say that just because Apple don't supply a particular feature (viewing movies that require codec XXX), it's Apple's problem when you install 3rd-party software that does is just
By the same logic, it's Apple's fault that:
- I can't run my FPGA-mapping software on my Mac Pro, because Xilinx don't support the Mac. Apple ought to do something.
- I can't run any game I want on the Mac. Curse those game-producing companies, oh no, wait, it's Apple's fault.
- My Mac doesn't make toast! How simple is making toast? Apple ought to pull their finger out!
- ad nauseum.
Install 3rd-party software, have problems with that software, blame the software author. Don't blame the machine manufacturer / operating-system provider.
Moan like buggery (*) (hmm, unfortunate turn of phrase
Simon
(*) "Moan like buggery" isn't really rude where I come from, oddly enough...
Re: (Score:2)
Even assuming this is correct, VLC isn't and doesn't become the default handler for m3u files. itunes remains the handler even after VLC is installed
Not the only way, codec packs in Quicktime (Score:2)
That's just plain wrong - I don't use it much myself because I simply have used codec packs that install into Quicktime, for things like Divix videos and WMV9. What codecs were you thinking of that you can't load this way?
A more meaningful though still questionable bug would have been in a Divix codec pack for Quicktime. I would
QuickTime + Flip4Mac + Perian = no need for VLC (Score:2)
QuickTime for Mac OS X can be similarly augmented:
Simply download Flip4Mac [microsoft.com] (free) for WMV support and Perian [perian.org] (free) for support for just about everything else.
No need for VLC.
Re: (Score:2)
Re: (Score:2)
You appear to have completely missed the phrase "Both x86 and PowerPC versions are provided." in the reproduction steps section. The problem is that, like many people these days, you see an apparent coincidence (that both use the same architecture, even though it's a false observation) and assume causality. If you write code with a buffer overflow and compile it
Second bug fix already in progress... (Score:5, Informative)
Thanks. (Score:2, Insightful)
Nothing to see here. Move along. (Score:4, Funny)
Stop the presses (Score:2, Funny)
To prevent confusion I propose it should be Apple Month of the Bugs. AMOB
Actually... (Score:4, Funny)
AMOB Anna Maria Oyster Bar (Bradenton, FL)
AMOB Automatic Meteorological Oceanographic Buoy
You should try an acronym that is totally original, like:
Exploits & bugS from aPple moNth
Re: (Score:2)
Re:Stop the presses (Score:5, Funny)
Re: (Score:2)
Re: (Score:2)
privsep? (Score:3, Interesting)
I realize that the idea is just catching on in IE and has not been implemented anywhere else, but why doesn't Safari setuid() the rendering engine to guest (or some other nonprivileged user)?
Is this feature in the works? I certainly hope so.
Re: (Score:3, Insightful)
chown unknown
chmod u+s unknown
chown -R unknown ~/Library/Caches/Safari
chown -R unknown ~/Library/Safari
Re: (Score:2)
I think that the program must explicitly set a new userid; the real, effective, and saved userids are not changed by the permissions on the file. The file permissions merely allow these functions to be called, they do not change ownership - this must be explicitly done in C. I can verify this in my Stevens book if you want.
So... without help in the Safari binary, it will not be running with less privilege regardless of the permissions.
Re: (Score:2)
Making Safari setuid via the filesystem requires fewer changes and no need for superuser.
Re: (Score:2)
It most certainly does not:
Re: (Score:2)
Because it just creates a false sense of security. (Score:3, Insightful)
First, let me make one point clear. This is not "just catching on in IE", it has been used for running potentially exloitable applications in UNIX for decades. It's a last resort when applied to interactive programs... it's usually used with applications that are running unattended and providing services to the outside
Re:Because it just creates a false sense of securi (Score:2)
Internet Explorer is currently the only browser that implements this technique, and it does so only on Vista (AFAIK).
I run as a restricted user on Windows, and I use RunAs to elev
Unabomber. (Score:3, Informative)
Has anyone verified bug is exploitable yet? (Score:5, Interesting)
Re: (Score:2, Informative)
And I can verify it does not work on a MacPro (Score:2, Informative)
Given that the Ruby script is slightly flawed, how are we to assume that they are even capable of coming up with a real exploit instead of just crashing applications?
Month of Apple Bugs, indeed! Given the second bug (an error in VLC! Oh My!) I think the whole effort is going to backfire and point, correctly or not, as a shining example as to the lack of serious problems in OS X itself (unless they are saving something
MOABs (Score:2)
Microsoft Often Anticipates Bugs, but they have a "fix it after it shows itself" policy. Maybe Our Apple Boys will take security more seriously now.
May Omnipotent Allah Bless their efforts.
Teh weak MOAB... (Score:2)
No wonder this guy's hiding.
0% (Score:2)
Re: (Score:2)
Someone, I think it was Macslash reported that a few machines got the full exploit, while most simply got the crash. Crashes aren't good, but they're hardly arbitrary code execution, either.
Also - I seem to remember hearing that the newest intel chips have hardware protection that prevents the execution of code loaded into data buffers (i.e., buffer overrun attacks) - could that have an effect?
Not that I've found (Score:2)
I've posted on Macslash, and Digg as well looking for anyone who can reproduce the results (and now have tried it myself on my own Macbook Pro) - I have yet to see a post saying it works on thier computer. On the website they have a shell exploit version which they gaurantee works "but you have to verify with a debugger". to the naked eye, it also crashes Quicktime with no other result.
Even
Re: (Score:2)
I seem to remember hearing that the newest intel chips have hardware protection that prevents the execution of code loaded into data buffers (i.e., buffer overrun attacks) - could that have an effect?
Don't know, however the "exploit" doesn't work on my PowerPC based Mac either.
THIS is an Apple bug? (Score:2)
Well, if that qualifies maybe they should start looking into MS Office for Apple bugs......
Re: (Score:3, Interesting)
But, yeah, it's kind of weak. If this is the best they can come up with, Apple can rest easy.
You can tell MOAB doesn't have an ax to grind (Score:2)
Month of Apple Fixes ... (Score:2)
good to see (Score:2)
well never mind... (Score:2)
Re: (Score:2, Insightful)
Re:rushed fixes, and untested at that (Score:5, Informative)
How do you uninstall these quick fixes? Simple. They'll almost all invariably be runtime fixes with Application Enhancer (APE) [unsanity.com]. APE modules are just self-contained directories; nothing more. They can be unloaded on demand, and APE itself can be easily installed, uninstalled, disabled, and modules can be loaded and unloaded at will.
Also, Landon Fuller is anything but an "Apple fanboy", or in any way remotely interested in "saving Apple's rep". The idea is to look at the bugs, and see if a quick technical solution or remediation can be provided. No one has to install them. Since the code is available, anyone can see what's being done, including the rest of the community. If one wishes to wait for Apple's official patches, fine.
Aside from all of this, of course Mac OS X, like any other operating system or large software project, has bugs. Some of these bugs will enable vulnerabilities that can be exploited. I fail to see how any of this is surprising. If you're actually interested, I've summed up my thoughts on this here [securityfocus.com].
Re:rushed fixes, and untested at that (Score:4, Informative)
APE isn't going to be necessary for ANY fixes from Apple. Apple will release their fixes in due course, and they'll be like all their previous fixes have been: normal updates to the OS that come down via Software Update, etc.
But since we can't directly fix Apple's code, this is a little technical exercise that fixes them with runtime patches. One very easy way to do runtime patches and code injection such as this is to use APE.
Also, APE is *very* easy to uninstall. It has its own uninstaller right in the installer, which will, categorically and definitely, uninstall every single last thing that has anything to do with APE.
Also, there is nothing wrong with APE, and here is a very detailed explanation of exactly what APE is and what it does [unsanity.org].
All this project is is just that: a project. The community is welcome to inspect all of the source code, and anyone is free to use these runtime patches. Yes, QuickTime, and VLC, and everything else that will be covered in MOAB will be fixed by Apple and the various applicable vendors/developers. That is not at all the point of providing on-demand runtime fixes each day, and you have apparently totally missed the point of this projects, and the post you responded to where I pretty concisely explain it.
Re:rushed fixes, and untested at that (Score:5, Informative)
If I have time, or if people help me.
I tested thoroughly on Intel and PowerPC Macs. I wouldn't release a fix to the world without being fairly certain that it works correctly. You're welcome to review the code for the first fix -- it's about 10 lines. I'd be happy to explain the various entry points for you, too. We're using these fixes on all our Macs here at Three Rings Design.
Alternatively, you can not use the patch. I won't mind.
You open the Application Enhancer pref pane and hit the "-" (minus) button.
Re: (Score:2)
Re: (Score:2)
Nothing is hidden, and Landon isn't trying to hide anything that's being done.
Also, these fixes are runtime fixes via APE [unsanity.com] modules. They only place they're "installed" is into APE, so they can all be easily removed/disabled at will (as can APE itself). There is nothing wrong with the principle of runtime patching, and this is really a technical exercise more than anything. But again, the code is all right there, and you can see exactly what is being done.
Re: (Score:2)
Worst possible response. Are you suggesting that all Apple users become professional software developers? My girlfriend has trouble getting iTunes to work correctly. I don't think that the source code would mean anything to her. And no, I would NEVER suggest installing any Apple fixes that are not directly from Apple. I wouldn't care if it was Linus Torvalds, himself that was posting fixes.
Re: (Score:2)
Talk about an exaggerated response. Nobody's telling your girlfriend to look at source code or become a professional software developer. Source code is available for those smart enough to understand it, and if anything bad is in it, the community would be warned.
Re: (Score:2)
Re: (Score:2)
It's just like not taking the polio vaccinations because you've heard they might cause HIV as a western plot [wikipedia.org] even though there's no evidence and no rational mind would think that. Sigh, I wish I was kidding about that.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
By the same logic it's NEVER a good idea to install third-party software.
Re: (Score:2)
They don't need to. They just need to know someone they trust who is competant to read the source. It doesn't even have to be someone they know... for example, if source this small was crocked there would be approximately two thousand posts in this discussion pointing it out. So, really, "all Apple users" just have to know someone who they trust who knows where to look.
Especially since Apple's fixes, in the past, have not alway
Re: (Score:2)
JoeBlow isn't going to be able to compile the code himself. So it doesn't really matter if JoeBlow sees that some guy claiming to be a software dev on the net reviewed and ok'ed the code.
Re: (Score:2)
Or you can get a copy from someone trustworthy who has done so, or you have someone trustworthy verify that the executable matches the source, or... the point is, the source code allows you to build a stronger chain of trust for the software. For any software, whether it's a fix or a game... after all, the same argument about installing a security fix from anyone but Appl
Re: (Score:2)
Re: (Score:2, Insightful)
Re:Install a fix not from Apple? Fat Chance (Score:5, Informative)
Absolutely -- but I'd still strongly suggest disabling the QuickTime RTSP component:
http://isc.sans.org/diary.php?storyid=1993
You forgot number 4:
4. Have my professional and personal reputation permanently sullied.
I'll pass! =) The code is up for review, but if you don't feel comfortable with my fix, you can disable the primary attack vector by following the directions from the SANS web site.
Re: (Score:2)
As I understand it, the Quicktime bug of yesterday is particularly bad since it will load automatically without asking if you wish to run it first.
Re: (Score:2)
It's not as dangerous as a bug which requires no interaction whatsoever, but it's common enough for people to boink on random links that the risk level of that exploit could be fairly high. It will be interesting to see whether malicious exploits appear widely for any of these Mac bugs, and how quickly they spread if so...
Might see some attacks but... (Score:2)
Even were a Mac virus or worm to hit the wild, the rate of propagation would likely be a lot slower than on Windows due to the fewer systems out there.
Re: (Score:2)
Re: (Score:2)
One is the month of bugs. The other is the moth of fixes, a response to the first and a different project by different people. You can at least correctly read the title of the article summary before declaring it a dupe. MOAB != MOAF.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Perhaps OS X doesn't, but Silk does. That was kinda my point, just kinda.
Re: (Score:2)
Just keep laughing, and please totally ignore all bug reports. If it was important, Steve Jobs would have called you personally - seriously, Apple service is just *that* good.