Worm hijacks open source database

Thousands of MySQL servers around the world are being infected with a worm which could facilitate a massive denial-of-service attack.

Security experts have warned that thousands of MySQL servers around the world could be press-ganged into launching a denial-of-service attack that could bring down the Web site of a company the size of Microsoft.

A worm, dubbed MySpool by security organisation SANS, is spreading rapidly amongst the MySQL user base. It automatically exploits MySQL servers and subsequently infects Windows systems when triggered by an Internet Relay Chat (IRC) server located in Sweden.

Malware monitoring company Prevx has been watching the worm spread on the Internet since the first sighting on Tuesday. According to MySQL there are around five million installations of the open source database globally.

MySpool is thought to be recruiting thousands of machines for a potential denial-of-service attack which work by using compromised computers acting co-operatively to flood a target with data and disable it.Cyberciminals used the threat of such attacks to blackmail several high-profile online betting companies last year.

Earlier today, Prevx said the network of infected computers was increasing by a hundred a minute and had grown big enough to execute a denial-of-service attack that could bring down a company of Microsoft's size.

"This uses a new vulnerability on MySQL," said Jacques Erasmus, a security consultant for Prevx. "This is a zero-day exploit that infects machines using SQL injections. It is focussed on corporate users not home users. It's spread quite fast. I think as MySQL is popular, it would be wise not have them deployed in front of Web servers. That's fairly common sense, but lots of people don't know that."

Although experts are still unclear on exactly how the infection mechanism works, machines running almost all versions of MySQL accepting inbound connections from hosts on application port 3306 are said to be vulnerable.

MySpool, which runs a file called spoolcll.exe, enters MySQL servers through a SQL injection vulnerability, copies itself to the directory: "%systemdrive%\appl\develop\mysql\data" and gives itself a random eight-character file name. When the programme is run from a remote IRC server, it randomly reassigns ports and starts a Trojan, allowing hackers to access computers and listen to traffic. It then performs an IP scan looking for other computers to infect and begins another process of SQL injections.

Security researcher Secunia said it is still researching the worm but the vulnerability the worm exploited looked new.

SANS is still researching the worm, but has advised administrators not to expose any MySQL servers to unsolicited connections and to block port 3306.

At the time of writing, neither Symantec, Trend Micro, McAfee, Kaspersky, F-Secure or Sophos had posted information about spoolcll.exe on their Web sites.

ZDNet UK's Dan Ilett reported from London. For more coverage from ZDNet UK, click here.

Talkback 2 comments

    Misleading! There are a lot o ...Anonymous -- 28/01/05

    Misleading! There are a lot of requirements in this attack that are not mentioned here.

    1. It is only MySQL on Windows that is vulnerable.

    2. It only works if the MySQL has been poorly configured - particularly with a weak root p****word.

    3. This is stated - it only works if you have the port open and no firewalling.

    Basically, this is a configuration issue, not a vulnerability.

    Some Vital Facts ... Firstly a ...Anonymous -- 28/01/05

    Some Vital Facts ...

    Firstly as in the previous comment, this affects only Windows MySQL installations. We manage hundreds of MySQL servers all on Linux.

    1) Anyone deploying MySQL over an insecure OS such as Windows needs their head read in my opinion, unless they employ full time staff to apply the almost daily Windows security updates.

    2) Any professional organisation will not put servers in production with default weak p****words

    Based on above, it will be interesting to see just how many infections there will be.

Add your opinion

Latest Videos

Sponsored content

Power Centre - Content from our premier sponsors

Blogs

  • Brad Howarth The key Topik is always money
    One of the big problems of the internet is that is practically impossible to keep up-to-date on preferred topics. You can limit your sources, but this can mean missing a lot of valuable data.
  • Array Do we need the legislative blackmail?
    Virtually everyone in the telecommunications industry has their say in the Senate Standing Committee's public hearing into the pending legislation to split up Telstra, in this week's Twisted Wire podcast.
  • Array Give Tax a break for a Change
    Considering the circumstances the Australian Taxation Office's (ATO) Change Program has been operating in over the last few years, it really hasn't been going too badly.
  • More blogs »

Tags

Back to top

Featured