Feeds

Shopping-cart back door gives author admin privileges

Malicious Perl script just the tip of the iceberg?

  • alert
  • submit to reddit

Mobile application security vulnerability report

During the period of active Y2K remediation last year, much was made of the possibility that unscrupulous, fly-by-night contractors might install back doors to networks they were engaged to repair. Recent events suggest that some of the more familiar, household names in IT services and software development deserve similar attention. Last week we learned that a playful employee installed a back door in Micro$oft Internet Information Server (IIS). We've wondered how many mass-marketed, household software applications might have their own hidden agendas, ever since the flap over RealNetworks' media player emerged, revealing that the company had been abusing the application to spy on their customers' tastes in music. Now we find that a CGI shopping-cart script by Danise.net is coded with a feature allowing its author, or an intruder, to execute any command on any server running it with the same privileges as the CGI process itself, according to a Bugtraq alert contributed by Blarg Online Services Technical Support Representative Joe Harris. Harris originally discovered the back door while helping a Blarg customer install and debug the Dansie Shopping Cart application. Author Craig Danise apparently coded a routine into the application which enables him to use a nine-character password to execute commands on a customer's server remotely. The password is the same for each copy of the application, giving him universal access. A cloaked e-mail routine, also coded into each copy of the software, reports the specific URLs where the applications are installed back to Danise. The script must be installed with world-readable permissions, meaning that anyone with access to a server on which the cart is installed can retrieve the password and control that server. "Dansie.net, armed with the server name and URL to the CGI executable provided by the cloaked email routine, would be able to run commands on any Web server on the Internet that has the Dansie Shopping Cart installed. It takes little imagination to dream up the potential havoc and privacy violations this level of access could result in, from stealing private customer records to a full-blown crack of an e-commerce server," Harris wrote. The apparent motive for the back door is to enable Danise to monitor his customers for copyright violations, and to receive e-mail notice when bootleg copies are installed. We've had an unconfirmed report of one instance where Danise used his back door to delete the software from the server of one customer who had hard-coded a few custom features into his copy of it. We have in the past warned that Perl scripts are ripe for this sort of exploitation, but Harris takes some issue with our unmitigated contempt for them. "Perl scripts are not the problem. Perl is not the problem. Incompetence is the problem. There are too many amateurs out there writing sloppy code. They get a brief lesson in Perl from some book and think that this makes them the Internet's gift to programming," Harris told The Register. "Most of the problems stem from programmers who don't understand the whole picture of what happens between browser, common gateway interface [CGI], and server. It's this lack of knowledge that leads to exploitable CGI programmes," he added. Fair enough, but we've seen enough weak CGI scripts written by the cognoscenti to stick to our guns here, though with the allowances that some are definitely better than others, and that naive users are often implicated in their own vulnerability. As one member of a BBS discussion pointed out, "If I knew what I was doing, I wouldn't need a script." All the more reason for users to beware. Issues related to this discovery are elaborated in a Deja.com discussion started by Kasey Johns, who also discovered the malicious script. ®

The Power of One Brief: Top reasons to choose HP BladeSystem

More from The Register

next story
BBC goes offline in MASSIVE COCKUP: Stephen Fry partly muzzled
Auntie tight-lipped as major outage rolls on
iPad? More like iFAD: We reveal why Apple fell into IBM's arms
But never fear fanbois, you're still lapping up iPhones, Macs
Stick a 4K in them: Super high-res TVs are DONE
4,000 pixels is niche now... Don't say we didn't warn you
Amazon Reveals One Weird Trick: A Loss On Almost $20bn In Sales
Investors really hate it: Share price plunge as growth SLOWS in key AWS division
Bose says today is F*** With Dre Day: Beats sued in patent battle
Music gear giant seeks some of that sweet, sweet Apple pie
There's NOTHING on TV in Europe – American video DOMINATES
Even France's mega subsidies don't stop US content onslaught
You! Pirate! Stop pirating, or we shall admonish you politely. Repeatedly, if necessary
And we shall go about telling people you smell. No, not really
Too many IT conferences to cover? MICROSOFT to the RESCUE!
Yet more word of cuts emerges from Redmond
Chips are down at Broadcom: Thousands of workers laid off
Cellphone baseband device biz shuttered
prev story

Whitepapers

Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Top 8 considerations to enable and simplify mobility
In this whitepaper learn how to successfully add mobile capabilities simply and cost effectively.
Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.