Slashdot Mirror


Worm Hits Windows Machines Running MySQL

UnderAttack writes "A report on the Australian whirlpool forum suggest that a worm is currently taking out MySQL servers running on Windows. We have seen this happen with MSSQL before (not just 'Slammer', but also SQLSnake that used SA accounts without password). The SANS Internet Storm Center suggests that a rise in port 3306 scans can be attributed to the new worm, and is asking for observations to help figure this out. It appears the worm creates a file called 'spoolcll.exe'."

65 of 367 comments (clear)

  1. Acronym madness clarification. by sanityspeech · · Score: 5, Informative

    What is the SANS institute?

    The SANS (SysAdmin, Audit, Network, Security) Institute provides information security training and certification. For more information, visit www.sans.org

    What's an SA account?

    The system administrator (SA) account is similar to the DBO except it is of the entire server. It has the same access and permissions as the DBO on all the databases in the server.

    DBO account???

    The DBO User Account The database owner (DBO) is the administrator for the database. It has full access to all operations and rights.

    SQL Snake is an Internet worm, that scans for open Microsoft SQL 7 (MSSQL) and 2000 servers - which run on TCP Port 1433 by default. The worm attempts to log into the System Administrator (SA) account with no password. If successful, the worm downloads and hides some files and grabs system configuration and account names.

    Before the MySQL bashers start, it should be noted that this is not a problem with MySQL.

    From the article:

    This bot does not use any vulnerability in mysql. The fundamental weakness it uses is a week 'root' account. The following mitigation methods will prevent exploitation:

    Strong Password: Select a strong password, in particular for the 'root' account.
    Restricted root account: Connections for any account can be limited to certain hosts in MySQL. This is in particular important for 'root'. If possible, 'root' should only be allowed to connect from the local host. MySQL will also allow you to force connections to use mysql's own SSL connection option.
    Apply firewall rules: MySQL servers should not be exposed to the "wild outside". Block port 3306 and only allow access from selected hosts that require such access. Again, the use of ssh forwarding or SSL is highly recommended.

    1. Re:Acronym madness clarification. by Naikrovek · · Score: 3, Informative

      It doesn't. You have to configure it to allow non-localhost connections.

    2. Re:Acronym madness clarification. by DrSkwid · · Score: 2, Funny

      almost there, try this :

      A server should not have root accounts.

      there, that's more like it

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    3. Re:Acronym madness clarification. by Anonymous Coward · · Score: 2, Informative

      Extremely easy to do using ipsec (on Windows XP & 2000), allow me to demonstrate:

      ipsec -w REG -p "filter" -r "MySQL" -f *+0:3306:TCP -n BLOCK
      ipsec -w REG -p "filter" -x

      Bam; all outside connections are now dropped.

      Enjoy.

      (Note: You might have to use ipseccmd or some other quirky name.)

    4. Re:Acronym madness clarification. by Deviate_X · · Score: 2, Interesting

      Clearly you have no idea that this flaw has nothing to do with Windows Security. That is another debate.

      This is a flaw in Windows version of MySQL. Your comment is entirely beside the point.

  2. Shouldn't be a big deal by Mad+Merlin · · Score: 4, Informative
    How often does your database have to talk directly to the outside world? The port should be closed to the outside world most of the time.

    A hole in a program that communicates to the database and is accessable from the outside world would be a much more serious flaw I would imagine.

  3. Re:Windows by TedCheshireAcad · · Score: 4, Insightful

    Don't laugh - it happens. MSSQL is 'spensive, and for an all-windows environment that needs a database - MySQL wins the prize.

    /took your comment too seriously

  4. Re:Windows by Directrix1 · · Score: 3, Informative

    Only because people don't know about Firebird.

    --
    Occam's razor is the blind faith in the natural selection of least resistance and in universal oversimplification. -- EF
  5. Re:Windows by UnderAttack · · Score: 3, Informative

    Well, Apache, PHP and MySQL run just fine in Windows. Many people run Linux on servers, but Winows on Developer desktops (which then have Apache, php and mysql installed).

    --
    ---- join dshield.org Distributed Intrusion Detec
  6. What? by Anonymous Coward · · Score: 2, Informative

    Do you realize how much of a pain it was to get postgres working on Windows until fairly recently?

  7. I don't get it by gowen · · Score: 5, Interesting
    I don't understand the sans report. First it says :
    The bot uses the "MySQL UDF Dynamic Library Exploit".
    before adding
    This bot does not use any vulnerability in mysql.


    Come again?
    --
    Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
    1. Re:I don't get it by Qzukk · · Score: 4, Informative

      Well, to spread it specifically uses weak default/unset DB admin passwords and MySQL running as a system or admin level task with write access to everything. Once the worm is in your server as the db admin password, it uses the db admin's ability to load a dll into mysql to allow it to perform actions outside of mysql.

      See the details on this for information about what exactly is happening. There are plenty of DLLs on windows laying around that do all sorts of stuff, once you define a function call in MySQL to use a dll that allows you to execute whatever you want on the system, you win.

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
    2. Re:I don't get it by DrSkwid · · Score: 2, Insightful


      mysql can load arbitrary dlls?

      lol that's one of the dumbest features I ever heard!!

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    3. Re:I don't get it by DrSkwid · · Score: 2, Insightful

      that's right, dumbest

      even when you redundantly explain it, it doesn't get any cleverer

      arbitrary dlls == dumb

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    4. Re:I don't get it by DrSkwid · · Score: 2, Insightful


      The key word is "arbitrary". The ability to load winsock.dll into mysql is dumb

      You *could* compile against a set of headers to mark the dll as database server safe

      You *could* compile against a set of headers to mark the dll as owned by the owner of a particular database

      You could cryptographically sign the dlls and only accept signed dlls

      "ooh but it's just sooo flexible"

      just like activeX email

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  8. Not for the first time ... by enoraM · · Score: 2, Informative

    Actually we have seen this before with MySQL in the beginning of 2003:

    SELECT INTO outfile was buggy up to 3.23.55

  9. Re:Clarity by Anonymous Coward · · Score: 3, Insightful

    That doesn't change the fact that there are flaws in MySQL that need to be fixed.

  10. I got hit by LiquidCoooled · · Score: 5, Informative

    My test server was compromised at 18:50 yesterday.
    When I got back to my machine at 19:20, I cleaned it down and found out what was happening.

    All firewall logs etc and have archived the executable and dll files dropped.

    One into the mysql data folder (app_result.dll), and the executable spoolcll.exe was dropped into windows.
    Only now that I've gone into the archive folder has Norton picked it up and archived it (it had shutdown/ran the QConsole.exe NAV application to ensure Norton didn't find it, or it just wasn't in the definitions yesterday).
    Its been detected as a href='http://securityresponse.symantec.com/avcente r/venc/data/w32.spybot.worm.html'>w32.Spybot.worm.

    --
    liqbase :: faster than paper
  11. Bandwidth comparison, please ? by LordPixie · · Score: 4, Funny

    What is going to soak up more of the Internet's bandwidth ? A MySQL worm port scanning every IP in existance, or a gigantic mob of Slashdotters flaming Microsoft because it only affects Windows machines ? And will either of them even come close to breaking the current record held by BitTorrent Porn ?

    For the stirring conclusion, stay tuned to Netcraft: As the Internet turns...


    --LordPixie

  12. Not surprising by barryman_5000 · · Score: 2, Interesting

    I wonder why Microsoft doesn't just decide to build a new OS from scratch that will only run its own software and be very limited but only do one thing good. It doesn't surprise me everytime an exploit appears for programs or OS's nowadays since no one tries to make their stuff secure. Even OpenBSD doesn't do enough. They need to start with more limits and be less user friendly when you are doing something like database software.

  13. Ok, this is strange by digitalgimpus · · Score: 2, Interesting

    Just a few minutes ago, Sygate Personal Firewall allerted me to several portscans on my system.

    I am running mySQL 4.0.x...

    I guess it's time to see what's going on.

    I do keep all ports closed, all mySQL passwords are secure, no remote access to mySQL. It's just for dev purposes.

    Not sure if there is a connection, but I'm going to look into it.

    1. Re:Ok, this is strange by stanleypane · · Score: 5, Funny

      You seem very concerned. Better submit that last Slashdot comment before checking it out.

  14. Re:Windows by gmuslera · · Score: 4, Informative
    I'll bet that the worm takes advantage of default installation of MySQL made by PHPTriad or another "easy" way to install under windows mysql along with i.e. php and apache for this case

    In linux by default in a lot of distributions being able to connect from network is disabled in mysql, or sets root password as php password, so the risk of that kind of worm (well, for systems that don't have even a basic firewall configured) is pretty low.

  15. I want my money back! by netsavior · · Score: 3, Funny

    Man if I had known that this software was vulnerable to worms I would never have bought it.

  16. Re:Windows by _xeno_ · · Score: 3, Informative

    Exactly. There are something like seven developer systems running Windows that have MySQL and a web server on them for webapp development in the section I work for. Then, later, the webapp gets uploaded to a Solaris machine where the users actually use it.

    I also have MySQL on my home Windows machine, since that's what my hosting provider offers. So I do some basic testing on Apache on Windows with MySQL as the database backend.

    --
    You are in a maze of twisty little relative jumps, all alike.
  17. Re:Windows by weopenlatest · · Score: 2, Informative

    I use mysql at the web shop I work for. The reason is that we're in the process of moving a legacy ASP application to LAMP, and running both PHP and ASP on the same box was SUPPOSED to be a timesaver by smoothing over the transition. I was against this idea from the beginning, arguing that mysql and php on windows were a underdeveloped compared to the linux/unix versions. Now I have a nice 'I told you so' that the managers can understand.

  18. MySQL a real DB? by Atomizer · · Score: 4, Funny

    Does this mean MySQL is considered a real DB now?

    1. Re:MySQL a real DB? by KingBahamut · · Score: 2, Insightful

      Lol....REAL DATABASE features.....thats an odd term. Let us go to the Websters. 1. A collection of data arranged for ease and speed of search and retrieval 2. An organized body of related information 3. One or more large structured sets of persistent data, usually associated with software to update and query the data. A simple database might be a single file containing many records, each of which contains the same set of fields where each field is a certain fixed width. Now then I clearly think that MySQL fits one or more of those definitions...making it a REAL DATABASE.....lol....wake up people.

      --
      "God of Rock, thank you for this chance to kick ass. "
    2. Re:MySQL a real DB? by oconnorcjo · · Score: 2, Insightful
      A simple database might be a single file containing many records, each of which contains the same set of fields where each field is a certain fixed width. Now then I clearly think that MySQL fits one or more of those definitions...making it a REAL DATABASE.....lol....wake up people.

      What I think most people who talk about REAL DB'S are refering to is the ACID Test. I have not checked recently but for the longest time MySQL failed those requirements.

      --
      I miss the Karma Whores.
  19. Windows + Internet = Bad Things by WoodstockJeff · · Score: 2, Insightful
    This is yet another reason to not attach a Windows-based computer to internet without a firewall. Of course, having a public-access SQL server (regardless of its software) isn't a particularly good idea, either.

    For both of these, there are exceptional requirements that can negate these general rules, but anyone who has these requirements should know better than to not take exceptional measures to protect the server.

  20. Don't keep the port open! by hacker · · Score: 5, Informative

    99.99% of people who run MySQL run it on the same machine as their webserver that queries it. Most people don't actually do queries across the network to the database server.

    Just run MySQL with --skip-networking at startup (skip-networking in my.cnf), to disable MySQL from listening on port 3306. I know on most systems, its probably the default, but in almost all of the cases, its completely unnecessary.

    And also, validate your input !! Don't just assume that whatever is passed on the URI field of a browser, is going to be correct. Check it. Then check it again.

    1. Re:Don't keep the port open! by drinkypoo · · Score: 4, Interesting

      Turning off networking makes remote administration more difficult. Why not just block the port? Every supported version of NT, plus the two most recent unsupported versions (and probably more) has port filtering. Just block those ports (or, you can default deny) on the external interface.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    2. Re:Don't keep the port open! by wolrahnaes · · Score: 2, Informative

      "so disabling networking is not really viable on Windows is it?"

      I don't know about other services, but MySQL on Win32 supports named pipes, and can use those instead of TCP/IP. It even asks in the installer if you want to disable networking.

      --
      I used to get high on life, but I developed a tolerance. Now I need something stronger.
  21. Some info by Squeebee · · Score: 5, Informative

    Ok folks. This is a bot, and it uses weak root passwords to gain entry to MySQL. From there, it loads a BLOB in a table with a payload DLL, which it then writes to disk and loads as a MySQL UDF. The UDF is called, which creates the bot and the system is compromised.

    Damage appears to be low as it is more spyware than anything, and you are only at risk if you A) Have not firewalled the MySQL Port, B) Have a root account that is allowed to login from anywhere, not just localhost, and C) Have a weak root password.

    So, the fix is this:

    A) Firewall port 3306
    B) Remove the root@% account, only allow root@localhost
    C) Set a strong password

    I have more info at http://www.openwin.org/mike/index.php/archives/200 5/01/batten-the-hatches-mysql-targeting-bot-on-the -loose/

  22. Re:Clarity by Fred_A · · Score: 2, Insightful

    Flaws such as letting people install it that are clueless enough to put it on Internet connected machines without setting passwords for administrative accounts ?

    That'll be a tough one to patch...

    --

    May contain traces of nut.
    Made from the freshest electrons.
  23. temporary fix by greechneb · · Score: 5, Informative


    Open the Administrative Tools/Services app.
    Find the "Event Monitor" service.
    Open the Properties for this service.
    You cannot pause or stop this service, so set the General/Startup Type to Disabled.
    On the Recovery tab, set all 3 failure actions to Take No Actions.

    Reboot.

    Since the service didn't start, spoolcll.exe is not running.
    Delete it (or whatever).

    But, do not delete the service, as its existence will prevent new copies of the virus from activating.

  24. MySQL in practice by Marcus+Erroneous · · Score: 4, Interesting

    Well, I'm pretty sure I've got that port blocked already, but . . .
    I stood up MySQL on a Linux box and on a Win2k box to show that, unlike MSSQL, MySQL ran on more than one platform. One database could be deployed to both platforms with the ability to keep the application running even if one goes down. Instead of having the app be entirely offline, you can bring the other over very quickly. Did this just after the first MSSQL worm to show that there are alternatives and that entire sites don't have to go down because of one bug. Now we're working on deploying some Linux clusters.

    --
    You must be the change you wish to see in the world - Ghandi
  25. Re:Windows by Tony+Hoyle · · Score: 3, Informative

    90% of tasks can be handled by the free MSDE install.. there's a 2GB limit, but a lot of tasks simply don't need that kind of size.

    MySql is expensive too (300 per client, unless you want to GPL all your software).

  26. In fairness by wowbagger · · Score: 4, Insightful

    In fairness, I would generalize your statement to:

    Don't connect ANY computer to the Internet, or any other hostile network, without a firewall.

    Now, you can argue that, in the case of some operating systems, the firewall built into the OS, when properly configured, is enough.

    You can also argue that a firewall should be a firewall, and a firewall ONLY, and that any other services should be provided by another machine BEHIND the firewall.

    And depending upon the circumstances, either argument can win.

    However, if you think in terms of "First the firewall, THEN the services", you will be miles ahead.

    Connecting a Linux box, or a *BSD box, or a Mac, or an AS/400, or .* to a hostile network with any non-trivial set of services running and no firewall, and it is going to have problems.

    The problem here is that the people who set up the MySQL servers on these boxes did not insure they were firewalled - this could have happened just as easily to a Linux box with a similarly bad setup.

  27. Re:Clarity by picklepuss · · Score: 2, Insightful

    Nice try, but I you only took in a minor part of the equation, and so you fail

    While it's true, the worm could probably intrude a *nix mySQL server that was open to the internet with a default password of ''... intrusion is only part of the game plan. The payload is the important part

    In this case, I doubt that installing the exe on a *nix box is going to do much good. Even if the writer were to create a *nix specific script for the payload, I'm pretty sure it would be given the mysql uid/gid, and probably wouldn't be able to wreak havoc on a *nix-based system.

  28. Re:Windows by ultranova · · Score: 2, Interesting

    In linux by default in a lot of distributions being able to connect from network is disabled in mysql, or sets root password as php password,

    How does the installer do this, considering that root password is stored in hashed format, and thus should be theoretically unviewable ? Does the installer brute-force it, or does MySQL accept passwords in their hashed form, or does the installer simply ask the root password and then verify it ?

    --

    Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

  29. Re:Does mysql on windows have root@%? by Squeebee · · Score: 2, Informative

    Non-Windows installations are not vulnerible.

  30. People have their DB open to the world?! by Abcd1234 · · Score: 4, Informative

    Good lord, are you kidding? I would assume any reasonable organization that was accessing their database over a network would keep the webserver on a DMZ and the database server behind a firewall that's tightened up and only allows access to the database from the DMZ. Isn't this, uh, kinda obvious? And, of course, if the database and the webserver are on the same box, *why* is remote access enabled at all?

  31. Re:Doesn't seem that vital of a worm by Zaiff+Urgulbunger · · Score: 2, Insightful

    However - many developers I know believe that dev machines don't merit the same kind of hardening as production machines. "Hey! We're behind the firewall, we're safe!"
    I'm not justifying what they're doing, but if they're behind a firewall then shouldn't they be safe from this worm? Surely the people getting infected are the people with MySQL ports open directly on the int0rweb *and* no hardening.

    Maybe this'll serve as a wake-up call.
    True!

  32. MyWorm by Doc+Ruby · · Score: 2, Interesting

    We've got the source code. Where's the hole? And, more important from the OSS perspective, where's the patch? And what happens when different people release incompatible patches? Is a worm a good way to force a fork in an OSS project, making it less competitive?

    --

    --
    make install -not war

    1. Re:MyWorm by catenos · · Score: 2, Insightful

      We've got the source code. Where's the hole?

      The worm doesn't use a hole within MySQL, but only bad admin passwords. In short, it's a problem with people not a technical one.

      But there are mitigating factors:
      - MySQL allows loading of libraries (UDF) for users with the right privileges (of which root usually is one, of course), which is a powerful feature and that power can be abused.
      - The worm requires that MySQL is set up for networking, and that the port is freely reachable from the internet.

      And, more important from the OSS perspective, where's the patch?

      No patch needed. The mitigating factors are configurable (you can disable networking in the config, and restrict accounts to certain hosts; you can compile MySQL without UDF support; and of course, you should have installed a firewall that restricts access to the port, if networking is really required).

      Btw, better distributions already come configured this way (if you want UDF support and whatever, you use the MySQL-Max binary).

      And what happens when different people release incompatible patches? Is a worm a good way to force a fork in an OSS project, making it less competitive?

      Are you trolling? No admin with any clue would use any 3rd party patch (especially when work-arounds are available), but wait for the update from his vendor.

      Changing your vendor after such an attack may be a good thing to consider, after security holes have been mishandled several times. But considering 3rd party stuff for an urgent hole only opens you to the equivalent of phishing attacks (nonwithstanding all the other problems such an idea has, like that you can't know the quality of the patch).

      --
      Keep an eye on which arguments are silently dropped in replies. Not always, but often times it's very telling.
    2. Re:MyWorm by catenos · · Score: 2, Interesting

      I already answered to the second part, too. Usually there are work-arounds available. I am not sure which experience you are referring to, but I see professionals to wait for official patches and vendor updates, usually. Applying patches manually seems to be the exception, not the rule.

      But let's assume people do what you say and your scenario would happen. Why would this be a vulnerablity? What is the problem? Actually, I see it as another advantage of OOS. With binary software, you *have* to use a work-around until a fix comes, and you *have* to hope that a fix will be part of the next patch-day.

      IMHO, it would probably happen as it happened with the Linux kernel some days ago: one good soul offers to maintain a fork with security patches. All is well. Where is the problem again?

      "Fork" is often used as a bad word, a worst-case scenario, when it isn't. There are a lot of distributions, and in some way, they are all forks of a lot of packages they contain (any Linux distro still delivering their main kernel unpatched?). The world still stands.

      Forks become a problem, if there happen too many and if they happen due to social problems and leave people not cooperating (because then it becomes unrealistic to backport all those patches). But in the scenario you suggest, I see people working together. Someone just taking some load from the main project.

      --
      Keep an eye on which arguments are silently dropped in replies. Not always, but often times it's very telling.
  33. wooooo the scary worm is after me by DanGroom · · Score: 2, Insightful

    So, having RTFA I'm not even slightly concerned. I have mysql running on windows, but since the exploit this thing uses requires a)straight up access vis the internet (eg, no firewall) and b) a brute force atack on the root password, I feel pretty safe. As should anyone else who's behind a firewall and who's root mysql password isn't '12345'....

  34. Re:Windows by cbiltcliffe · · Score: 3, Informative
    MySql is expensive too (300 per client, unless you want to GPL all your software).
    No, $300 per server, and you don't have to GPL anything unless you redistribute it with the freely downloaded MySQL.
    --
    "City hall" in German is "Rathaus" Kinda explains a few things......
  35. serious? by dtfinch · · Score: 4, Funny

    "the bot first has to authenticate to mysql as 'root' user. A long list of passwords is included with the bot, and the bot will brute force the password."

    This makes MySQL look about as vulnerable as ssh.

  36. I really need to remember to check the HTML option by LetterJ · · Score: 2, Informative
    I rewrote PHPTriad, securing the default password for root and did so 3 years ago. The new product is Sokkit. However, Sourceforge won't let me take PHPTriad down, point to the new commercial version or in any way indicate the project has been shut down.

    The only reason I left it alone in the old PHPTriad package was that was how MySQL themselves ship the setup. The official MYSQL binaries have (unless it's changed very recently) *no* password on the root account unless you deliberately go and change it.

    Even today, I get constant complaints because I secure the root account, even though I ask them to supply the password.

  37. Re:Windows by forrestt · · Score: 2, Informative
    Or maybe it was Linux.... I could swear the reason I dismissed it was over that... maybe I'm just crazy.

    This is from MySQL 3.23.58 on Linux
    mysql> select firstName from person where firstName = "Forrest";
    +-----------+
    | firstName |
    +-----------+
    | Forrest |
    +-----------+
    1 row in set (0.00 sec)

    mysql> select firstName from person where firstName = "forrest";
    +-----------+
    | firstName |
    +-----------+
    | Forrest |
    +-----------+
    1 row in set (0.00 sec)
    So, yes it is case INsensitive. (But I can't really do anything to prove your sanity) :)
  38. Re:Windows by ajs318 · · Score: 3, Informative

    Linux passwords are scrambled, but the root user can read the scrambled password file. The first part of the scrambled password ($1$, eight letters/digits, $) is the "salt". The same plaintext password and the same salt will always produce the same scrambled password. The password scrambling algorithm is a standard C library function, so almost every programme uses it, not just the login validator.

    Upshot: if you copy a scrambled password from one user to another, or out of /etc/shadow into a .htpasswd {apache password file; used to password-protect directories} or something similar, it'll Just Work.

    MySQL actually uses a different password hashing algorithm, unless you tweaked the source, but I think the parent is talking about PHPMyAdmin. This creates a standard .htpasswd file when it is installed, and it uses root's UNIX password. Note you still have to supply PHPMyAdmin with a MySQL username and password. By default, MySQL has a user called "root" with no password who is only allowed to login locally. This is considered secure enough for most applications.

    NB: it's generally a very bad idea to use the same password for login and database. One dodgy web hosting company I have experienced actually did this. The MySQL username and password have to be in your user directory somewhere, in plaintext, and they have to be world-readable so the Apache daemon can see them. Upshot: any user can see any other user's database username and password. {This is why the root/no password combination isn't so insecure as it looks.} Ordinarily, the PHP {or Perl or Python} interpreter gets them first, and the user only ever sees the output from the interpreter; but you can pay for an account with the same company, determine the directory structure reasonably easily, and use a simple PHP, Perl, Python or Bash script to traverse other users' directories looking for passwords. If the database username and password is the same as the UNIX password then you can have much fun, since these passwords are also good for FTP, POP3 and SSH.

    --
    Je fume. Tu fumes. Nous fûmes!
  39. Good by Pan+T.+Hose · · Score: 2, Funny

    Does it mean that MySQL is now officially "ready for the desktop"? Hopefully, the Linux version will be next.

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
  40. Re:That's why... by Anonymous Coward · · Score: 4, Informative

    Read the article. It's not exploting a security hole in MySQL. It's exploiting MySQL installations that:

    a) Are not firewalled to the world (who'd make a DB accessible directly to the Internet?)

    b) Allow root/admin connections from the outside.

    c) Have weak root/admin passwords.

    You can chalk this one up to careless admins - something I'm sure PostgreSQL is not immune to either.

  41. MySQL on Win32, market share by HvitRavn · · Score: 4, Insightful

    No need to flame people who use MySQL on win32. This has been briefly mentioned already, but here's a slightly better explanation. One of MySQL's major advantages over other free medium-to-lightweight (such as pgsql) is that MySQL has been available for the win32 platform for a very long period of time (if you are about to mention firebird, take a look here). This enabled developers to install their webserver of choice (apache) with some cool script mod (php) alongside a database well suited for small to medium web projects (mysql). So if you are a supporter of (F)OSS, then you better not flame people who use MySQL on win32, because that is one of the reasons why MySQL is so popular today.

  42. Re:That's why... by Dysan2k · · Score: 4, Insightful

    You can chalk this one up to careless admins - something I'm sure PostgreSQL is not immune to either.

    Nothing is. Postgres folk can cry all they want, and so can MySQL, mSQL, Oracle, Informix, Sybase, Firebird, etc. It makes no difference. If you have no password, you can get into it.

    Amazes me sometimes the rabidness of the db crowd. It's a database, folks. It stores data. It's not an AI.

    --
    -What have you contributed lately?
  43. Re:So it's the admins' fault? by sloanster · · Score: 2, Funny

    Let me make sure that my understanding is aligned with the Slashbot collective.

    When a clueless admin doesn't secure Windows, it's Windows' fault. But when a clueless admin doesn't secure an OSS application, it's the admin's fault.


    Yes, you've got the drill down pat:

    Whenever another windows security crisis arises, immediately try to make light of it with sarcasm like what you've written above. The whole idea is to start a flamewar, and divert attention away from the real issues. Extra points if you can manage to insult linux, and linux users in the process.

    You have done well.

  44. Re:Windows by Neil+Blender · · Score: 2, Informative

    you have to use 'binary' for case sensitive searches.

    mysql> create table name ( name char(10) );
    Query OK, 0 rows affected (0.05 sec)

    mysql> insert into name ( name ) values ('Forrest');
    Query OK, 1 row affected (0.00 sec)

    mysql> select * from name where binary name = 'forrest';
    Empty set (0.01 sec)

    mysql> select * from name where binary name = 'Forrest';
    +---------+
    | name |
    +---------+
    | Forrest |
    +---------+

  45. Re:more windows problems on the way by DrSkwid · · Score: 2

    Particulary for applications like MySQL Linux is the OS of choice.

    I love that, they DO go together rather well.

    I hope you see the irony of that =)

    I can't believe some of those windows freaks that are still out there call themselves professionals.

    Linux : by amateurs, for amateurs.

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  46. Re:That's why... by jadavis · · Score: 2, Insightful

    Although I am a postgresql advocate, I want to caution users that win32 is very different from UNIX. PostgreSQL doesn't have a long track record on win32, merely a lengthy beta test. So, it's a great database, but stop short of assuming that PostgreSQL's legendary reliability was translated perfectly to win32. After a few more months of real-world testing, you can be much more sure.

    --
    Social scientists are inspired by theories; scientists are humbled by facts.
  47. Re:That's why... by soulhuntre · · Score: 2, Insightful

    You can chalk this one up to careless admins

    Absolutely. And that is where the blame belongs - with a small nod that MySQL should not have remote admin on by default.

    Of course, if this had been a MS product then it would be all MS's fault and the admins would not be to blame... :)

    --
    --> Fight tyranny and repression.... read /. at -1!
  48. Re:That's why... by jadavis · · Score: 2, Insightful

    It would be nice if application developers made their apps database agnostic, but it rarely seems to happen.

    That might be fine if your application uses only the features supported by all databases.

    If you want more, you end up with a huge mess of bug-prone client side database operations. To ensure consistency of the data you have to do a HUGE amount of client side work because some databases don't support check constraints or constraint triggers. And all the other features it's the same deal: a huge amount of client-side code to accomplish something already available in most databases.

    So why would the application programmer spend all of their time maintaining all those database layers?

    It works for some applications, but for others it can be an exercise in futility.

    --
    Social scientists are inspired by theories; scientists are humbled by facts.
  49. Time to check auth.log and firewall rules... by MyHair · · Score: 2, Informative
    Jan 27 09:57:27 (fakehostname) mysqld[338]: refused connect from 217.224.(#).(#)
    Jan 27 09:57:47 (fakehostname) last message repeated 21 times
    (A few more like this were in the log.)

    D'oh! Didn't realize I had it open. At least I'm on Linux and don't have a blatantly obvious root password. PostgreSQL installed with IP off by default; I guess MySQL didn't. I don't even rememeber why MySQL's installed...some php toy I guess. PostreSQL and MSSQL ports are already blocked even though I don't have MSSQL.

    Time to update the firewall (dedicated and local), MySQL config and revisit password strength. Maybe I should finally go to a deny by default policy....
  50. Re:That's why... by notque · · Score: 2, Funny

    Most serious people deploy PostgreSQL on Windows, if they're deploying anything on it at all.

    Solid reliability, transaction support, and a good security track record. Probably the best thing short of switching to an AS/400.


    You are a chewley's gum representitive? and you're here stiring up all this commontion for what? To sell more gum?

    Get outta here.

    --
    http://use.perl.org