Apple Security Update 2007-009 Can Cause Safari Crash
Apple Security Update 2007-009 Can Cause Safari Crash
by , 3:50 PM EST, December 18th, 2007
The Apple Security Update, 2007-009, for Mac OS X Tiger and Leopard published on Monday could have subtle, adverse effects on operations in Safari.
It turns out that changes in Safari, in order to increase security, could cause crashes in some special circumstances. That can happen due to the way the security update affects how frames are handled in Safari, according to TMO's resident coding wizard, Stephen Swift.
"The error happens when the user tries to submit a form to another target frame or window. Safari stops that, and, in fact, crashes. The idea is to keep any malicious hacker from, for example, trying to load code into a hidden window," Mr. Swift proposed. [However, crashing may not be the intended behavior.]
The effect became noticeable right after the update was applied and TMO editors tried to work in our publication system. Changes on the server side of our publication system had to be made to accommodate the way Safari now works.
The Security Update does not appear to affect OmniWeb 5.6 or FireFox 2.0.0.11 in that specific way.
Observer Comments
Tue Dec 18, 2007 5:47 pm Subject: what do you mean can?
Tue Dec 18, 2007 5:51 pm Subject: Doesn't crashing open up other potential vulnerabilities?
If Safari is crashing every time you open it, see MacFixIt's article: What to do when an application won't launch. They guide you through updating prebindings and other steps.
If you think Flash is the culprit you can remove it (and any other plugin) from
~/Library/Internet Plug-Ins
or
/Library/Internet Plug-Ins
And yes, I don't think Safari is suppose to crash when it encounters this form tag target attribute problem. Apple will probably fix this in another update.
This update taken today, and the Java and Quicktime updates on Monday too have been a nightmare for me. In Safari, input buffers started taking text and displaying it right to left (if you alternate typing a letter and then right arrow you can force LTR). Firefox is OK (as used now). I had hoped 2007-009 would fix the two problems I mention that date back to Monday. It did not.
Now Safari won't negotiate the login needed by me for a (slightly) protected and daily accessed source. Firefox and Opera work fine.
In addition, Monday's J&Q et al. upgrade apparently clobbered Apple Mail, so that anything requiring a new compose window does nothing, e.g. New, Reply, Reply All, Forward etc. All this happened once before a couple of months ago when I was stupid enough to try the early Safari 3 beta. I eventually had to reinstall the OS, which was a pain. I am not happy that Apple has, to my mind, started issuing buggy updates. If the updates are buggy then the security likely enough has holes too, just not the ones recently fixed, one hopes.
I started using a mirror backup disk back with the first occurrence of Apple update woes, but this was itself knocked out of commission on Friday by running Sophos AV. That quarantined some files (PC virus attachments from mail archives which were irrelevant) which were then untouchable to the SuperDuper! backup script that had been doing a great job until then. I finally used 'sudo rm' and backups could run.
Good luck to us all, then with new Apple Software Updates!
I had a bunch of problems with sites (Disney.com of all things, too) and flash. I finally did a search and found that when I updated to flash 9, it did not over write flash 8. viewing installed plugins showed both. I then went to the adobe site and found a flash uninstaller, it removed 8 and 9, then I reinstalled 9
Since the security update, accessing web mail from my hosting provider
https://myserverworld.com/
results in a crash that sounds very much like this bug.
The expected behaviour would be for a new window to open containing the contents of my email inbox.
Not a problem with Firefox 2.0.0.11
Thu Dec 20, 2007 3:51 am Subject: Click on PayPal Buy Now button and Safari crashes
So, now what? I have PayPal's Buy Now buttons on my ecom page on my site. I've posted an alert to buyers in a nutshell, that if they've updated Safari and it crashes when clicking on BuyNow buttons to try the pre-update version of safari if possible, or to use Thunderbird. Can anyone suggest one or two browsers most compatible for Windows users?
Someone on the apple discussion forum at http://discussions.apple.com/thread.jspa?threadID=1297169&tstart=0 suggested the following code fix:
Remove any target="paypal" code and add the following line instead:
<input type="hidden" name="shopping_url" value="http://www.yourwebsite.com/store_url/">
It's not as fast as the "pop a new window for the shopping cart" solution since it loads your store page every time, but at least it's a cleaner solution (IMHO) and Safari doesn't crash anymore.
Make sure to add this line to both your View Cart and Add to Cart buttons.
...................................................
Can someone please tell me if this is a safe fix or might it effect security or any other issues? Until Safari resolves this, I'm looking for confirmation or a no-don't-do-that reply and why.
Any other PayPal seller reports re: this issue and if so, how are you working around it?
Thank you,
Marlise
Marlise: FireFox is both Mac/PC compatible and isn't affected by this bug.
Although I don't work with PayPal, your workaround should be no less secure than your current code. That line you are adding looks like its telling the next page you view that your website=http://someurl so paypal can track the purchase back to you.
I'm guessing
Quotemeans to simply delete any ocurance of the "word" target="paypal" and not any of the paypal code (which you'd still need to make paypal work).Remove any target="paypal" code and add the following line instead:
Until Apple releases a fix, this is the only workaround I know of.
Sun Dec 23, 2007 5:42 am Subject:
The update to the security update (v1.1) has just come out - I haven't noticed any difference, but then it was working fine for me anyway.
There's no specific information on Apple's site.
Correction:
QuoteApple wrote:
Security Update 2007-009 v1.1 addresses an issue introduced in Security Update 2007-009 that may cause Safari to unexpectedly quit when browsing to certain websites.
There is no change to the security content provided in Security Update 2007-009. The security content of Security Update 2007-009 and Security Update 2007-009 v1.1 is available here
Security Update 2007-009 v1.1 will install over Security Update 2007-009, and its installation is recommended to resolve the Safari issue.
Systems that have not yet installed Security Update 2007-009 only need to install Security Update 2007-009 v1.1.
Anyone else finding things any better?
Sun Dec 23, 2007 3:02 pm Subject: Dec 23 update and OpenBase
QuoteLaurieF wrote:
The update to the security update (v1.1) has just come out - I haven't noticed any difference, but then it was working fine for me anyway.
There's no specific information on Apple's site.
I was surprised to see an update this morning. I too did not have any problems with the last update, but of course I installed this one.
One thing struck me after the required restart; I got a dialogue telling me that application OpenBase wanted to communicate out. I denied permission because I wasn't sure what that was. I looked in the log and saw that it has to do with the Parlient PhoneValet database. I am wondering of Apple is tightening down security.
Sun Dec 23, 2007 7:56 pm Subject:
Sun Dec 23, 2007 11:09 pm Subject: Explorer 8
QuoteIntruder wrote:
Wow. The fact that you call Internet Explorer a "superior" browser pretty much destroyed your credibility right there. It is the least standards=complaint browser in existence.
Well supposedly the next version of Explorer, er it come, will be fully web standard compliant. If it really happens, then that will make the job of web designers a lot easier. Think about it, no more kludgy work-arounds so a page renders properly in Explorer. Of course MicroSoft will take credit for creating the first web standard compliant, after all they are the #1 industry innovators.
Mon Dec 24, 2007 3:34 am Subject:
QuoteIntruder wrote:
Wow. The fact that you call Internet Explorer a "superior" browser pretty much destroyed your credibility right there. It is the least standards=complaint browser in existence.
Rest of your post is complete flamebait.
The fact that you think Safari is a superior browser to any other browser eluminates your bias and shows that your opinion is set before any analysis of fact. It isn't just IE that requires web devs to write browser specific code. I cannot count the number lines of written to specifically support FF, but both are still way better than Safari, which ignores fonts among other things. Apple thinks it has the market cornered on what a font should look like, and it take some trickery that just isn't worth my time in my opinion. If you cannot get past your pro-Apple bias, then don't bother commenting on what us web developers have to put up with. I agree that IE has its pitfalls, and yes I have certainly written code to accomodate it. Safari just worse when it comes to trying to enforce a standard look on your site. Safari itself does not display the same webpage the same way every time. I have no idea why, but sometimes it makes the right side of my page's fonts larger than they are supposed to be. Then I refesh and they get set properly, then I refresh 5 or 6 more times and it will flip flop randomly. The browser is not even standardized within itself. I have noticed this exact same effect when using my iPhone to visit websites. Please, don't let your unabashed distaste for Microsoft make you think that Safari is in any way a superior browser to any thing else. I'd even prefer Opera to it, though I kind of want that one to go away as well.
Mon Dec 24, 2007 3:02 pm Subject:
Mon Dec 24, 2007 3:14 pm Subject:
Wow. Talk about building a strawman.
Please show me, EXACTLY, where I said that Safari is a superior browser to any other browser. You cannot because I never said it. you just felt the need to build a case against something that was never said.
However, if you think that IE is, in any way, the paragon of virtue when it comes to web standards then you are seriously in need of help. The web is replete with complaints, from web developers, about the standards compliance of shipping versions of IE. I can find no praise for it. Even MS, on their MSDN sites, acknowledges that they need to improve standards compliance (which they apparently are trying to do in IE8).
You apparently have a definite pro-MS bias that is clouding your view. Unfortunate for someone who is developing for something that is supposed to be platform-agnostic.
You never said that Safari was superior to any other browser. Your EXACT words were, ""The fact that you call Internet Explorer a "superior" browser pretty much destroyed your credibility right there." How does that not imply that Safari is superior to IE? Otherwise, why would anyone's credibility be destroyed for saying that IE is superior? I'm sorry, I am having trouble understanding exactly what your point was. Did you have one? How can that statement be rectified with the fact that you seem to now say you were not implying that Safari is superior to IE? Please explain it to me. I admit to not understanding what point you are making, if any. I would like to know why you think IE is superior to Safari, at this point, and why thought it wasn't superior before. I am not pro-MS, clearly I have pointed to other browsers that I find superior to Safari that MS isn't even involved with. FF and Opera are both better than Safari and I use FF as my default browser. My point was simply that even those browsers require us web devs to write code to specifically deal with their shortcomings, so the fact that IE also requires it is not in itself an indication of inferiority.
But Laurie and Intruder, perhaps you can explain to me how if IE is not superior to Safari, how is Safari also not superior to IE? Maybe I get it now... you are saying the are exactly equal? Is that it? I dunno, my head hurts.
No, it still doesn't work. If in your opinion, they are equals, which is the only way to rectify the fact that saying IE is not superior and Safari is also not superior, then one's credibility could not be destroyed for suggesting that IE is superior. It would only take a slight advantage for IE that you did not include in your opinion that concluded they were exactly equal. And one would think that if you were of the opinion that they were equal that suggesting that IE is superior you would not have reacted with such a drastic statement. Sorry, but I cannot understand how you have any logical consistency in your arguments.
Wed Dec 26, 2007 6:56 pm Subject:
Learn some logic, and some maths. Although English is not itself a logical language (qv Language Myths by Laurie Bauer), it is easily possible to argue logically, and mathematically, in English.
By saying that
Codedoes not imply thatIE not > Safari
CodeIt can also mean (as I believe) thatIE = Safari
Code. QEDIE < Safari
And don't say things like, "Sorry, but I cannot understand..." You aren't sorry. It's a pathetic response.
I like Firefox; I also like OmniWeb; I haven't used Opera very much at all, so I can't comment on it. I do not like IE, for so many, many reasons. I use Safari because only on very rare occasions can I not see what I want to see. For me, and probably the majority of Mac users, Safari is, at the very least, adequate. In my opinion, it's actually very good.
Why design web pages that are best viewable on IE, but difficult to view on other browsers? why do it specifically for any other? why not just make them best viewed on any browser?
(I'm assuming that, since you haven't registered, you, Guest, are the same person as - well - Guest. If you aren't, enter and sign in please)
Laurie, you are going in circles now, and I really do not understand what your point is. At this point, I am not sorry, as you have turned yourself completely around just to bicker. What you are now saying is that if by saying IE is not superior, and they are not equals, then my original assumption was correct: that he was implying that Safari is superior. I didn't write it with math forumlas, maybe that's why you got confused, but when I assumed that, you told me that was never said. Therefore, using your own math there, the only other logical conclusion is that he was implying they were equals. What other logical conclusions are there? He clearly thinks that IE is not superior, so they are either equals or Safari is superior. My first assumption, based on one's credibility being destroying for saying that IE was superior, was that Safari therefore must be superior in his opinion. You "corrected" me, and so I went with the other logical conclusion, that he was saying they are equals, which you now also say is incorrect. What else is there? Stop going in circles. Clearly there is no logic left in your arguments.
BTW Laurie, you didn't explain anything, you just wrote in code exactly what I had written in English.
"Perhaps you can explain to me how if IE is not superior to Safari, how is Safari also not superior to IE? ... you are saying the are exactly equal?"
Then you're code, you showed that if IE is not superior to Safari, then those are the only two logical options. Thank you for using your code to prove my point.
QuoteIntruder wrote:
Talk about building a strawman.
Please, show us how to do that Intruder. You seem to use that term a lot, without understanding its meaning. Then you go on to do it yourself. Here is your strawman.
QuoteIntruder wrote:
However, if you think that IE is, in any way, the paragon of virtue when it comes to web standards then you are seriously in need of help.
QuoteGuest wrote:
It isn't just IE that requires web devs to write browser specific code. ... I agree that IE has its pitfalls, and yes I have certainly written code to accomodate it.
Please show me EXACTLY, no, show me where IN ANY WAY, I said that IE is the "paragon of virtue", IN ANY WAY. I won't even limit it to web standards, just where did I ever say that IE was tops? I only said it's better than Safari, but I even listed FF first, "Just use Firefox or IE, both are far superior browsers."
Thank you Intruder, for showing us all how to build a strawman argument. It is easy to debunk that IE is a paragon of virtue when it comes to web standards (which I never even said) than it is to show that Safari is superior to Firefox or IE, or even Opera.
Thu Dec 27, 2007 8:33 pm Subject:
Comments are currently closed. Please email the author instead.
Recent Headlines - Updated November 21st
- Fri, 7:07 PM
- Games - Soccer Sim Championship Manager 2010 Released for Mac
- 6:47 PM
- Games - EA Publishes Original Monopoly for iPhone
- 6:15 PM
- News - Original Apple I on Ebay for $50K, w/Letter from Steve Jobs
- 6:11 PM
- Games - New iPhone Games: Secret of the Lost Cavern Ep 1, New DJ Nights, More
- 5:47 PM
- Games - Star Trek D-A-C Game Headed to the Mac Next Month
- 4:57 PM
- Product News - TidBITS Releases “Take Control of Syncing Data in Snow Leopard”
- 4:26 PM
- John Martellaro's Blog - Particle Debris (week ending 11/20) Stationery Pads Go Poof
- 2:59 PM
- Free on iTunes - Musée du Louvre, Art Lite, SketchBook Mobile X and More.
- 1:50 PM
- Deal Brothers - Acer P215H bmid 21.5” Widescreen LCD Monitor: $139.99
- 11:24 AM
- TMO Appearances - Jeff Gamet Shares More Holiday Gift Ideas on MacJury
- 10:43 AM
- Product News - Cocktail 4.5 for Leopard Adds QuickLook Cache Clearing
- 10:06 AM
- News - Hack Enables Mac OS X 10.6.2 on Netbooks
The Mac Observer Reader Specials
- TypeStyler For Mac OS X is Now Shipping! Download The Free Fully Functional 60 Day Tryout at www.typestyler.com
OWC: Plug & Play Hardware RAID up to 8.0TB. High Performance, Data Redundant Solutions. FireWire 800, FireWire 400, USB2, or eSATA. Hot Swappable Bays, Data Rates over 200MB/s. Click here
If you're using a Mac, then you've gotta check out Full Tilt Poker for Mac. This Full Tilt Poker bonus code does the unthinkable, it actually rewards!For the latest Apple products use Ciao, a price comparison website, to find laptops like MacBook Air. Then find the best prices on MP3 players and use our comparison tool to evaluate mobile phones like the Apple iPhone.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.

