The Channel logo


By | John Leyden 13th August 2007 17:50

Facebook quells fears over code leak snafu

More of interest to lawyers than hackers

Server configuration errors led to a leak of a portion the code used by social networking site Facebook over the weekend.

The glitch was quickly fixed but not before samples of the code were posted on a new blog, Facebook Secrets, for world+dog to see (the site remains live at time of writing). The leak involved scripts used on Facebook's user interface. Facebook moved to quell possible speculation that its site had been hacked or that the code deliberately leaked by a disgruntled hacker. It blames a "misconfigured web server".

"A small fraction of the code that displays Facebook web pages was exposed to a small number of users due to a single misconfigured web server that was fixed immediately. It was not a security breach and did not compromise user data in any way," it said.

"Because the code that was released only powers the Facebook user interface, it offers no useful insight into the inner workings of Facebook. The reprinting of this code violates several laws and we ask that people not distribute it further."

The code could be of interest to hackers in revealing how the site works. While hardly handing over the keys of the kingdom it might provide clues in the hunt for bugs that have more serious consequences. It also provides encouragement for miscreants seeking to harvest user data by suggesting security policies at Facebook aren't exactly airtight.

Wired reckons a configuration error meant that one of the Apache servers behind the site meant that a string of PHP code was served up rather than processed, a promising theory that is yet to be confirmed.

The leak comes at time when the founders of rival social networking site ConnectU are suing Facebook founder Mark Zuckerberg for allegedly stealing their code and business plans when they were all students at Harvard. We can expect ConnectU to examine the leaked code for any similarities with its own. ®

comment icon Read 4 comments on this article alert Send corrections


Frank Jennings

What do you do? Use manual typwriters or live in a Scottish croft? Our man advises
A rusty petrol pump at an abandoned gas station. Pic by Silvia B. Jakiello via shutterstock

Trevor Pott

Among other things, Active Directory needs an overhaul
Baby looks taken aback/shocked/affronted. Photo by Shutterstock

Kat Hall

Plans for 2 million FTTP connections in next four years 'not enough'
Microsoft CEO Satya Nadella


League of gentlemen poster - Tubbs and Edward at the local shop. Copyright BBC
One reselling man tells his tale of woe