main

Apple's carpet-bomb Safari flaw can wreak havoc on Windows

Daniel Fleshbourne   on 10 June 2008 - 09:10 · 50 comments & 20071 views

Advertisement (Why?)
A researcher has created a proof-of-concept site that graphically demonstrates the risk Windows users face when using Apple's Safari browser. Microsoft's security team already warned that a "blended threat" was so serious that Windows users should curtail their use of Safari until a security patch is available. This blog post from researcher Liu Die Yu makes it clear the warning was by no means overstated.

Clicking on this link with Safari using default settings automatically downloads a booby-trapped file onto a Windows user's desktop with no prompting. The next time the user opens Internet Explorer, the force-fed file automatically causes the notepad.exe application to launch and open a non-existent file. Of course, miscreants could choose far more nefarious code.

When informed that its browser downloads files with no prompting, Apple said it may get around to changing this behavior at some point. In other words, this is no big deal from a security perspective, so let's all move on. This demo suggests otherwise.

View: The full story @ The Register

Post a comment · Send to friend Comments · There are 50 additional comments
(9 replies) #1 Jugalator on 10 Jun 2008 - 09:35
On Windows Vista + UAC too? Because I don't recall Safari on Windows requests admin rights via UAC at startup, and if it doesn't, that would be odd if it could happen.

Edit: Ah, so this is a combined vulnerability with IE? Two browsers that can in combination do the necessary things to execute code with no requests. By itself, Safari is not doing anything that can cause much of a problem, it's when using it together with another security flaw, this time in IE, things start going wrong. Personally I think IE sounds even worse here -- that's what's executing the code without asking here. What Safari does is only downloading your file to the desktop without asking. Even without Safari involved, that flaw in IE could cause security risks.
Safari for Windows downloads files to Desktop by default with no confirmation - which is a quite reasonable and convenient feature. And Windows Internet Explorer loads program library(DLL) from Desktop if the filename is set to some specific value. Two things added up, or "blended", IE loads library file downloaded by Safari.


Last edited by Jugalator on 10 Jun 2008 - 09:42
#1.1 XerXis on 10 Jun 2008 - 09:50
(Jugalator said @ #1)
On Windows Vista + UAC too? Because I don't recall Safari on Windows requests admin rights via UAC at startup, and if it doesn't, that would be odd if it could happen.

Edit: Ah, so this is a combined vulnerability with IE? Two browsers that can in combination do the necessary things to execute code with no requests. By itself, Safari is not doing anything that can cause much of a problem, it's when using it together with another security flaw, this time in IE, things start going wrong. Personally I think IE sounds even worse here -- that's what's executing the code without asking here. What Safari does is only downloading your file to the desktop without asking. Even without Safari involved, that flaw in IE could cause security risks.
Safari for Windows downloads files to Desktop by default with no confirmation - which is a quite reasonable and convenient feature. And Windows Internet Explorer loads program library(DLL) from Desktop if the filename is set to some specific value. Two things added up, or "blended", IE loads library file downloaded by Safari.


1) why UAC doesn't prompt?

The user desktop does not need special permissions

2) what is the safari flaw?

downloading files without asking the user if he wants to download it

3) what is the windows "flaw"? (because it's not an ie7 flaw as stated wrongly)

windows will look for libraries that executables need in the PATH variable. If it finds a library (dll file) on the user desktop before it looks in the system32 folder it will use that dll instead of the original one. The malicious dll get's called by the application and can execute code in the same process as the trusted application (in this case ie7 is used, but it could be any executable that is widespread and uses dynamic libraries)

-----

solutions

1) UAC works as expected
2) change the download folder of safari to a directory that is not in the PATH variable
3) by design in the windows OS (not ie7 as wrongly stated)

----

responses from the companies

apple: we don't care
microsoft: by design, if someone can acces the directories specified in the PATH variable the computer already has been compromised. Change the download folder of safari until apple fixes the flaw

---

my opinion: apple's fault, a browser should never download files without asking first
#1.2 vetmarkjensen on 10 Jun 2008 - 12:31
XerXis,

The default download location for Firefox is "Desktop" as well. Perhaps IE does, I don't know. Is the location "Desktop" inherently insecure? Or is it just the fact that it doesn't (apparently) ask?
#1.3 XerXis on 10 Jun 2008 - 12:40
(markjensen said @ #1.2)
XerXis,

The default download location for Firefox is "Desktop" as well. Perhaps IE does, I don't know. Is the location "Desktop" inherently insecure? Or is it just the fact that it doesn't (apparently) ask?


imho it's not the default location that is the problem, i download to my desktop a lot, it's convenient. The problem is the default safari configuration that allows websites to download files without prompting. Which, again imho, is a grave error.

One can argue about the mechanism in which windows loads dynamic libraries and to be honest, i don't think windows should look for dll's anywhere else than in the directory where the executable resides or the system32 directory. But I wouldn't call it a major flaw in windows (and certainly not in ie7). I think the quickest and nicest solution to the problem is changing the default safari settings to make sure files can't be downloaded without user consent.

edit: afaik linux also looks for libraries in the same manner as windows (by traversing to the PATH directories) and would be equally vulnerable if the user desktop would be in the PATH variable. But I think markjensen knows more about that

edit2: on a normal vista installation the PATH variable doesn't contain the user desktop, placing the dll on the desktop has no effect whatsoever

Last edited by XerXis on 10 Jun 2008 - 13:03
#1.4 anthonyspt on 10 Jun 2008 - 14:18
(Jugalator said @ #1)
On Windows Vista + UAC too? Because I don't recall Safari on Windows requests admin rights via UAC at startup, and if it doesn't, that would be odd if it could happen.

Edit: Ah, so this is a combined vulnerability with IE? Two browsers that can in combination do the necessary things to execute code with no requests. By itself, Safari is not doing anything that can cause much of a problem, it's when using it together with another security flaw, this time in IE, things start going wrong. Personally I think IE sounds even worse here -- that's what's executing the code without asking here. What Safari does is only downloading your file to the desktop without asking. Even without Safari involved, that flaw in IE could cause security risks.
Safari for Windows downloads files to Desktop by default with no confirmation - which is a quite reasonable and convenient feature. And Windows Internet Explorer loads program library(DLL) from Desktop if the filename is set to some specific value. Two things added up, or "blended", IE loads library file downloaded by Safari.



Ya, no... For it happen without Safari would require another 'malicious' piece of software that could download files to the computer without marking them as 'blocked', as is the standard on Windows. Safari bypasses the Windows security measures and writes files directly without any blocked flag.

As for the UAC, as long as Safari is downloading the files to the USER'S folder, then it would have permission to do so, since these are USER level access files.

IE on the otherhand on Vista isn't even allowed to run at user level, and even if the blocked flag could be circumvented, IE can't access another process or even write to user file areas without specific permissions.

All the Apple defending doesn't help.

This is a security flaw, should NEVER be allowed in the first place, and secondly Safari as bug infested as it has been shown isn't holding up well to other basic spoofs and malicious attempts, from day one of its release it looked like a beginner trying out a browser, not something from a company like Apple. (Most of the code should have ported pretty easily, so we can assume many of the flaws exist on OS X as well.)

Additionally, Safari should respect the OS security model, and mark the files as blocked since they are coming from untrusted sources. There is a reason why people have digital signatures, and files are signed and unsigned content gets a block flag. It is a good practice, and even if not Safari should respect the OS and not circumvent its security processes.

If Microsoft made Word for Mac to allow unmonitored downloads and opened tons of exploits, Mac users would scream pretty freaking loud, as they should.



So shame on Apple, and don't use safari on Windows unless you are testing web sites for your own development purposes. PERIOD.



Sadly, right now the most secure way to browse the internet is with Vista and IE running as default in protected mode. Even the latest RC from Firefox 3 has some serious flaws that let 'web sites' shove the browser to pop the DEP, and you are safe as long as DEP is enabled on your system, as it will kill the browser. However some users turn it off, and it doesn't run for every process on non DEP enabled processors as DEP is software emulated on these computers.

(Firefox testers, make sure DEP is enabled on Windows, trust me on this, there are a few exploits already floating around for last weeks release.)
#1.5 vetmarkjensen on 10 Jun 2008 - 14:21
Thanks. I was wondering, because your post mentioned both the location and the download that didn't require an "OK" as problems. I agree with you that the location should not really be an issue - all browsers probably have desktop as default, and most users I know set it that way, even if it isn't default. (I, myself abhor desktop clutter)

In Linux, as you mentioned, I suppose the equivalent would be one browser that downloads files into firefox's 'plugins' directory in the user account (obviously this would not work for system-wide in Linux, just as UAC or other account permissions would forbid this system change in Windows). Then, when you start firefox, it would have the specially-named plugin installed. I don't know of any app in Linux that looks to "desktop" for plugins/libraries, but I would consider any app that did so to be not well-written, regardless of platform.
#1.6 XerXis on 10 Jun 2008 - 16:12
(markjensen said @ #1.5)
Thanks. I was wondering, because your post mentioned both the location and the download that didn't require an "OK" as problems. I agree with you that the location should not really be an issue - all browsers probably have desktop as default, and most users I know set it that way, even if it isn't default. (I, myself abhor desktop clutter)

In Linux, as you mentioned, I suppose the equivalent would be one browser that downloads files into firefox's 'plugins' directory in the user account (obviously this would not work for system-wide in Linux, just as UAC or other account permissions would forbid this system change in Windows). Then, when you start firefox, it would have the specially-named plugin installed. I don't know of any app in Linux that looks to "desktop" for plugins/libraries, but I would consider any app that did so to be not well-written, regardless of platform.


no you misunderstood me I think, it has nothing to do with plugins. Let's take a commonly used linux library as example: libxml.so

Let's asume the user desktop is in you Path environment variable (or the linux variant of it) so that the OS looks for libraries on you user desktop. Neither vista nor linux have this as a default afaik. Now safari for linux (yes i know it doesn't exists) downloads a file called libxml.so to your desktop without asking and sets none of the security flags. Next you start a program that uses the libxml library, linux searches in its lib directories for the file, finds it on your user desktop and loads the malicious code.

That would be the linux equivalent and that's why I hesitate calling it a flaw, it's just how things work
#1.7 vetmarkjensen on 10 Jun 2008 - 16:46
Maybe you and I just differ on whether having a Desktop area (where users often drop all sorts of random crap, you know it's true) as part of the system path is a good idea. Like I said, many browsers default to that location, and where it doesn't default to it, many users set it that way.

If an app (or the OS) looks to "Desktop" for libraries, it is just plain wrong. Downloading without at least a box to confirm "open with... or save file" is wrong.

If Microsoft has "Desktop" as part of their normal system library path, then perhaps they ought to re-think that plan. After all you can't call every app to save to Desktop as insecure or wrong. And if Windows lets me save to the desktop, isn't it also wrong without UAC or some such alert? (who know, maybe Vista does alert if you save something from IE to Vista's desktop)

A stand-off between Microsoft and their unwise use of Desktop as a storage location for executables and Apple and their unwise choice in "silent" downloads by default doesn't benefit the consumer at all. I am sure we both agree on that. Safari can be fixed by changing a check-box. It is stupid of Apple to not change that default operation for all future versions. Then, when a user chooses to silent save, IE's poor choice (NOT changeable, by the way) to use the desktop to look for files will still leave a non-knowledgeable user vulnerable to this issue.
#1.8 XerXis on 10 Jun 2008 - 16:56
(markjensen said @ #1.7)
Maybe you and I just differ on whether having a Desktop area (where users often drop all sorts of random crap, you know it's true) as part of the system path is a good idea. Like I said, many browsers default to that location, and where it doesn't default to it, many users set it that way.

If an app (or the OS) looks to "Desktop" for libraries, it is just plain wrong. Downloading without at least a box to confirm "open with... or save file" is wrong.

If Microsoft has "Desktop" as part of their normal system library path, then perhaps they ought to re-think that plan. After all you can't call every app to save to Desktop as insecure or wrong. And if Windows lets me save to the desktop, isn't it also wrong without UAC or some such alert? (who know, maybe Vista does alert if you save something from IE to Vista's desktop)

A stand-off between Microsoft and their unwise use of Desktop as a storage location for executables and Apple and their unwise choice in "silent" downloads by default doesn't benefit the consumer at all. I am sure we both agree on that. Safari can be fixed by changing a check-box. It is stupid of Apple to not change that default operation for all future versions. Then, when a user chooses to silent save, IE's poor choice (NOT changeable, by the way) to use the desktop to look for files will still leave a non-knowledgeable user vulnerable to this issue.


no we don't differ in that respect, looking on the desktop for libraries is a bad idea, and as far is known, neither linux or vista do it (can't say what xp does). So I completely agree with you, my bad if you got the wrong idea . If xp looks on the desktop for libraries I assume changing your Path environment variable would take care of that.

I don't think an UAC prompt should popup when I want to save a file to my own desktop, neither would i expect a sudo prompt when i save something in my /home/username on debian. I was only trying to explain the exploit and drawing some analogies between different OS's, don't take my posts as deffending or attacking apple, microsoft or linux.
#1.9 vetmarkjensen on 10 Jun 2008 - 17:02
No worries. I was just not understanding the direction you were going, so posted back my opinion and my attempt to explain by example.
(1 reply) #2 +rm20010 on 10 Jun 2008 - 09:37
Well, on Vista x86 nothing seems to happen. IE7 opens as it normally would. UAC at work here?

edit: If all it takes is a file called 'schannel.dll' to be on the Desktop for something to happen, then I'm assuming Microsoft patched this bug up some time ago.
#2.1 thenonhacker on 11 Jun 2008 - 13:48
SAFARI is like a TROJAN with the APPLE Branding.

FIX THE FLAW APPLE! MICROSOFT IS DOING THEIR PART. SO DO YOUR PART.
#3 vetmarkjensen on 10 Jun 2008 - 09:47
#4 Imran Hussain on 10 Jun 2008 - 10:04
WTH this news is OLD!
(1 reply) #5 xiphi on 10 Jun 2008 - 10:12
Nothing happens on Vista, but the flaw works on XP. Tsk tsk Apple and MS.
#5.1 thenonhacker on 10 Jun 2008 - 13:21
I am very glad that I use either Firefox or IE (mainly Firefox ) as my browsers!

As for Safari, Apple is still stuck in the old ways of "Security by Obscurity".
Apple takes this critical security matter so lightly.

I just hope that websites will take advantage of this flaw
and fill up the desktop with 1000 GB's of useless files on MacOSX,
let's see how Apple would change their mind
about the urgency of the Carpet Bomb Safari Security flaw!
(1 reply) #6 CoolBits on 10 Jun 2008 - 11:26
IE automaticali executes a dll on your desktop... oh yes... lets blame apple hehe
#6.1 thenonhacker on 10 Jun 2008 - 13:19
Thanks to Safari, my computer is at HIGH RISK
getting BIG ISO Files getting downloaded to my PC.

No thanks to Safari.

Guys, don't use that crappy and dangerous Safari browser.
Apple doesn't care, so stick with Firefox, IE, or Opera.

H A H A H A
S A F A R I
S U C K S ! ! !
F I R E F O X
F T W !

Last edited by thenonhacker on 10 Jun 2008 - 13:25
(5 replies) #7 +kraized on 10 Jun 2008 - 11:39
So the fact that IE automatically executes a DLL file on the Windows desktop (without prompting the user) is the fault of the Safari browser? Huh?

Why on earth does IE execute Windows DLL system files without a warning?
#7.1 Arkos Reed on 10 Jun 2008 - 12:01
(kraized said @ #7)
Why on earth does IE execute Windows DLL system files without a warning?


Because IE is a part of windows, relies on DLLs like the rest and the desktop is part of the system PATH variable? oh and additionally, the dll name they chose isn't innocent, it's the TCP/IP TLS/SSL Security Provider



additionally, yea they need to partition system resources quite a bit more securely

Last edited by Arkos Reed on 10 Jun 2008 - 12:07
#7.2 atari800 on 10 Jun 2008 - 12:03
Same could be said about Safari not prompting you about downloading files without a warning

#7.3 CoolBits on 10 Jun 2008 - 12:08
(atari800 said @ #7.2)
Same could be said about Safari not prompting you about downloading files without a warning

You can tick a checkbox on safari not to download automaticaly... But IE still executes a dll on you desktop LOL
#7.4 +Odom on 10 Jun 2008 - 12:25
Hence the
with Safari using default settings
#7.5 ricknl on 10 Jun 2008 - 12:42
(CoolBits said @ #7.3)
(atari800 said @ #7.2)
Same could be said about Safari not prompting you about downloading files without a warning

You can tick a checkbox on safari not to download automaticaly... But IE still executes a dll on you desktop LOL


And why shouldn't it? Your desktop is an other folder on the system.

And this issue has nothing to do with IE. The example is given like that. It could be with Firefox or Word too, or any other Windows application.
(1 reply) #8 plastikaa on 10 Jun 2008 - 12:24
Apple is the really not that concerned about security... how odd, arent they always claiming to be the safest? They arent safer through design ... they are safer through no-one wants to attack them.

If you leave two items in a street, the one that gets stolen is the one worth stealing.... trying to attack OSX is less productive than trying to attack Windows XP or Vista.
#8.1 anthonyspt on 10 Jun 2008 - 14:37
(plastikaa said @ #
Apple is the really not that concerned about security... how odd, arent they always claiming to be the safest? They arent safer through design ... they are safer through no-one wants to attack them.

If you leave two items in a street, the one that gets stolen is the one worth stealing.... trying to attack OSX is less productive than trying to attack Windows XP or Vista.


Apple uses their install base and customer loyalty to kill any vulnerabilities or flaws. (Watch posts get deleted on their forums for an example)

Apple fans won't run to CNET or NBC and say, hey this is a piece of crap, look what it did. It takes a very serious flaw to get any press, and as for security, most Mac users wouldn't even know if they have malware or not.

I'm not saying there is a ton of crap for OS X, but when you compare a few million LOYAL users to one (1) Billion users that often have to use the OS at work or other places without choice, there is going to be a more non-loyal users, and a lot more voices to scream in the dark.

MS has been using this to their advantage, and their compilers and development processes have been vastly improved in just the last 7 years along, as they listen to the security, hackers, and vast base of users bitching. Right now in terms of development security processes and compiler technology, MS is ahead of the industry, especially in intelligent compiler technology that protects from most stupid or simple coding errors. (And even checks for malicious employee code) Most of these technologies and development cycles are beyond the much smaller Apple development team and processes.

But when Apple gets burned, which will happen and happen hard, they will have to play a bit of catch up. - Even if they are taking notes of technologies MS is pioneering in compiling technology and pulling these technologies back from both MS and Intel. (Hence why Apple NEEDS Intel and you won't see AMD Macs for a while.)
#9 thenonhacker on 10 Jun 2008 - 13:16
LOL @ Apple Fanbois Zealots!!!

"Your vulnerability is worse than OUR vulnerability".

Excuses excuses!

Apple, admit you have a BIG security flaw to FIX!!!
You are NOT special, security is security!


F L A W E D S O F T W A R E , A L S O F R O M A P P L E


Last edited by thenonhacker on 10 Jun 2008 - 13:24
(2 replies) #10 anubis76 on 10 Jun 2008 - 13:16
the arrogance of the apple community never ceases to amaze me. The fact is that Safari i allowing for a file to be downloaded automatically without the user's permission or knowledge, and a DLL no less. this is not acceptable in any regards! and in the scenario presented here it requires IE to finish the "attack", but thats in this scenario. I'm sure hackers could dream up other ways to launch the file that Safari lets download without the use of IE. So reading the comments here from people in the Apple community that basically equates to just snubing their noses at the problem and flippedly declare that its "clearly window's problem not ours" i think is amazing and saddening. Not looking to finger point here, but i think this is a serious security issue that Apple need so address responsibly. if roles were reversed and IE had such a blatant bug in its MAC client the Apple community would be up in arms about how MS needs to address it and fast. I think the same applies here.
#10.1 +TCLN Ryster on 10 Jun 2008 - 14:42
Some people seem to have missed the point. Internet Explorer is only being used in this example, it is not part of the problem. Any Windows application that uses DLL files could trigger the same vulnerability if there was a DLL file on the desktop that was named the same as one the application normally uses.

Although in my opinion, files in the System32 folder should take precedence over files in any other folder in the path statement, but thats just me.

Last edited by TCLN Ryster on 10 Jun 2008 - 14:53
#10.2 GP007 on 10 Jun 2008 - 15:57
(TCLN Ryster said @ #10.1)
Some people seem to have missed the point. Internet Explorer is only being used in this example, it is not part of the problem. Any Windows application that uses DLL files could trigger the same vulnerability if there was a DLL file on the desktop that was named the same as one the application normally uses.

Although in my opinion, files in the System32 folder should take precedence over files in any other folder in the path statement, but thats just me.


Maybe they have this setup for performance sake? As I take it Windows looks for the dll in the folder the exe is being started from as that's the first PATH statement etc. Lots of apps have their own dlls that stay in their install folders that have nothing to do with System32 etc. I really don't see a problem with the way it's setup in Windows.

You start program1 so it checks for the dll in program1's folder, if it's not there it goes to System32 etc. In the end if system32 did take precedence it would load the secure original file BUT if the dll is using another name and isn't in system32 then Windows would just go back to the install folder in the end anyways wouldn't it?

The real problem here is that Safari is set by default to download without asking, something that shouldn't be that way.
(3 replies) #11 +CelticWhisper on 10 Jun 2008 - 13:58
"Apple's carpet-bomb Safari flaw can wreak havoc on Windows."

I thought we knew this already. This seems a little sensationalistic to me, but whatever. Apparently it's the law or something that as a Mac user I have to like Safari, but I don't care for it much. My Macs run Firefox and I'm not about to take Safari-Win32 for a spin until this is well ironed out. If at all.

It's time for Apple to wake up. Yes, we Mac fans have enjoyed a long history of relative virus scarcity, by a combination of security-through-obscurity, nonstandard processor architectures and improved security models over other OSes, especially Windows. Luxuries of the past are not an excuse to slack off when the time comes for disaster control, and this is looking to be one of those times.

Apple, you need to
A. Fix the hole. NOW.
B. Fix the inexcusable behaviour of your software updater so that it does NOT automatically download software people did not ask for. To this point I'm sorely tempted to rip into Microsoft for their stealth-installs of WGA software via Automatic Updates and "critical" Windows Updates, but I'll give them a pass this time because it's relatively easy to figure out how to avoid those.

Either way, though, software companies need to stop pushing unrequested downloads to people, especially when they're riddled with security holes.
#11.1 thenonhacker on 10 Jun 2008 - 14:08
+CelticWhisper gets my respect, because he is reasonable and has the best sense of judgement of all the Mac users I've encountered. Kudos to you dude!
#11.2 anthonyspt on 10 Jun 2008 - 14:20
(CelticWhisper said @ #11)
"Apple's carpet-bomb Safari flaw can wreak havoc on Windows."

I thought we knew this already. This seems a little sensationalistic to me, but whatever. Apparently it's the law or something that as a Mac user I have to like Safari, but I don't care for it much. My Macs run Firefox and I'm not about to take Safari-Win32 for a spin until this is well ironed out. If at all.

It's time for Apple to wake up. Yes, we Mac fans have enjoyed a long history of relative virus scarcity, by a combination of security-through-obscurity, nonstandard processor architectures and improved security models over other OSes, especially Windows. Luxuries of the past are not an excuse to slack off when the time comes for disaster control, and this is looking to be one of those times.

Apple, you need to
A. Fix the hole. NOW.
B. Fix the inexcusable behaviour of your software updater so that it does NOT automatically download software people did not ask for. To this point I'm sorely tempted to rip into Microsoft for their stealth-installs of WGA software via Automatic Updates and "critical" Windows Updates, but I'll give them a pass this time because it's relatively easy to figure out how to avoid those.

Either way, though, software companies need to stop pushing unrequested downloads to people, especially when they're riddled with security holes.


You can safely know the WGA stuff is going away, far far away. The new Windows Management hates it as much as we do, that is why Vista's inherent WGA even less restricted than XP, and less control or DRM is always a good thing when it is not needed.

For quite a while the ONLY auto installs are security issues, and I hope MS has finally learned their freaking lesson with this crap. (Especially since it was designed to circumvent OEM and fake sofware sales, and just this week Microsoft issued orders to shut down several major companies selling pirated versions that bypass WGA.

(This is where I have hope for MS and getting away from the Ballmer mindset of business before users and gets back to when MS was seen as the good guys and had more the Gates mentality, where Gates blocked disk copy protection from DOS and Windows.)



Last edited by anthonyspt on 10 Jun 2008 - 14:29
#11.3 +rm20010 on 10 Jun 2008 - 15:32
(CelticWhisper said @ #11)
"Apple's carpet-bomb Safari flaw can wreak havoc on Windows."

Apple, you need to
A. Fix the hole. NOW.
B. Fix the inexcusable behaviour of your software updater so that it does NOT automatically download software people did not ask for. To this point I'm sorely tempted to rip into Microsoft for their stealth-installs of WGA software via Automatic Updates and "critical" Windows Updates, but I'll give them a pass this time because it's relatively easy to figure out how to avoid those.


Or more like

C: Rename the checkbox 'Automatically keep Safari and other Apple software up to date' to 'Don't install the bloody updater, PERIOD' if all the checkbox is doing is setting a flag to keep Safari updated or not.
(1 reply) #12 ev0| on 10 Jun 2008 - 15:54
10 days old ! What's the point in posting it again ? That's kind of shady IMO.
#12.1 +GreyWolfSC on 10 Jun 2008 - 16:03
(ev0| said @ #12)
10 days old ! What's the point in posting it again ? That's kind of shady IMO.


It's not old news. The old news simply said that it was a problem. This is news of a POC exploit.
(2 replies) #13 portauthority on 10 Jun 2008 - 16:43
So I manually downloaded the file to my Desktop and launched IE but there is no Notepad running. Did I do something wrong?
#13.1 XerXis on 10 Jun 2008 - 17:03
the exploit only works if the user desktop directory is included in the path environment variable so that windows looks for libraries in that directory. This is not a default setting so it won't work on a lot of computers
#13.2 +DrDrrae on 10 Jun 2008 - 19:04
From what I can tell, Vista doesn't have the user's Desktop as the Path environment variable set so Vista is immune to the launching side of things. XP, however, does and seeing as the vocal minority here absolutely hates Vista and will only use XP, there are potentially a lot of users that this vulnerability affects.

Now, on Vista, this doesn't excuse Safari from automatically downloading a file (any file mind you) without the user's permission.
(3 replies) #14 HalcyonX12 on 10 Jun 2008 - 18:09
Wouldn't it be a lot safer if MS Windows just marked any file as tainted that was modified by an application that has access to the internet? An application could have a buffer overrun and corrupt or create a file that it is normally allowed to modify, and that isn't a download (because it is a locally modified file) only to inject malicious code. Even then, if a web browser can be exploited, then the exploit could just mark the file as safe anyway since it has access to the system. It would just be a lot safer to mark every file modified by an application that opens any communication across the internet for any purpose, because any data stream could contain an exploit.
#14.1 MioTheGreat on 10 Jun 2008 - 18:44
All running applications have "access to the internet"

Things that are downloaded by IE are properly flagged to be untrusted. Hence the extra popup you get when you launch an EXE downloaded by IE.
#14.2 HalcyonX12 on 11 Jun 2008 - 00:31
I mean if it actually makes use of it. That way if they really want internet connectivity, they would have to do it in another process, which would become tainted, and the main program could continue as normal. It would be a way of separating things so you could have more control to lock them down as well (like how UAC is supposed to "help").
#14.3 anthonyspt on 11 Jun 2008 - 12:20
(HalcyonX12 said @ #14)
Wouldn't it be a lot safer if MS Windows just marked any file as tainted that was modified by an application that has access to the internet? An application could have a buffer overrun and corrupt or create a file that it is normally allowed to modify, and that isn't a download (because it is a locally modified file) only to inject malicious code. Even then, if a web browser can be exploited, then the exploit could just mark the file as safe anyway since it has access to the system. It would just be a lot safer to mark every file modified by an application that opens any communication across the internet for any purpose, because any data stream could contain an exploit.


It all sounds good until you look at networked software past a browser. So ya, in theory the OS could do this... But the model quickly fails for users fast.

Example: MMOs

Imagine if the OS was marking MMO updates as 'foreign' to the system and preventing their usage or a serious of confirmation dialogs after a patch?

Sure the OS could not mark these as foreign, but if there is a loophole in the security process, then it really isn't a security process.

Software should just adhere to the security of the OS, and if Safari wants to be a 'secure' or trusted piece of software, Apple has a lot of work to do.
#15 ozulus on 10 Jun 2008 - 18:48
The fault is from both. One program should be a little more careful of what it runs, specially from where. Desktop is not exactly the perfect place to automatically load dll files, but Safari downloading things without your permission is even more serious threat, almost behaves as a trojan horse. Apple should take this a bit more serious.
(1 reply) #16 teleprompt on 11 Jun 2008 - 02:10
All of the Ms users who continue to say that Apple/mac will get hit hard by security issues is a moot point until it actually happens. Until then it's pointless to even discuss Apple security. In an odd way, they are more secure than Windows users. If it isn't by design (more secure software) then it's by numbers (less user base= less interest).
#16.1 thenonhacker on 11 Jun 2008 - 13:46
Don't Excuse Apple.

I hope you'll be the the first Safari user to be victimized by the flaw and you will understand the sense of urgency Apple lacks.

APPLE SHOULD FIX THE SEVERE SECURITY FLAW. NOW.

(3 replies) #17 atari800 on 11 Jun 2008 - 11:06
Apple did it purposely so they can make a commercial about it
Mac: "Hi I'm a Mac"
PC: "..and I'm a PC"
Mac: "Hey, try my binoculars"
PC: "Ok. Ummm, whats different about what I can see through yours vs mine?"
Mac: "Well, I just gave you Hepatitis with mine"
(ba-da-boom....tiss)
#17.1 atari800 on 11 Jun 2008 - 11:46
I tried this "flaw" and it doesnt work...
I went to the site in Firefox
It prompted me about downloading a file (save or cancel)
I chose save - it didnt save to desktop
I copied the file from may SAVE folder to the desktop
I opened up IE7

I didnt get a notepad to come up
#17.2 MioTheGreat on 11 Jun 2008 - 12:52
(atari800 said @ #17.1)
I tried this "flaw" and it doesnt work...
I went to the site in Firefox
It prompted me about downloading a file (save or cancel)
I chose save - it didnt save to desktop
I copied the file from may SAVE folder to the desktop
I opened up IE7

I didnt get a notepad to come up


If you're running Vista, the desktop is not part of the $PATH normally, so it won't work.
#17.3 ozulus on 11 Jun 2008 - 16:18
(atari800 said @ #17.1)
I tried this "flaw" and it doesnt work...
I went to the site in Firefox
It prompted me about downloading a file (save or cancel)
I chose save - it didnt save to desktop
I copied the file from may SAVE folder to the desktop
I opened up IE7

I didnt get a notepad to come up


You need to be running safari, not firefox.

Commenting has either been disabled on this article or you are not logged in. Click here to login or register, its free!

Note: Anonymous commenting is disabled in order to keep the quality of responses to a high standard.

Advertisement (Why?)