ShellShock bug in OSX and 'nix

Joined
May 10, 2012
Messages
33
Reaction score
1
Points
8
Your Mac's Specs
A few, ranging from an SE/30 to a recent MacBook Pro. Also, a Newton MP130, and some SGIs for kicks.
Yes, you are overreacting. Read this article. Here is one pertinent part: The average user does not need to worry about "edge cases."

I read that article, too, before I made my original post, as well as the original Intego blog post that the MacWorld article got its information from. I've also spent some time in IRC chats and other dark corners of the net where this stuff gets discussed at a deeper level of detail. The MacWorld article somewhat oversimplified the Intego article's conclusions, and the Intego article hinted at other, more subtle exploits. The most publicized means of exploitation may, indeed, be "edge cases" (though "edge" may still impact a lot of people, even if it is nowhere near a majority of the millions of Mac users), but that does not preclude less well publicized cases that are actively being explored and that may go beyond the "edge." Given the centrality of bash to MacOS and other systems, and the ease of gaining control of a system if an unpatched bash can be accessed, there is a lot of credible discussion on ways to get to bash through indirect means. Bash is the focus of some serious attention right now.

In any case, I'm not an "Oh noes! The sky is falling!" kind of guy. I've been working with Macs since 1984, and I've been securing high-value international IT environments for a couple of decades. (Yes, I know that you've been around the block a few times, too.)

In my original message, my main comment was over Apple's spokesperson unnecessarily overstating the inherent security of MacOS, which would only embarrass the company if a more generalized way of exploiting the vulnerability was later discovered. (Again, keep in mind: since the original discovery of the vulnerability, at least two new ways of exploiting it have been found, with each requiring a different fix to the bash source code. This has been a rapidly developing situation, and it is difficult to say that we know all the complexities that are out there.) It's simply amateur-level PR, and Apple is better than that. Outside of the marketing world, there is no such thing as a "secure by default" computer. There is only more secure or less secure.

I don't mind saying that it may be nearly impossible to access bash remotely on a Mavericks machine fresh out of the box. It's hard to say, however, how hard or easy it is to do so once third party software is installed, especially in an age when software routinely phones home to check for updates, etc. Vulnerability is not simply a question of "bash," it's a question of the whole system, as it is used in the real world.

I'm less comfortable saying that it is nearly impossible to execute bash remotely on Snow Leopard (still ~20% or so of Macs in use, last I checked) or pre-Gatekeeper Lion, and I'm much less comfortable saying it about even older machines. Sure, those machines will have other vulnerabilities that need to be mitigated, but if you can get to a bash exec, that particular vulnerability is extremely easy to exploit in a generalizable way, so it's an attractive target.

In any case, it was good to see Apple respond unusually quickly in getting out a patch for 10.7-10.9. At least Apple's engineers seem to be taking this one seriously. I'll stand by my earlier advice: if you are running 104-10.6, give serious thought to installing TenFourFox's patch.
 
Joined
May 10, 2012
Messages
33
Reaction score
1
Points
8
Your Mac's Specs
A few, ranging from an SE/30 to a recent MacBook Pro. Also, a Newton MP130, and some SGIs for kicks.
Joined
May 19, 2009
Messages
8,428
Reaction score
295
Points
83
Location
Waiting for a mate . . .
Your Mac's Specs
21" iMac 2.9Ghz 16GB RAM - 10.11.3, iPhone6s & iPad Air 2 - iOS 9.2.1, ATV 4Th Gen tvOS, ATV3
Joined
Jun 13, 2012
Messages
552
Reaction score
27
Points
28
Location
Las Vegas... as of 23 Feb 2018
Your Mac's Specs
27" iMac mid-2011, ipad.Air 2', iPhone 8+.
Updated to OSX 10.9.5 25 Sept. and again (don't ask me why-it was on my update file from Apple) on 29 Sept. Also updated Safari 7.1 29 Sept.
My knowledge of Bash is confined to Webster's dictionary.
Tattooed Mac - Could not find the patch at that website. Why doesn't Apple put it out for everyone to download?
Something unrelated: I am unable to access BBC.com. Tried with Safari and with Firefox and IE on my wife's laptop. Does anyone know if the site is down?
 
Joined
Feb 1, 2011
Messages
4,914
Reaction score
2,927
Points
113
Location
Sacramento, California
Apple Updates Bash for the Shellshock Vulnerability
TidBITS: Apple Updates Bash for the Shellshock Vulnerability
OS X bash Update 1.0

Much more info:

Macs Mostly Safe from Bash Vulnerability, but Be Ready to Patch
TidBITS: Macs Mostly Safe from Bash Vulnerability, but Be Ready to Patch

A quote:

"The main vector I was extremely worried about was an attack via DHCP, which could expose your Mac if all you did was connect to a network. To test this concern, I set up my own hostile DHCP server and tried the attack, but to no avail. I couldn’t compromise my Mac, and after asking on Twitter, I found out that Apple uses its own DHCP client, which is safer."
 
C

chas_m

Guest
How about a patch for 10.6.8?
Will that be forthcoming?
M


No.

But you can update you bash shell directly, I'm told. Wouldn't have the faintest idea how, maybe search "update bash snow leopard" ...

EDIT: Thanks Randy for that info.
 
Joined
May 19, 2009
Messages
8,428
Reaction score
295
Points
83
Location
Waiting for a mate . . .
Your Mac's Specs
21" iMac 2.9Ghz 16GB RAM - 10.11.3, iPhone6s & iPad Air 2 - iOS 9.2.1, ATV 4Th Gen tvOS, ATV3
No.

But you can update you bash shell directly, I'm told. Wouldn't have the faintest idea how, maybe search "update bash snow leopard" ...

Check this thread in StackOverflow, but DONT attempt if you don't know the command line.
 
Joined
Jun 13, 2012
Messages
552
Reaction score
27
Points
28
Location
Las Vegas... as of 23 Feb 2018
Your Mac's Specs
27" iMac mid-2011, ipad.Air 2', iPhone 8+.
Received a patch from Apple on 1 Oct. to fix this issue I believe. Only problem, it is not listed under my recent software updates so I don't remember the name.
 

pbw


Joined
Aug 31, 2008
Messages
19
Reaction score
1
Points
3
I installed bash from MacPorts, which creates /opt/local/bin/bash, and I have just performed
$ sudo port upgrade outdated
(I think I could have used $ sudo port upgrade bash).

Current version is 4.3.28(1)-release (x86_64-apple-darwin13.2.0)

There has been a flurry of patches as developers discover more an more vulnerabilities in the bash parser, so this may not be the last.

If you are installing for the first time
$ sudo cp /bin/bash /bin/bash-3.2.51
$ sudo cp /bin/sh /bin/sh-3.2.51

In any case, do
$ sudo cp /opt/local/bin/bash /bin/bash
$ sudo cp /opt/local/bin/bash /bin/sh

The next upgrade will overwrite the /bin/bash and /bin/sh binaries with Apple's distribution. Apple may or may not fix this soonish, but, as people have pointed out here, it's only a problem if outsiders have access to a shell on your system, which is not very likely.
 
Joined
Apr 9, 2011
Messages
55
Reaction score
0
Points
6
Location
Australia
Your Mac's Specs
MBP 15" late 2011 / iP 6s / iPP 9.7"
Received a patch from Apple on 1 Oct. to fix this issue I believe. Only problem, it is not listed under my recent software updates so I don't remember the name.

Hey there all, how do I check my updates on my MBP? Is it on the MBP or via Apple store etc? I have updated recently but would like to check.

Blaz
 
C

chas_m

Guest
If you're running 10.7 or later, and up to date with updates from the Mac App Store, either you were never affected by this issue or its already been fixed.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top