Feeds

Borland Interbase backdoor exposed

Open source reveals foolishly hardcoded password

  • alert
  • submit to reddit

Internet Security Threat Report 2014

A back door password has been hidden in Borland/Inprise's popular Interbase database software for at least seven years, potentially exposing tens of thousands of private databases at corporations and government agencies to unauthorized access and manipulation over the Internet, experts say.

Analysts report that the account name 'politically' with the password 'correct' unlocks access to Interbase versions 4.0, 5.0 and 6.0 over the Net, and on any platform. Moreover, because Interbase has the ability to execute user-defined functions, the back door can be used to inject malicious code into a system, which could give an attacker administrative access to the computer itself, according to a Wednesday advisory from Carnegie Mellon University's Computer Emergency Response Team (CERT).

"The back door account password cannot be changed using normal operational commands, nor can the account be deleted from existing vulnerable server," the CERT warning states.

Jim Starkey, architect of the original, 1985 version of Interbase -- which did not contain a back door -- says hackers have already begun scanning the Internet for services on TCP port 3050, the default port for Interbase servers.

California-based Borland did not return phone calls, but the company Web site acknowledges "a potential security loophole within the Interbase product."

According to company press material, Interbase users include Nokia, MCI, Northern Telecom, Bear Stearns, the Money Store, the US Army, NASA, and Boeing.

No malice

Rather than reflecting the work of a disgruntled insider or saboteur, the secret password is a programmer's ill-advised solution to a software design problem, says Starkey, who has analysed the back door code.

Until 1994, Interbase did not have its own access control mechanism -- the software was protected by the password scheme built into the underlying operating system. But with version 4.0, engineers set out to change that.

"What they decided to do was to set up a special database on every system that contained all the account names and the encrypted passwords," says Starkey. That model created something of a chicken-and-egg problem: to authenticate a user, the system had to have access to the password database; but to access any database -- including the password database -- the user first had to be authenticated.

The unknown programmer's solution was to hardcode a special password into the software itself -- a secret shared by the client and server. The back door solved the problem, but was a devastatingly bad move from a security standpoint, says Bruce Schneier, CTO of Counterpane and author of Secrets & Lies: Digital Security in a Networked World.

"As long as nobody knows about this back door, it works. It's still secure," says Schneier. "But as soon as somebody finds out about it, everybody is immediately and irrevocably insecure."

Open Source led to exposure

Discovery became inevitable when Borland made Interbase open source last year, giving outsiders the chance to peer into its inner workings for the first time. German software developer Frank Schlottmann-Goedde spotted the hardcoded password in late December while working on the Firebird Project, a community open source project built on the Borland Interbase release.

"We reacted with horror," says Starkey. "Everyone had a real good idea of how easy it was to exploit."

Competing fixes are now available from Borland and the Firebird Project.

"The thing that everybody was worried about is that the word would get out that there was a problem before we had a solution," says Starkey. "The words 'politically correct' show up about eighteen places throughout the code."

The last back door to be reported in a major software release was in April, when the password 'wemilo' was found hardcoded into the small-business Internet shopping cart program Cart32, where it had gone undetected for five years.

© 2001 SecurityFocus.com, all rights reserved.

Providing a secure and efficient Helpdesk

More from The Register

next story
Facebook, Apple: LADIES! Why not FREEZE your EGGS? It's on the company!
No biological clockwatching when you work in Silicon Valley
Doctor Who's Flatline: Cool monsters, yes, but utterly limp subplots
We know what the Doctor does, stop going on about it already
'Cowardly, venomous trolls' threatened with TWO-YEAR sentences for menacing posts
UK government: 'Taking a stand against a baying cyber-mob'
Happiness economics is bollocks. Oh, UK.gov just adopted it? Er ...
Opportunity doesn't knock; it costs us instead
Arab States make play for greater government control of the internet
Nerds told to get lost in last-minute power grab bid at UN meeting
Zippy one-liners, broken promises: Doctor Who on the Orient Express
Series finally hits stride, but Clara's U-turn is baffling
Don't bother telling people if you lose their data, say Euro bods
You read that right – with the proviso that it's encrypted
Apple SILENCES Bose, YANKS headphones from stores
The, er, Beats go on after noise-cancelling spat
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
Win a year’s supply of chocolate
There is no techie angle to this competition so we're not going to pretend there is, but everyone loves chocolate so who cares.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.