Apple Addresses URI Handler Issues
das writes "Apple released Security Update 2004-06-07 via Software Update. From the brief description:
'Security Update 2004-06-07 delivers a number of security enhancements and is recommended for all Macintosh users. [...] Mac OS X will now present an approval alert when an application is to be run for the first time either by opening a document or clicking on a URL related to the application.'" This also fixes some related security problems with Terminal.app, Safari, and DiskImageMounter. No word in given regarding how the average user should know whether or not to approve the request.
"No word in given regarding how the average user should know whether or not to approve the request?"
...as well as a description of what exactly occurs if this situation is encountered:
Well, first of all, this security update takes the issue completely from the realm of a an automated exploit that could execute arbitrary code simply by visiting a web page with no user interaction or warning, to what can now only be described, more or less, as a social engineering exploit. If you download a new application, like, say an RSS reader, the OS will prompt you to add, for example, the 'feed:' URI handler:
- ONLY the first time, and
- ONLY if it's invoked remotely, e.g., via a web page, URL in an email message, etc.
And since the only value of this exploit came from it being used in two HTML frames with two META REFRESH tags, via a browser, to cause some type of remote volume to mount (or a file to download) AND then have the newly registered URI remotely called, this completely and totally fixes the issue, without hurting the normal functionality of having new URIs get registered when you launch an application. Saying "No word in given regarding how the average user should know whether or not to approve the request" is tantamount to saying that no guidance is given on whether or not a user should even know to open, say, a shareware app they've downloaded for the first time.
On the other hand, if a user is innocently visiting a web site and a dialog box all of a sudden appears prompting the user to accept that *an application* be run, I think it's pretty clear that this handles the issue. This addresses the core of the issue, which was several OS features interacting to essentially enable an automated exploit; that capability is now completely disabled. Apple even went further and removed some suspect handlers (disk:) completely, even though this fix makes it unnecessary.
Also, detailed information on what exactly was changed is here:
http://www.info.apple.com/kbnum/n61798
http://www.info.apple.com/kbnum/n25785
You can verify that these issues are fixed by using the following test site: http://test.doit.wisc.edu/
That's not entirely true. The KB article linked from the SecUpd description provides a screenshot of the approval dialog.
Basically, it notes that the app is being started for the first time, and it says that unless you expected to see that app come up in response to whatever you just did, kill it by pressing 'Cancel.'
I think this is a pretty good way of handling the situation. They could have left the hole unplugged, or simply disabled the functionality in general. The dialog box strikes me as a good compromise.
However, I do think a little more info might be nice, like how long ago the app was installed, etc. Might make it harder for a new app to masquerade under the name of an old app.
If you read the links apple provided, you will eventually end up here: http://docs.info.apple.com/article.html?artnum=257 85
It sounds to me that Apple is begining to have the problems that Windows suffers from. The impossible task of making an OS user friendly enough for an average user, while maintaining security. The integration of the URI stuff is needed for usabilty reasons, but it does present a huge problem from a security angle. Usabilty research on windows has shown that in most cases these dialogs do not help the average user. The average Joe does not understand the dialog, and when they dont understand it, you know what they do? They hit a random option.
I welcome Apple to the problems of making an OS for people other than the tech savy.
Yes, I was just about to hit SubmitStory, and yes, I'm still bitter. ;P
I like the idea, but couldn't the wording of the alert be simpler?
Why not ask "The document you're opening is trying to open and run _____. If you don't want to do this, click CANCEL."
The message makes sense to a geek, but I'm with an earlier poster, many users will just click OK out of confusion.
What that means, I don't know. I'm an Apple user. Hold me.
Well this one is odd to me. The update didn't appear to work. Trying the tests at the following link I get the following:
4 tests
The first one does not execute, but no dialouge is presented.
The second one executes.
The third does not execute, but does launch help viewer, no dialouge
The fourth does not mount or execute on the volume, but does launch a terminal trying to access the volume.
The only reason I can think of why this didn't take may be because I have PA installed but diabled, and it may be interfering with the patch.
Is anyone else having this issue?
T Money
World Domination with a plastic spoon since 1984
What I do not understand is how you can completely eliminate danger from ill-formed people. The fact of the matter is that people are responsible for using computers. We can either have completely dumbed-down OS's (namely, companies such as Apple and M$ take complete responsibility for every sort of sescutiry isssue and to do so ensure they strict limit our use of their products to help mitigate their risk to such a godly -- and equally inane -- level of responsibility) or we accept the fact that the end-users have some responsibility, too. So how should the user know whether to accept or deny...read a book, google it up, or any other of a thousand ways people have spent millenia educating themselves...
Granted, the dialog that Apple has implemented could include some more information, but it is certainly in the right direction. As I am away from a Mac for a week, I am not positive how the new system works. I am not sure if you can say "Always permit this URI..." or if permission is on a per session basis. If the latter that might become annoying...and it might be nice to say "Forever Accept/Deny" in those cases where I feel confident that I can/should do that. Having said that, the one thing that I'd like to see is a list of those apps/URIs I have granted/stripped permission to/from so I have better management over the system....esp. after I FUBAR and grant permission to EvilWare!
Upon removal of PA (but keeping APE) and a reboot:
the first does not execute and no dialouge is presented
The second does not execute, it mounts the server and brings up the dialouge.
The third does not execute but does launch teh help viewer
The forth does not execute but launches the terminal as per the thread in the replies above this one.
T Money
World Domination with a plastic spoon since 1984
A programmer is a machine for converting coffee into code.
I don't know what the fuck you guys are doing, but just go here:
http://test.doit.wisc.edu/
All the exploits on one page.
You're crediting Slashdot with far, far, FAR too much organizational ability.
Trust me. If Slashdot was trying to hide something, they would post it on the front page, in foot-high green letters. Using the 'flash' tag. By accident.
Besides, I frankly think that none of those deserved to be on the main page, including this last one. Basically, they're of interest if you're a Mac user, a Mac admirer, or a Mac basher, and all three of those types already read the apple.slashdot.org section.
And likewise, if they were trying to keep these things hushed up, why would they have posted them at all? Anyone who has any interest in Apple, pro or con, already reads the Apple section, so it's not like they're being very effectively hidden. And nobody else who saw them on the main page would remember that they saw them fifteen minutes later.
There are plenty of conspiracies out there. Go pick a real one to pick on. For example, if you find out what happened to all my damn missing socks, I'll give you a medal.
-fred
Sign #11 of Slashdot overdose: You see the phrase 'moderate Republican' and you wonder if that would be a +1 or a -1.
I know. Those hunchbacks are always cracking my system.
Doesn't it make you feel good to know that our freedoms are protected by politicans, lawyers and journalists.
Did anyone elses machine totally lock up while installing this security update?
Software Update now claims I'm all up to date, but now I'm not so sure.
>The telnet: URL handler is *supposed* to open a telnet connection. It doesn't install any code, it doesn't download anything, it doesn't even execute any commands. It just opens a telnet connection.
telnet::-nmbox will create a trace file of zero length named "mbox". If there was already a file by the same name then the pre-existing file will be silently deleted.
The same exploit could zero out any file with a predictable path name to which the user has write access.
That's what test 4 is about. It's a separate issue from the autoregistration problems but was discovered about the same time.
For those who use the very useful SSH agent sshLogin, I found that I needed to reinstall it after the upgrade, in contrast to the many other OS security updates I've installed since February.
Please notice the spelling in the subject. If you're going to laud the intelligence of my community, I'd prefer that you spell correctly when you do.
THANKS D000D!!!!!
/. posters use dictionaries? Surely not.
But that exploit has already been fixed.
-fred
Sign #11 of Slashdot overdose: You see the phrase 'moderate Republican' and you wonder if that would be a +1 or a -1.
From my original post:That is to say, 'I think posting this on the front page was a mistake because it's not that important.'
Saying they're trying to hide things about the Mac by posting them in the Mac section is silly. Saying that they're trying to hide bad things about the Mac by posting the fixes to those problems on the front page (which automatically lets people know that the problem existed, even if they didn't know before) is logic I am used to from my glue-sniffing comrades of yore. Easy on the recreational substances and the paranoia will fade after a while.
-fred
Sign #11 of Slashdot overdose: You see the phrase 'moderate Republican' and you wonder if that would be a +1 or a -1.
Here's the beginning of the CNET article Apple Computer on Monday released a security patch that fixes what the company called the first "critical" Mac OS X flaw. A combination of holes disclosed by security researchers last month could have allowed an attacker to take over a vulnerable Macintosh, though no such exploits have been reported. Apple issued a partial fix last month, but security researchers had said that the Mac remained open to attack. http://news.com.com/Apple+patches+%27critical%27+O S+X+flaw/2100-7355_3-5228038.html?tag=nefd.top
Can I say "yeah right!" and get away with it? Sounds/smells offaly fishy.