Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Security
This is a security alert about the UDF Worm that is infecting MySQL servers running on Microsoft Windows with poor firewall and password security

Security Alert 01/27/2005
1. What is the UDF Worm?
The UDF Worm is self-propagating code that is finding MySQL servers running on Microsoft Windows with poor firewall and password security.
This worm does not exploit any bugs in MySQL. It does exploit poor security setups for firewalls and passwords.
This worm is Microsoft Windows specific; it is unlikely to infect any Linux or UNIX compatible environments.

2. What is a User Defined Function (UDF)?
A User Defined Function, often referred to as a UDF, is a part of the ANSI SQL-99 specification. This feature allows developers to create custom functions. It is a common feature among the major database products.

3. What does the UDF Worm do?
The UDF Worm looks for MySQL servers running on Microsoft Windows that have been exposed to the internet and have either weak or no passwords installed on the account named "root". Once it finds an account it installs a UDF, and then uses that machine to infect other machines.

4. How do I know if my MySQL installation has been infected?
Run the following SQL statement: SELECT * FROM mysql.func;
If a UDF is found with a name of "app_result" then you have been infected with the worm.
You should look at all UDFs and determine whether or not they are legitimate. The worm is likely to mutate over time and will take on different UDF names.

5. How do I disinfect my system?
You may be able to remove the worm by running the following SQL statement:
DROP FUNCTION app_result;
Removing the worm does not secure a compromised machine. For one discussion of how to secure a compromised Microsoft Windows machines, please see this article.
To prevent the worm from connecting to your database you should verify that all of your current accounts have passwords and that they are strong passwords (i.e. not easily guess-able).
And remember to use firewalls and strong passwords to protect your MySQL Servers.
Please consult your security advisors for the best way to protect your systems.

6. How do I protect my MySQL Servers on Microsoft Windows?
There are 2 basic steps to protect your MySQL Servers:
Always use strong passwords on all accounts.
Use firewalls to protect your MySQL Servers.

7. Is this a vulnerability on Microsoft Windows, Linux, or Unix?
This worm is Microsoft Windows specific; it is unlikely to infect any Linux or UNIX compatible environments.
Learn more about strong passwords and firewall setups for Microsoft Windows here: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/windows_password_tips.mspx http://www.microsoft.com/athome/security/protect/firewall.mspx
8. What is MySQL AB doing about this?
We will continue to educate our users about security (strong passwords and firewalls) on Microsoft Windows.

9. What are others in the Open Source and security communities saying about this issue?
For more findings on the UDF Worm, see: Handler's Diary (SANS Institute)

10. Where can I report my observations?
Please report all security issues to security@mysql.com


Posted by Robru on Saturday, January 29, 2005 (16:10:53) (4755 reads)

"MySQL Security Alert" | Login/Create an Account | 5 comments
Threshold
The comments are owned by the poster. We aren't responsible for their content.

Re: MySQL Security Alert (Score: 1 )
by Mystic on Sunday, January 30, 2005 (09:08:48)
(User Info | Send a Message)
This is why I run a Linux server and not a Windows server...



Re: MySQL Security Alert (Score: 1 )
by cpggermany on Sunday, January 30, 2005 (13:18:20)
(User Info | Send a Message)
yeap
Smile crazy to use windows for server



Re: MySQL Security Alert (Score: 1 )
by Jeruvy on Monday, January 31, 2005 (11:55:13)
(User Info | Send a Message)
Well the real problem isn't windows, it's trusting your system without proper authentication setup and lack of a a decent firewall.

As nice as it is to say 'I run linux so I'm better' is nonsense. I run Mysql on a windows box and it's open to the internet, and has never been a victim of abuse to date, and I've seen these worms attempt to get into my network, as I'm sure you've seen them try to enter your networks.

Good password protection ALONE would protect you against this.

So please, as valid as this notice is, the problem is simply not knowing how to set up Mysql properly. Something I see done on linux systems all the time three times more than I see in windows. Why is this? Because idiots think linux is more secure.



Re: MySQL Security Alert (Score: 1 )
by masterbeta on Monday, January 31, 2005 (19:09:13)
(User Info | Send a Message)
yeah don't pick on the "system" - instead pick on the person in charge of that particular "system" Wink



 
   Toggle Content Related Links
 More about Security

Most read story about Security:
security hole recently found in AWStats

   Toggle Content Article Rating
Average Score: 4.5
Votes: 4


Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad


   Toggle Content Options

 Printer Friendly Page  Printer Friendly Page


   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy