The InformationWeek -- Blogs
Welcome Guest. | Log In| Register | Membership Benefits

Security

Topics:   Security

  • Email this page E-mail this page
  • Print this page Print this page
  • Bookmark and Share
  • icon

Apple And Security: Long Road Still Ahead


Posted by Jordan Wiens, Jul 29, 2008 12:15 AM

Apple's trying to pick up its game with iPhone security, recently listing an iPhone Security Engineer position. Assuming the job is really about helping users -- and not just thwarting pesky unlockers -- it's a good move, but some corporate inertia might need to be overcome before security is a true priority. Just take a look at the official iPhone Enterprise Deployment tools.


Apple's Enterprise iPhone support site contains links to three tools to create custom configuration files that can be used to provision large numbers of iPhones in an enterprise environment. The only documentation is a PDF deployment guide hidden in plain sight in the middle of the main graphic on that page.

Unfortunately, taking a quick peek at the Web Utility 1.0 for Mac reveals not only huge usability flaws, but some potential security problems, too.

The installer is lacking any documentation, and gives no feedback as to what it's doing. Poking into the deployment guide reveals that it isn't just a tool for deploying configuration rules via a Web server, it actually is an entire Web server installed onto the machine used to create the configurations. Poking through the source reveals an embedded Ruby on Rails application, and here's where it begins to get really sketchy.

The server installs itself on port 3000, is remotely accessible by default, and uses a default username and password (admin:admin) that can only be changed by finding the source files yourself and hand-editing the hard-coded credentials. You'll find the settings in the "authentication.rb" file, which addtitionally contains this particularly amusing comment:

# This file contains the (plain-text) user name and passwords for individuals
# authorized to access the iPhone Configuration Web Utility
#
# This should be used for testing purposes only.
#

Whoops!

Fortunately, Apple has been doing some good security work lately in securing the version of Ruby on its systems (Apple often runs outdated versions of software with known vulnerabilities and is usually many weeks or months late in distributing patches to those included applications) through the efforts of Drew Yao. At least it's not installing a version of Ruby that is vulnerable out of the box.

Of course, that assumes the application itself was written securely, but given the nature of how the entire service is installed and configured, it seems like that might be too much to ask for.

If you decide that the security risk is a bit much for you, or even if you're simply done creating your configuration files, good luck disabling the Web server your Mac is now running. There is no uninstallation method documented anywhere on Apple's site for actually removing the service! So any future vulnerability in Ruby unnecessarily exposes your machine, even if it no longer needs the running service.

Ironically, it's actually easier to use a GUI in Windows to disable the Windows version of the same service (through the Administrative Services control panel) than the recommended commandline in OS X.

One unofficial method to remove the service once installed was posted as a comment over at TUAW: [http://www.tuaw.com/2008/07/10/apple-releases-iphone-configuration-web-utility-1-0/] :

sudo launchctl unload /System/Library/LaunchDaemons/com.apple.iPhoneConfigService.plist
sudo rm /System/Library/LaunchDaemons/com.apple.iPhoneConfigService.plist

Of course, that still leaves the plethora of files installed by the package in the first place that will require manual removal. What a mess!

It would be nice to think that this is more indicative of a rushed iPhone 2.0 deployment than Apple's general attitude toward security. Sadly, that doesn't seem to be the case, as demonstrated by Apple's handling (or lack thereof) of the recent DNS cache poisoning attack.

Hat-tip to Ryan Naraine over at the Zero Day blog for catching Apple's security engineer job posting.

« Looking At Open Source CMS Market Share | Main | iPhone 2.0 Outrage Tearing Up Apple Discussion Boards »



Sign Up Now
For InformationWeek News Alerts




This is a public forum. United Business Media and its affiliates are not responsible for and do not control what is posted herein. United Business Media makes no warranties or guarantees concerning any advice dispensed by its staff members or readers.

Community standards in this comment area do not permit hate language, excessive profanity, or other patently offensive language. Please be aware that all information posted to this comment area becomes the property of United Business Media LLC and may be edited and republished in print or electronic format as outlined in United Business Media's Terms of Service.

Important Note: This comment area is NOT intended for commercial messages or solicitations of business.




 
 

  1. Massive Parallelism Has a Name ... Extreme Scale Computing
  2. Intel Turbo Boost Technology Monitor: A Windows Gadget to Understand Dynamic Frequencies
  3. Two-Stage Input Parallel Pipeline: Part 2


Join The InformationWeek Group On LinkedIn


  1. Latest Windows Mobile 7 Rumors
  2. Android 2.1 With Multitouch Headed To Motorola Droid
  3. Google's Universal Translator
  4. Rating The Mobile Superbowl Ads


  1. Microsoft Fixes 26 Vulnerabilities In Windows, Office
  2. Intel Ships Itanium Server Processor
  3. Commerce Department Proposes One-Stop Climate Service
  4. Microsoft Denies Windows 7 Battery Bug
  5. Google Buzz Challenges Facebook, Twitter
  6. Android, iPhone Gain In Smartphone Market

 

  Ars Technica
Boing Boing
Channel 9 Forums
CRN Blogs
Dr.Dobb's Portal: Blogs
Engadget
Gizmodo
GrokLaw
  Lifehacker
Schneier on Security
Slashdot
TechCrunch
Techdirt
Techmeme
Valleywag

  DECEMBER 2008
NOVEMBER 2008
OCTOBER 2008
SEPTEMBER 2008
AUGUST 2008
JULY 2008
JUNE 2008
MAY 2008
  APRIL 2008
MARCH 2008
FEBRUARY 2008
JANUARY 2008
DECEMBER 2007
NOVEMBER 2007
OCTOBER 2007
SEPTEMBER 2007