New worm targets MYSQL installations

A new worm-like threat is spreading on the Internet and targeting computers running the MySQL open source database software. Thousands of Microsoft Windows machines running MySQL have been infected, according to one security expert.

The new pest is a version of a common network worm named "Forbot." It infects machines by exploiting loosely secured MySQL installations running on Windows machines connected to the Internet. The new Forbot variant is one of the first known examples of an automated Internet threat targeting MySQL, and could infect machines running a wide range of database applications that use MySQL, according to Joe Stewart, a senior security researcher at LURHQ Corp.

MySQL is an open source database software program that is managed by MySQL AB. The product runs on Unix, Linux and Windows systems and is a popular alternative to Microsoft's closed source SQL Server database among Web developers. The MySQL AB Web site claims more than 5 million MySQL installations worldwide.

MySQL did not immediately respond to a request for comment.

The new threat was first detected Wednesday, when Web developers in Australia reported infections by a program called "spoolcll.exe," which was attempting to connect to an IRC (Internet Relay Chat) channel in Sweden, according to Johannes Ullrich, chief technology officer at The SANS Institute's Internet Storm Center (ISC).

ISC also noted a spike in scans for MySQL port 3306, which is associated with infection by the new Forbot variant, Ullrich said.

A check of the IRC channel Thursday showed more than 8,000 systems connected, though many more MySQL systems could be infected, but prevented from connecting by the overwhelmed IRC server, Ullrich said. (See, http://isc.sans.org/port_details.php?port=3306&tarax=1.)

The new version of Forbot infects machines by taking advantage of administrator accounts with weak or nonexistent passwords. The worm cracks the accounts by trying values from a predefined list of around 1,000 possible passwords, Ullrich said.

First discovered in July, Forbot is a network worm with built-in back door features, according to antivirus company Sophos PLC. Dozens of different Forbot variants have been identified.

Once the worm gains access to the MySQL root account, it uses a known exploit called the MySQL UDF Dynamic Library Exploit to upload and install malicious code to the infected system. The exploit used by Forbot was first noted in December, and allows an attacker with so-called "root" administrator permissions to expand the default functions available to the root account dynamically, Stewart said.

"I'm not even sure it's an exploit so much as a feature -- the ability to create new functions on the fly," he said.

Systems infected with the new Forbot variant connect to an IRC channel that is controlled by the worm author and receive instructions through that channel, Stewart said.

Right now, the systems are being instructed to scan for and infect other MySQL systems, but those instructions could be changed to instruct the infected systems to launch a denial of service attack, or other actions, which would stop the worm's spread, at least temporarily, he said.

To be infected, MySQL has to be configured to allow the root account to log in remotely to the system. By default, the root account is only allowed to log on at the machine running MySQL, rather than remotely. The root account also has to use a password that is on Forbot's list of passwords, Ullrich said.

The worm poses the most risk to Web developers who may be running the product on loosely secured workstations that are connected to the Internet but do not have firewall software running, he said.

However, MySQL is commonly used in third party database-driven applications, as an inexpensive and open source alternative to Microsoft SQL. That could expand the pool of likely victims beyond the developer community to "power users," Stewart said.

Stewart said that the new Forbot variant will probably not rate a severe threat, noting that the number of computers running MySQL is much smaller than the number systems running programs like Windows or Microsoft Office.

However, the worm is notable for being one of the first automated attacks on MySQL, Ullrich and Stewart said.

MySQL administrators were encouraged to strengthen their root account password, make sure that MySQL does not allow remote logins for the root account and use a firewall to prevent direct access to port 3306 from the Internet.

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Paul Roberts

IDG News Service
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Kurt Hegetschweiler

Brother PocketJet PJ-773 A4 Portable Thermal Printer

It’s perfect for mobile workers. Just take it out — it’s small enough to sit anywhere — turn it on, load a sheet of paper, and start printing.

Matthew Stivala

HP OfficeJet 250 Mobile Printer

The HP OfficeJet 250 Mobile Printer is a great device that fits perfectly into my fast paced and mobile lifestyle. My first impression of the printer itself was how incredibly compact and sleek the device was.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?