Feeds

TinyURL, your configs are showing

Twitter pal leaves server wide open

  • alert
  • submit to reddit

Protecting against web application threats using SSL

TinyURL - the site that converts unwieldy web addresses into short, manageable URLs - has been caught running a server so poorly configured it represents a serious risk to its millions of trusting users, a security expert is warning.

At time of writing, the site's PHP module was actively broadcasting dozens of sensitive configuration settings. The information, which includes the web server's IP address, operating system and web application server, are all included, making the job of penetrating the widely-used service that much easier.

Even more remarkable, the server user is listed as root, and its group is wheel. These so-called "god" settings would allow anyone who is successful in breaking into the box to maximize the damage that could be caused. Even novice server admins know they should run the server in a setting known as "nobody" or something similar, which protects sensitive parts of the server from tampering.

Screenshot of TinyURL configuration settings

"This is the epitome of bad-practice," security consultant Rafal Los told The Register a few hours after publicly disclosing the misconfiguration on his blog. "Why would you want to run a web service as 'Administrator' because if I figure out a way to jack that service, I completely, 100% own that machine."

Los said he sent email to TinyURL addresses on Wednesday morning California time but never received a response. Emails The Register sent to various addresses, including one belonging to the site's founder, Kevin Gilbertson, weren't returned at time of writing. We'll be sure to update this story if we hear back.

The site's sloppy administration is much more than a mere curiosity. Because TinyURL significantly shortens long URLs, it's impossible it can be difficult for some end users to know where one of the site's links leads until they click on it. That makes the site the perfect vector for sending people to websites used in spam, malware attacks and other online scams. TinyURL's popularity has skyrocketed in the past year as it became the main way people on Twitter to share links.

The misconfiguration came to light through the collective sleuthing of Los and several readers of his blog. After noticing some strange errors in Twitter posts made by Fox News, Los originally suspected flaws in the online microblogging site. With the help of a user named Mubix and others, they quickly realized the errors were the result of poor practices at TinyURL. ®

Update

About four hours after this story was published, Gilbertson responded with the following statement: "That security 'expert' sure doesn't know how to read that. No daemons are run under an administrator or root user."

This story was corrected to reflect that it's not impossible to know where a TinyURL link leads. The site offers a preview feature.

Reducing the cost and complexity of web vulnerability management

More from The Register

next story
Early result from Scots indyref vote? NAW, Jimmy - it's a SCAM
Anyone claiming to know before tomorrow is telling porkies
TOR users become FBI's No.1 hacking target after legal power grab
Be afeared, me hearties, these scoundrels be spying our signals
Home Depot: 56 million bank cards pwned by malware in our tills
That's about 50 per cent bigger than the Target tills mega-hack
Hackers pop Brazil newspaper to root home routers
Step One: try default passwords. Step Two: Repeat Step One until success
NORKS ban Wi-Fi and satellite internet at embassies
Crackdown on tardy diplomatic sysadmins providing accidental unfiltered internet access
UK.gov lobs another fistful of change at SME infosec nightmares
Senior Lib Dem in 'trying to be relevant' shocker. It's only taxpayers' money, after all
Critical Adobe Reader and Acrobat patches FINALLY make it out
Eight vulns healed, including XSS and DoS paths
Spies would need SUPER POWERS to tap undersea cables
Why mess with armoured 10kV cables when land-based, and legal, snoop tools are easier?
prev story

Whitepapers

Secure remote control for conventional and virtual desktops
Balancing user privacy and privileged access, in accordance with compliance frameworks and legislation. Evaluating any potential remote control choice.
WIN a very cool portable ZX Spectrum
Win a one-off portable Spectrum built by legendary hardware hacker Ben Heck
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.
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?
Beginner's guide to SSL certificates
De-mystify the technology involved and give you the information you need to make the best decision when considering your online security options.