​
A black multi-bay network storage unit, photographed close from the front

Shellshock: Why Macs and Network Devices Needed a Patch

by Darren Lin | Sep 30, 2014 | Blog, Tech News Archive

On September 24, 2014, US-CERT warned of a serious flaw in Bash, the Bourne-Again Shell used on many Unix-like systems, including Linux and Mac OS X. The bug, quickly nicknamed Shellshock, could let a remote attacker run commands on a vulnerable system. Additional related problems were documented in the days that followed. This was not mainly a Windows issue. It mattered to Macs, to Linux computers, and to a wide range of network devices and servers that quietly run Unix-like software. On September 29, Apple released OS X bash Update 1.0 to address the Bash problems on the Mac. US-CERT highlighted that update the next day.

What was going on

Bash is a command shell. On Macs and Linux systems it is a normal part of the operating system. On many routers, NAS boxes, and other appliances, a similar Unix-like environment may be present even if you never open a terminal window. US-CERT said exploitation of the vulnerability might allow a remote attacker to execute code on an affected system, and it pointed administrators to vendor patches, to CERT/CC Vulnerability Note VU#252743, and to further technical write-ups. A GNU Bash patch was also made available for experienced administrators. Most home and small-office users should not be writing their own patch. They should install the update their vendor already prepared.

Apple’s OS X bash Update 1.0 was the official path for Macs. Install it through Software Update, or from Apple’s own download pages, rather than from a third-party “Shellshock fixer.” Linux systems should get their distribution’s update. For a router, network-attached storage device, or other appliance, check the maker’s support site for a firmware update, and apply it in the way that company documents. Windows PCs were not the center of this particular bug, but a household is often a mix of a Windows desktop, a Mac, and a small network device, and the last two needed attention.

What not to do

You do not need to test the flaw yourself, and you do not need a random script from an unofficial website that claims to “check if you are vulnerable.” After a bug like this is public, fake tools appear quickly. Prefer US-CERT, Apple, and the company that made your device. Keep a current backup of the Mac or Linux computer before you apply a system update, and do not skip a router or NAS firmware update just because the box is out of sight in a closet.

Practical takeaways

  • On a Mac, install Apple’s OS X bash Update 1.0. Use Software Update, or Apple’s official download. This is the fix US-CERT pointed Mac users to at the end of September.
  • On Linux, apply your distribution’s Bash update. Do not delay it for a convenient weekend if the computer is reachable from the network.
  • Check firmware for routers, NAS devices, and other appliances. If the maker has released an update for this issue, install it using that company’s instructions.
  • Skip unofficial “Shellshock scanners” and third-party fix tools. A widely reported bug attracts fake software. Official updates are enough.
  • Keep a backup, and keep ordinary system updates coming. Related Bash issues were still being documented after the first warning. Staying current is part of the response.

Need help updating a Mac, or checking a home network device?

If you are not sure whether a Mac is current, or whether a router or storage device has a firmware update waiting, we can help you sort that out. Our Mac repair service and our network and Wi-Fi service are a good place to start. Call A Plus Computer Tech at (425) 747-5432, or visit our Bellevue shop at 308 105th AVE NE, Suite A, Monday through Friday, 10am to 6pm. Free diagnostic with approved and paid repair.

Sources

Mac and OS X are trademarks of Apple. A Plus Computer Tech is an independent repair and IT service company and is not affiliated with Apple.

Featured photo: Jakub Zerdzicki on Pexels.