Feeds

Collective SSL FAIL a symptom of software's cultural malaise

Apple, WhatsApp and Belkin show that if you ask for bad software, you get bad software

3 Big data security analytics techniques

In the 19 years that have passed since the first implementation of SSL, you could be forgiven for expecting that the industry could do it right by now: and yet last week, not one but three SSL vendors were discovered to have implementation problems.

Belkin was caught not checking SSL certificates; WhatsApp was discovered to have overlooked certificate pinning in its SSL implementation; but Apple's SSL woes outshone them both, exposing hundreds of millions of iOS and OS X Mavericks users to man-in-the-middle attacks.

Given the Snowden revelations, it's almost axiomatic that conspiracy theorists would find the fingerprints of the NSA in such events.

However, Vulture South is moved to wonder if the conspiracy we need to worry about isn't one of shadowy spooks subverting vendors or developers, but the cultural conspiracy of sleepless software development, which is almost guaranteed to deliver bad code.

It's apparent that Apple suffered a double slip: someone's command-V slipped, and it wasn't caught in any code review.

It's a mistake so simple that Vulture South is tempted to wonder whether the gung-ho no-sleep bring-coffee culture that pervades software isn't at fault. Yes, we know that the software industry has collectively spent a lot of time and energy creating and implementing processes to more-or-less bulletproof code creation. But there's also not a company or government department so boring that staging a Hackathon won't bring it some hipster credibility. Throw in a trophy and a boxed set of steak knives as first prize, and coders will show up, work ruinous hours and happily turn over their output for free.

Reward mechanisms inside companies are, I suspect, no better: it's easy to imagine that eyes bleary and bloodshot simply didn't notice the error. It's easier to see it that way than to dive into conspiracy theory.

Over at Columbia University, Steven Bellovin notes that as a piece of spook sabotage, “goto fail;” is thunderingly ham-fisted: it appears in a piece of the Apple source code base that's released under an open source license, rather than being hidden in a proprietary binary.

Bellovin adds: “There's another reason to think it was an accident: it's not very subtle. That sequence would stick out like a sore thumb to any programmer who looked at it; there are no situations where two goto statements in a row make any sense whatsoever.”

Google's Adam Langley doesn't quite agree with Bellovin about the subtlety of the error, but he points out that the bug isn't caught by the two compilers he tried it on – GCC 4.8.2 or Xcode's Clang 3.3, when run with warnings enabled. Only if the code was compiled under Clang with the -wunreachable-code flag would the bug have been noticed.

“Code review can be effective against these sorts of bug. Not just auditing, but review of each change as it goes in,” Langley writes.

But that's the kind of eagle-eyed operation that needs eyes that aren't held up by matchsticks. ®

Top three mobile application threats

More from The Register

next story
This time it's 'Personal': new Office 365 sub covers just two devices
Redmond also brings Office into Google's back yard
Batten down the hatches, Ubuntu 14.04 LTS due in TWO DAYS
Admins dab straining server brows in advance of Trusty Tahr's long-term support landing
Inside the Hekaton: SQL Server 2014's database engine deconstructed
Nadella's database sqares the circle of cheap memory vs speed
Microsoft lobs pre-release Windows Phone 8.1 at devs who dare
App makers can load it before anyone else, but if they do they're stuck with it
Oh no, Joe: WinPhone users already griping over 8.1 mega-update
Hang on. Which bit of Developer Preview don't you understand?
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
Internet-of-stuff startup dumps NoSQL for ... SQL?
NoSQL taste great at first but lacks proper nutrients, says startup cloud whiz
Windows 8.1, which you probably haven't upgraded to yet, ALREADY OBSOLETE
Pre-Update versions of new Windows version will no longer support patches
IRS boss on XP migration: 'Classic fix the airplane while you're flying it attempt'
Plus: Condoleezza Rice at Dropbox 'maybe she can find ... weapons of mass destruction'
prev story

Whitepapers

Top three mobile application threats
Learn about three of the top mobile application security threats facing businesses today and recommendations on how to mitigate the risk.
Combat fraud and increase customer satisfaction
Based on their experience using HP ArcSight Enterprise Security Manager for IT security operations, Finansbank moved to HP ArcSight ESM for fraud management.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
SANS - Survey on application security programs
In this whitepaper learn about the state of application security programs and practices of 488 surveyed respondents, and discover how mature and effective these programs are.