Slashdot Mirror


New Microsoft SQL Server Worm

Ian Bell writes: "A new unnamed worm has been released and, once again, Microsoft software is the target. More specifically, this new worm targets Microsoft SQL servers with no administrator passwords set. Once the server is infected, it logs onto Internet Relay Chat (IRC) servers and is ready to receive commands and act accordingly. Although this can be a fairly malicious worm, it is very unlikely to infect many servers due to the fact that majority of Microsoft SQL servers have administrator passwords."

290 comments

  1. Password by LinuxOnHal · · Score: 2, Insightful

    I think if someone got this one, they probably deserve it. If it attacks computers that don't have passwords, they could have prevented it. NetBIOS shares are a big hole too, without a password. Its a given.

    --
    Trying is the First Step to Failing --Homer Simpson
    1. Re:Password by Anonymous Coward · · Score: 0

      Heh, yer right.

      It's like a worm checking for an empty root-password on Unix-systems.

      But what's the problem then? I don't know anything about SQL Server, but i can imagine the install process asking you to set the password, right?

    2. Re:Password by leucadiadude · · Score: 4, Insightful

      Nobody deserves to be hacked. I found it quite sad that this story has no posts (so far) commenting that the person(s) who created and released a malicious piece of software are a**holes. hopefully it's that this goes without saying.

      Yes, I agree with the sentiment that if you do not secure your boxen, you are an idiot. But if you don't, you do not deserve to be victimised.

      If I accidentally leave my front door unlocked, do I deserve to be robbed/vandalised?

    3. Re:Password by CaNuK · · Score: 2, Insightful

      If you always leave your front door unlocked, you can expect to be robbed/vandalised, whether you deserve it or not. The perpetrators of the crime likely do not consider how deserving their victims are. All they need is opportunity. I think that we realize that this type of threat is a fact of life, and the idea should be to safeguard against it, since we are not going to snuff out this type criminal activity any time soon.

      If you are responsible for a house, you should know well enough to lock it.

      Maybe the problem is that MS software often ends up in uncapable or unaware hands.

      --

      Despite the rising cost of living, it remains a popular activity.
    4. Re:Password by Anonymous Coward · · Score: 0

      A ZDNet article claimed that the default install program didn't even warn the user that a username/password was being generated for him, let alone that the password was blank.

      The article also claimed that the growth rate of infected computers was huge. So much for highly skilled, highly trained, highly motivated sysadmins!

    5. Re:Password by TedCheshireAcad · · Score: 1

      NEW WORM REPORTED!

      Warning! This new internet worm infects and Linux/UNIX computer with a blank password for the account "root"! It will also infect any WindowsNT computer with a blank password for the account "Administrator"!

      Finally, a worm that will feed off of the stupidity of the admin rather than the mistake of a programmer. Admins have no one to blame but themselves for this one, it's not some fancy buffer overflow, it's a blank password. Duh.

      Actaully, let's call it an "exploit" for the moment, to concur with the media. This new "exploit" allows any script kiddie to telnet/ssh to your box, and get root! This is of course, assuming that your machine is vulnerable. To fix this vulnerability, please download and install adminIsAMoron-patch.tar.gz.

    6. Re:Password by LinuxOnHal · · Score: 1

      Here's the thing: I think people deserve a lesson this time, because it can effect everyone. That's the difference. If my house gets robbed, are you affceted? Probably not. But, if my machine propagates a worm that helps to bring the internet to a crawl, that affects you too. What if this worm participated in DoS attacks? Again, affects everyone. There's a big difference between my point, and having your house robbed.

      --
      Trying is the First Step to Failing --Homer Simpson
    7. Re:Password by fanatic · · Score: 2

      Admins have no one to blame but themselves for this one, it's not some fancy buffer overflow, it's a blank password. Duh.

      And how about the case (distressingly frequesnt) where the installation of some software other than SQL server installs SQL server with a blank admin password, or (as Visio2000 does) installs MSDE, a stripped down SQL server, with a blank password? Visio2000 is a desktop app - how is this sysadmin negligence as opposed to gross programmer stupidity?

      --
      "that's not encryption - it's a new perl script that I'm working on..." - from some Matrix parody
    8. Re:Password by Anonymous Coward · · Score: 0
      If you always leave your front door unlocked, you can expect to be robbed/vandalised, whether you deserve it or not.
      Depends where you live...
  2. Microsoft always a target by LionMan · · Score: 2, Interesting

    I must take pity on Microsoft for their situation - being so large and omnipresent, they are a constant target of attack. Of course, their situation would be a lot simpler if they released source so that these things could be fixed by anyone as soon as a problem pops up, but that is a whole philosophical problem for Microsoft, so I can only pity them, not aid them.

    --
    -Leo
    1. Re:Microsoft always a target by Osty · · Score: 5, Insightful

      Of course, their situation would be a lot simpler if they released source so that these things could be fixed by anyone as soon as a problem pops up

      Who says you need source to fix problems? In this case, it's as simple as setting a password for th sa user. Anyway, the point is moot because this only affects SQL Server 7 and older. SQL Server 2000 makes you jump through hoops if you want to leave the sa password blank (as well, SQL auth isn't even the default. Instead, Windows domain auth is the default). Anyway, the point here is that source is absolutely not required to fix this problem. Just a small amount of brainpower, that's all.

    2. Re:Microsoft always a target by Moonwick · · Score: 1

      Pray tell oh humble supporter of Open Source, how do you plan to use source code to solve the problem of an incompetent user?

      --
      Only on slashdot can a posting be rated "Score -1, Insightful".
    3. Re:Microsoft always a target by nicething · · Score: 2, Funny
      >> Who says you need source to fix problems? In this case, it's as simple as setting a password for th sa user.

      Word up. The people this worm will affect are those who should know better. It's not like my gramma's running SQL Server, after all. (If she were, nobody would ever know the password. Some people's memory is quite the security device.)

    4. Re:Microsoft always a target by LinuxOnHal · · Score: 1

      Well, you'd really just do some rewriting, and not let it function without some sort of password set. It doesn't make the user less stupid, but it would stop stupid worms like this from spreading.

      --
      Trying is the First Step to Failing --Homer Simpson
    5. Re:Microsoft always a target by frleong · · Score: 2

      Hey, this is not a question of opensource vs close-source. It is a problem of stupidity. Any person who is stupid enough to leave a database server open to Internet access and without the admin password set deserves a lesson or two. It can just happen to any other OS or database system.

      --
      ¦ ©® ±
    6. Re:Microsoft always a target by Anonymous Coward · · Score: 0

      The only stupid person here is microsoft. If they would require you to setup a new password whnen you install sql server then this wouldn't be a problem

    7. Re:Microsoft always a target by Anonymous Coward · · Score: 0

      Words of wisdom from IRC trash.

      Shouldn't you be watching Durtro?

    8. Re:Microsoft always a target by Anonymous Coward · · Score: 0

      (Microsoft)"...their situation would be a lot simpler if they released source so that these things could be fixed by anyone as soon as a problem pops up..." (bold by me) The same way in which the 2.4.15/2.5.0 fs corruption bug was fixed immediately? Ooops, unsupportive Linux comment there. Give me a moment to don my flak vest and kevlar helmet - I'll be right back...

    9. Re:Microsoft always a target by overturf · · Score: 1
      this only affects SQL Server 7 and older

      I thought it was only 6.5 and earlier...

    10. Re:Microsoft always a target by pa-guy · · Score: 1

      Every DB I've ever used ships with either no password or with a default set. It's up to the admin to make sure they set a password.

    11. Re:Microsoft always a target by Thatman311 · · Score: 0

      Gee lets think for a moment. SQL 7 and lower by default will allow you to use a blank sa password and have SQL authentication on. In SQL2000 you have to purposely enable SQL authentication and then the blank sa password becomes a problem. Another poster pointed this out before you even posted your comment so stop trolling.

      --
      Silly Rabbit...Sig's are for kids.
    12. Re:Microsoft always a target by Philbert+Desenex · · Score: 1

      I must take pity on Microsoft for their situation - being so large and omnipresent, they are a constant target of attack.

      You know, I've read statements like this, and shaken my head, and said, "Too bad" a lot. Then, I got to thinking about this. In the last year, The Internet experienced a bunch of worms (not chainmail, like SirCam or Snow White or Hybris, but real, self-propagating worms): l1on, adore, ramen, cheese, sadmind/IIS, lpdw0rm, x.c, Code Red and Nimda.

      Of these 9 worms, 5 were for Linux, 1 for Solaris, 1 for FreeBSD and 2 were for Windows. I don't see worms targeted predominantly toward Microsoft products on that basis. Microsoft doesn't seem to get targeted any harder than anything else. In fact, it seems to get targeted with fewer worms than it's market share (percentage of machines on The Internet running windows) than it should.

      Even though fewer worms target Microsoft products, those worms get enormous traction - my little home web server saw hundreds or even thousands of Code Red hits for every sadmind/IIS hit. As near as I can tell, worms for MSFT products get more press because a larger proportion of instances of those products get infected, and the extra network traffic causes actual problems.

    13. Re:Microsoft always a target by SCHecklerX · · Score: 2
      It's even easier than that:

      DON'T OFFER THE FSCKING SERVICE AT ALL TO AN UNTRUSTED NET! That's a REALLY BASIC security rule.

      sheesh. Even *WITH* passwords, you don't see my MySQL server hanging out there for the world to see. The world doesn't need to see it, so why would I have it hanging out there?

    14. Re:Microsoft always a target by hkmwbz · · Score: 1
      I think "LionMan" perhaps was speaking in more general terms. Microsoft products are widely used, and therefore, there is a greater chance that someone will discover security holes. Generally, it would be easier to patch these holes and even check for other security holes if one had access to the source code.

      Security through obscurity only works until someone discovers a security hole. Once it's "in the wild", you are at the mercy of the software vendor to fix the problem and release the fix to the public. This can often prove to be too little too late. With the speed a worm or virus currently spreads, the damage is most likely done before you can manage to install the fix.

      This, of course, is common knowledge, and one could discuss advantages and disadvantages of closed-source and open-source all day. The fact is that both solutions have advantages and disadvantages. The problem with closed-source is that once a security hole is public, there's often nothing you can do to fix it, perhaps apart from taking down your server. This can prove to be catastrophic if your business relies on it.

      If one absolutely wants to go for closed-source software (and security through obscurity), perhaps one should consider a product which is less widespread and therefore not under as much scrutiny as the big players?

      --
      Clever signature text goes here.
    15. Re:Microsoft always a target by Anonymous Coward · · Score: 0

      I appreciate your empathy.
      B.G.
      (BG for president in 04!)

    16. Re:Microsoft always a target by Anonymous Coward · · Score: 0

      Passwording of software in a default installation isn't remotely a source code issue - it's a policy issue, and one which Microsoft resolved in a manner that has ultimately proven to be a security problem for their customers.

  3. The Usual by Renraku · · Score: 1

    A move befitting for Microsoft would be to prosecute those people that get infected with the worm. However, Microsoft probably won't put much effort into finding whoever made the virus. They don't seem to care about virus writers, unless there were a virus that caused CD burners to write copies of Microsoft products..

    --
    Job? I don't have time to get a job! Who will sit around and bitch about being broke and unemployed then?
    1. Re:The Usual by Philbert+Desenex · · Score: 1

      However, Microsoft probably won't put much effort into finding whoever made the virus.

      Every noticed that nobody puts that much effort into finding whoever made the latest IIS worm or Outlook virus (calling a spade a spade)? Follow the money. Without a more-or-less constant stream of IIS worms, Word Macro viruses or Outlook viruses, the "good guys", the anti-virus industry, wouldn't be able to turn a profit. That scanner that detects 8734 known viruses? No need to ever update it, if there's no new Windows viruses.

    2. Re:The Usual by Jubii · · Score: 1

      They don't seem to care about virus writers, unless there were a virus that caused CD burners to write copies of Microsoft products

      Then, their only problem would be deciding on how to get rid of the CD burners.... hmmm do we sue the manufacturers or just make a patch to disable them.

      --

      I planned on inserting something witty here but never got around to it.
    3. Re:The Usual by Anonymous Coward · · Score: 0

      >unless there were a virus that caused CD burners
      >to write copies of Microsoft products..

      ...not that far away, now cd writing is "in the OS" for XP.

    4. Re:The Usual by marvin+tph · · Score: 1

      They don't seem to care about virus writers, unless there were a virus that caused CD burners to write copies of Microsoft products.


      What a great virus idea. Just imagine hundreds of free copies of MS products popping up all over the place...oh wait, nevermind, too late.
    5. Re:The Usual by nirvdrum · · Score: 1

      Writing and releasing such worm is a criminal offense, and such people should be prosecuted. But you seem to have nullified your entire point by contradicting yourself from sentence to sentence.

      --
      If there was a "-1 Not Funny", that'd be my most used mod.
    6. Re:The Usual by Anonymous Coward · · Score: 0

      we contradict ad nihilo-ad absurdum for your benefit
      and the [pleasure you derive] in pointing it out to us.
      Have a nice life you xmas tree decoration, you..

  4. default password == blank by elizard2k · · Score: 1

    "When you install SQL, at no point does it ask you for an administrator username and password -- this is installed as standard, and once it is up and running the password still remains blank." wow .. so i guess now the administrators using microsoft sql have to be smart enough to set the password :) but seriously, this is a very bad programming 'feature' .. if you can call it feature. At least be kind enough and set the password to something default .. oh wait, that won't help it at all :)

    --
    - mescaline - its the only way to fly -
    1. Re:default password == blank by Katravax · · Score: 3, Informative

      Installers for the last couple versions of mssql do indeed ask you to set the sa password, but allow you to override that with the "blank password" checkbox. So since SQL 7.0, you have to go out of your way to have a blank password.

      I've done contract development at quite a few places that had publicly exposed sql servers with blank sa passwords.

    2. Re:default password == blank by WildBeast · · Score: 1

      Actually it asks you for an administrator password and if you leave it blank it tells you clearly that this may be a security risk. But hey I've seen some people leave it blank anyways. I'm no DBA but yet I know that I have to set a password. Anyone who have "really worked" with MS SQL knows that.

      All routers have default passwords setup, I don't see anyone complaining.

    3. Re:default password == blank by Monkeyman334 · · Score: 1

      Well, the last SQL server I setup (SQL Server 7) it gave me 2 options for the password 1.) Use this username and password (fields here) 2.) Use NT authentication. Which usually isn't set to null. Also, if I'm full of crap and it doesn't ask for a password, I'd be curious if it accepts connections other than localhost by default. MySQL doesn't ever ask for a password. But it remains slightly secure because it doesn't allow connections other than localhost by default.

    4. Re:default password == blank by CaptainSuperBoy · · Score: 3, Interesting

      SQL 7 and 8 (aka 2000) do ask you for a password, and scold you if you leave it blank. However they do accept connections from anyone by default. I can't find a way to restrict access by IP, though. I guess you just have to set a decent password. Maybe I'm wrong, but it's too bad - if the web server is the only machine that needs to hit the sql server, it really shouldn't accept connections from anyone else. I've heard "but we're behind a firewall" too many times as an excuse for poor security internally. Users punch holes through firewalls, and nothing protects you against a malicious employee.

    5. Re:default password == blank by Anonymous Coward · · Score: 0

      thats bollocks. anyone that has installed SQL will know what in actual fact to leave 'sa' as blank you need to tick a checkbox saying "allow blank administrator passwords." anyone that does that on a production machine deserves what they get; MS dont even let you do that in labs on their internal network.

    6. Re:default password == blank by blowdart · · Score: 2

      Use IPSEC's port filtering to block 1433 connections if you can't afford, or don't trust your firewall.

    7. Re:default password == blank by CaptainSuperBoy · · Score: 2

      I hesitated to suggest that because of the performance hit, but it is an option if you can spare the CPU cycles.

    8. Re:default password == blank by tshak · · Score: 2

      I can't find a way to restrict access by IP.

      A properly designed network doesn't need this. First, all SQL servers should be subnetted into an internal address space, only routeable by other internal machines like the web server. Then your firewall has port 80 open and NAT's to your web server. Unless you compromise the web server and are able to write malicious code on it, there's no way to get to even ping the SQL server.

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    9. Re:default password == blank by Anonymous Coward · · Score: 0

      port filtering isn't much of a performance hit. Encryption is, but in that case buy ethernet cards with ipsec support built in.

    10. Re:default password == blank by rat7307 · · Score: 1

      All routers have default passwords setup, I don't see anyone complaining.

      I don't see Cisco routers having any defaults....

      Be careful when generalising..
      it's like stating "all slashdot readers have no life"... oh yeah...thats right.... :]

      --
      Burma?
    11. Re:default password == blank by Chazmyrr · · Score: 1

      That's a nice solution. The problem is that in real life, you rarely get to be in charge of both server administration and network architecture. Besides, that only works for smaller operations. My servers need to be available to internal staff in 80 countries. The odds of getting the network guys to correctly configure everything is about the same as winning the lottery.

      Hell, I've lost count of how many calls I've gotten because the network admin at one site or another had hard coded ips into his firewall accept rules and ours weren't included. The reasoning being that staff at that site should only be connecting to internal addresses and nobody had asked to connect to ours. Deity forfend that the firewall be set up to allow access to either of the two class B addresses we own. That would be too simple.

      The point is that if you are a SQL Sever admin in a corporate environment, you probably have little control of anything other than SQL Server.

    12. Re:default password == blank by CaptainSuperBoy · · Score: 2

      I'm not one for putting all of my eggs in one basket. My desktop is behind a firewall, but you can bet the IIS it's running is patched against code red. The SQL Server personal on my machine has a password set. I probably don't need to take these precautions, but I should do it anyway.

  5. geek sight %-) by Anonymous Coward · · Score: 1, Funny

    here is what i read

    "A new unmaned worm has been released"

    Cool, atleast M$ cares about its pilots .. waitaminute

    1. Re:geek sight %-) by Anonymous Coward · · Score: 0

      In another news; the FBI will not release its
      virus to the wild. Insead, they will hire ex-M$
      worm pilots, and guide it to the enemy with
      precession.

      Yeah, unlike the terrorists, we can afford to make
      e-americans ;-)

    2. Re:geek sight %-) by Anonymous Coward · · Score: 0

      Unmaned? So it's not the Lion worm going around again...

  6. Good. by x136 · · Score: 2, Funny
    More specifically, this new worm targets Microsoft SQL servers with no administrator passwords set.

    Ooh, ooh! I know! We can call it the Dumbass Worm!
    Seriously though, If you don't set up an admin password on your server, you deserve to be hacked. Mercilessly.
    --
    SIGFEH
    1. Re:Good. by Tsar+cr0bar · · Score: 1

      Mod this funny shit up!

    2. Re:Good. by rat7307 · · Score: 1

      Ooh, ooh! I know! We can call it the Dumbass Worm/

      sir(?)

      You are responsible for the destruction of a Dell Lattitude Laptop keyboard due to the projection on coffee thru my nose

      please remit $500 to my account asap

      funny shit.....

      --
      Burma?
  7. Hmm by gkuchta · · Score: 1

    New halitosis worm reported to affect people who haven't installed the new toothpaste module.

    --
    when salmon are outlawed, only outlaws will have salmon
  8. Re:first post.... by elizard2k · · Score: 1

    Usually linux worms tend to need to run as root to do any real damage.
    And if you'r dumb enough to run untrusted binaries as root .. well then i think you deserve to get smacked with that worm :)

    --
    - mescaline - its the only way to fly -
  9. Stupid by Anthracks · · Score: 1

    Is it really so hard for Microsoft to *require* you to put in an administrator password? The three seconds it would have taken to add in that common-sense functionality could have averted the whole thing. Everything about this worm just reeks of stupidity, on both Microsoft and especially the administrators' part.

    --
    Rock over London, Rock on Chicago. Wheaties: Breakfast of Champions.
    1. Re:Stupid by iso · · Score: 2, Informative

      They do, except for in SQL Server '97. All recent versions make you set a password by default. This worm will only exploit SQL Server '97.

    2. Re:Stupid by fiftyfly · · Score: 1

      Or even, at least, set the use/pass to that of the current user by default.

      --
      "Sanity is not statistical", George Orwell, "1984"
    3. Re:Stupid by Isle · · Score: 1

      That would make it more secure than default mySQL.

      Oh yes, have you set a root password?
      I sure havent, but then again I havent opened up for remote access either.. :-)

      I still believe this vira would be more succesfull targeting mysql installations form popular linux distros.

      (disclaimer: this is not flaimbait)

    4. Re:Stupid by Anonymous Coward · · Score: 0

      exactly! Its annoying reading slashdot most days. And I wondered how long it would take for someone to bring up the mySQL no-password default.

      ding ding, you won!

  10. More likely than no.. by swdunlop · · Score: 1

    If a site is stupid enough to not protect their MS-SQL server with a firewall, they are probably dimwitted enough not to put an administrative password on, too.

  11. Before you trash Microsoft, by Arctic+Fox · · Score: 1

    Before you trash Microsoft, for "YAW" (yet another worm).
    But you should trash dumbass SQL Admins who don't set passwords!! WTF, yeah, their installer may not prompt them, but shouldnt someone who knows how to log into an NT or 2K know at least, "Hey, maybe this thing has a password too".
    If they don't know that, they should take a sharp stick in the eye.

    1. Re:Before you trash Microsoft, by bunungs · · Score: 1

      you need a password to log into 2K or NT??

    2. Re:Before you trash Microsoft, by Jucius+Maximus · · Score: 1
      "Before you trash Microsoft, for "YAW" (yet another worm). But you should trash dumbass SQL Admins who don't set passwords!!"

      Right you are. In fact, I can't think of ANY microsoft worm, except those that are propagated by opening e-mail attachments, that is harmless to properly patched/administered machines.

      So if someone is a worm victim, they either unthinkingly opened an attachment or didn't keep their machines up to date. Either way it was preventable. (Now there's the issue as to who's liable when trouble results from worms ... but I won't go there.)

    3. Re:Before you trash Microsoft, by mgv · · Score: 2, Informative

      So if someone is a worm victim, they either unthinkingly opened an attachment or didn't keep their machines up to date. Either way it was preventable.

      Actually, microsoft has created alot of reluctance amongst more experienced users to keep up to date.

      Many service packs have actually broken systems in the past - making people who know what they are doing reluctant to apply a service pack until they are sure that it really works.

      Also, many security updates depend on these service packs. In fact, some of microsofts own update reporting system will not see the patches until they are running on an up to date service pack.

      It becomes a catch 22 - either way, you are dammed (well, you certainly would have been in the past). Maybe microsoft will not make these sort of errors again. Hmmm, did I just say that? ;)

      So, I'm not sure its totally preventable on MS software.

      --
      There is no cryptographic solution to the problem where the intended receiver and the attacker are the same entity.
    4. Re:Before you trash Microsoft, by Anonymous Coward · · Score: 0

      Thats "dumbass (MS)SQL Admins" who are probably
      NT admins also. So adding dumbass is probably
      redundant.

    5. Re:Before you trash Microsoft, by Anonymous Coward · · Score: 0

      "Luckily, since Win2k, they have been doing a *great* job " yea good F***ing job they release one SP that worked and one that screwed thing up and than fixed it humm good job on getting it right half of the time

    6. Re:Before you trash Microsoft, by Anonymous Coward · · Score: 0

      No, you are thinking of linux kernel version 2.4.15.

      Microsoft didn't create that, and bears no responsibility for it corrupting your filesystem.

    7. Re:Before you trash Microsoft, by CTachyon · · Score: 1
      Luckily, since Win2k, they have been doing a *great* job of testing and working with service packs. Basically now they are just big security fixes (which is great!).

      Well, almost. In particular, scroll down to the Samba 2.2.1 release notes (about 60% down the page) where it says this:

      5). Fixes to allow Windows 2000 SP2 clients to join a Samba PDC.

      This is just the tip of the story, actually. Microsoft used Win2K SP2 to intentionally introduce a bug (or perhaps more properly, a wart) that would break compatibility with a Samba PDC while not breaking a genuine NT 4.0 PDC (which Samba emulates with a good deal of success). It did this by sending a bogus opcode to the server and expecting a very specific error reply.

      I do have to admit, however, that MS has been doing much better at keeping the quality of the Win2K service packs much greater than those for previous versions of WinNT.

      --
      Range Voting: preference intensity matters
  12. Perhaps this will help mysql and postgresql by djcdplaya · · Score: 0, Offtopic

    the only reason Microshaft products are still widely used is due to the fact that they are generally easy to set up. Maybe this will show some admins that an easy set up will skip details (although I don't really consider a password to be a "detail") and that perhaps with a little effort on their part, a much superior product can be had for free (mysql and postgresql). Anyway, just my 2 cents.

    1. Re:Perhaps this will help mysql and postgresql by TheLink · · Score: 2

      By default postgresql doesn't have access controls turned on. Fortunately in a self compiled installation it doesn't allow remote connections, however I'm not sure if that is true for packaged versions.

      Anyone who exposes database servers to the Internet is crazy.

      --
    2. Re:Perhaps this will help mysql and postgresql by Anonymous Coward · · Score: 0

      a much superior product can be had for free (mysql and postgresql).

      Superior what? Performance? No. Features? No. Ease of use? No. Cost? Yes.

      I use MS SQL Server every day at work (not my choice). It is extremely fast, it's loaded with features (MySQL just recently got subqueries...), and very easy to use. Enterprise Manager, Query Analyzer, and Profiler are excellent tools. The other benefit is that when you buy business software, it will run on MS SQL Server (and likely DB2 and Oracle). Support for these programs is the reason we chose the platform (and we couldn't afford Oracle).

      Can you offer an explanation as to why they are superior?

    3. Re:Perhaps this will help mysql and postgresql by snillfisk · · Score: 1

      Well; no offence to the MySQL *or* the PostgreSQL-crew; but MSSQL is in fact (although most people doesnt want to admit it) a fairly nice DB-package. It has a far better implentation of SQL than MySQL (subqueries, stored procedures, .. ), so i wouldn't blame anyone for going for MSSQL instead of MySQL.

      .. and i can't excactly see how this would help mysql and postgressql, the last time i installed MySQL it would install without a password for the root-account too .. and belive me, there are fairly many of these installs around too.. perhaps running as root .. there are more than enough of incompetent people on both sides :)

      --
      mats
      One man's ceiling is another man's floor.
    4. Re:Perhaps this will help mysql and postgresql by Anonymous Coward · · Score: 0

      Thank you! Not that I normally have much good to say about MS, but let's give in to reality - MS SQL Server is so much more capable than My/Postgre/SQL. It is of course a resource-hungry pig but then it implements so much more useful functionality.

      Though naturally given a choice I would try as hard as possible to use the open source / free tool and work around its limitation. Stubborn but not blind..

  13. Too bad but we can't blame MS on this one.. by Guillaume+Ross · · Score: 2, Insightful

    I mean, any software listening to the internet for administrating purpose without a password should buy the admin a nice warm place between cardboard boxes and the joys of unemployement.

    1. Re:Too bad but we can't blame MS on this one.. by Error27 · · Score: 2
      Also any company that sells software that horribly insecure by default should be thrown out on the street.

      Perhaps you don't remember the Red Hat Pirhana episode? In the Linux world software with a default password is considerred shocking and outrageous. Even if it's pre 1.0 like Pirhana was.

    2. Re:Too bad but we can't blame MS on this one.. by Guillaume+Ross · · Score: 1

      Sorry but if a program doesn't *ASK* me to change the default password I still think about changing it..

  14. Too Incompetent To Keep Their Job by Carnage4Life · · Score: 5, Insightful
    IMHO, anybody who
    1. installs database software without setting the password (Heck, installs any software that has passwords without changing the default) and

    2. exposes their corporate database to the web
    is too incompetent to keep their job. I seriously believe that infections like this should start becoming yardsticks that system administrators are hired and fired against. Seriously, if your corporate network gets infected by Code Red, Sircam or this new SQL server worm it is a sign that somebody somewhere is not doing their job. This goes for UNIX boxen as well, if you're hit by a BIND, sendmail or wu-ftpd exploit then your sys admin is a waste of money and you are better off hiring some college kid who needs the experience. It'll be cheaper and you probably will get better service anyway.
    1. Re:Too Incompetent To Keep Their Job by Anonymous Coward · · Score: 0

      1. installs database software without setting the password


      Pretty brilliant security default setting.

      is too incompetent to keep their job.

      but it was designed for idiots, for idiots, because they are cheaper to hire.

    2. Re:Too Incompetent To Keep Their Job by Anonymous Coward · · Score: 0

      I agree with you 100%. However, it should be noted that some MS-SQL patches and add-ons will reset the 'sa' password, without letting you know. A proper database administrator probably doesn't log in via the admin account too often, so these things can go unnoticed for some time.

    3. Re:Too Incompetent To Keep Their Job by Anonymous Coward · · Score: 0

      "exposes their corporate database to the web".

      Development Servers. Long standing tradition to leave the sa password blank on MS/Sybase dev boxes (in fact I don't think I've ever seen a password set on a db dev server...)

      Anyway, take a large development shop (like say Microsoft), add a worm, and you've got fun.

    4. Re:Too Incompetent To Keep Their Job by humpmonkey · · Score: 1

      In SQL Server 2000, it is not the default setting. During installation you have to either enter a password or explicitly check a box that says "I want a blank sa password"

      --
      with humpy love,
      humpmonkey
    5. Re:Too Incompetent To Keep Their Job by Anonymous Coward · · Score: 0

      Yes but the security updates Web server at Microsoft got infected with the Code Red worm. You can't fire those in charge of the updates! Wait a minute, maybe we should.

    6. Re:Too Incompetent To Keep Their Job by Anonymous Coward · · Score: 0

      If I get Microsoft(R) SQL Server 2000(tm), will a talking paperclip help me through this password process?

    7. Re:Too Incompetent To Keep Their Job by Anonymous Coward · · Score: 0

      So what makes you think Windows administrators WONT check the "I want a blank password" checkbox?

    8. Re:Too Incompetent To Keep Their Job by Anonymous Coward · · Score: 0
      However, it should be noted that some MS-SQL patches and add-ons will reset the 'sa' password, without letting you know.

      Huh? What are you smoking?

    9. Re:Too Incompetent To Keep Their Job by deaddrunk · · Score: 1

      But should an admin who isn't allowed to schedule downtime in order to apply the service packs be fired? This latest one isn't like the last in that it can be sorted out in a matter of minutes. The others required applying of security fixes that would have required testing not to mention lots of reboots.

      --
      Does a Christian soccer team even need a goalkeeper?
    10. Re:Too Incompetent To Keep Their Job by Florian+Weimer · · Score: 2

      There's a stripped-down version of MS SQL Server which is bundled with a lot of software (including Microsoft Office, but it's not installed by default). AFAIK, it doesn't even include a GUI tool to set the administrator password. An additional problem is that many people who install this bundled MS SQL Server version don't know what they are doing and that they are opening a gaping security hole. (Some people might suggest to drop "bundled" in the previous sentence.)

    11. Re:Too Incompetent To Keep Their Job by Lumpy · · Score: 5, Interesting

      you obviously dont deal with custom vertical apps. or the real world in particular.

      we have 5 SQL servers that are forced to run with no password. because our critical software that uses it is hard coded to not have a password for SQL server.

      I had asked the vendor 5 times within the past 3 years to change this, and then asked upper management to as the vendor.

      What was I told? "It's not an important issue"

      so not I get to be spanked this monday when 10 sql servers all start to try and connect to irc through the firewall.

      So in response to you, I am more competent than 60% of the MS admins in my state. but when you have your hands tied by management you cant do crap but grab a mop and clean up after managements messes all the time... (examples? outlook, trying to run 700,000 users on a MS email server cluster,and brain dead morons wanting to have one super data center and pay for fat pipes to each office instead of having resources at each office. hmmm one disaster and this company is 100% screwed.)

      oh and your "yardsticks" comment...
      first the manager of the IS department or even the CTO should be the one getting publically fired. as they are usually the ones tying the hands of the admins and preventing them from doing their jobs.

      if a shop get's hit with any exploit, fire the manager first and the techs last.

      --
      Do not look at laser with remaining good eye.
    12. Re:Too Incompetent To Keep Their Job by alba7 · · Score: 1
      A new instance in Oracle 8.1.x is created with two administrative accounts, having fixed passwords.
      At the end of the procedure you get a very clear warning about that.
      And then one of those password is "change_on_install".

      But I actually encountered people who ignored that all.
      • Install everything, start everything. If you ommit something the application might not work, and we have no time to find the exact cause.
      • Setup machines now, attach to the net immediately, configure afterwards.

      The problem is, neither management nor customer give a shit about security and efficiency.
      • Need more than 512 MB to drive a trivial database just because you installed every service you could find? No problem, hardware is cheaper than man-time.
      • Catching every worm ever written, just two houres after it was released? Well, that damned script kiddies should get the rope. If it were not for them, we would have no problems.


      The admin is definitely the wrong place to start. It's those who give the orders.


      --

      --
      Post tenebras lux. Post fenestras tux.
    13. Re:Too Incompetent To Keep Their Job by Anonymous Coward · · Score: 0

      My recommendation: Document, document, document! Make sure that there is a documentation trail of your requests/suggestions/warnings.

      And backup your data. (Your CYA warnings, I mean. That's critical data. The corporate data is merely important data. :^)

      Remember: When there's a shit-storm, things tend to fall downwards. (Somewhere I've got a copy of my Delrina Rules of Blame Transfer kicking around...)

    14. Re:Too Incompetent To Keep Their Job by ethereal · · Score: 1

      But leaving development machines exposed to the 'net (or even to much of your internal hardened network) is almost as egregious a sin. For example, in our lab any development machines with weak/no passwords are behind a router which will only let them talk to a few internal machines and won't let them talk to the outside world or the rest of the company at all.

      --

      Your right to not believe: Americans United for Separation of Church and

    15. Re:Too Incompetent To Keep Their Job by dillon_rinker · · Score: 4, Interesting

      I seriously believe that infections like this should start becoming yardsticks that system administrators are hired and fired against.

      Another poster has indicated that sometimes stupid management decisions prevent you from doing what you know is optimal. If YOU know something's stupid, but your manager tells you to do it anyway, get it in writing (or at least in email). Do NOT do anything potentially harmful to your company unless you have it in writing. Claim that it's part of your documentation procedures, that all non-vendor recommended configurations must be documented.

      If your boss refuses to provide direction in writing, send a memo or email confirming your conversation and letting the boss know that you're going to do what he said. When you're done, send another one saying so, reminding the boss that the situation is nonoptimal and encouraging him to provide you with the resources or permission to optimize things again. Be sure to keep a hard copy of this communication. If your boss is a big enough weenie, you might want to keep a copy at home.

      Keep in mind that a good email admin can alter emails on the server and leave no tracks, so if you're the email admin, instructions in email are irrelevant. Same is true (but for a different reason) if the email admin is in the boss's pocket.

      This advice is probably not applicable to a lot of readers who are already job-hopping and don't care if they do more. Good for you. Some of us, though, (myself included), like our positions and stay in them, and therefore must learn to weather a succession of pointy-haired bungee-boss types. So far I've outlasted three in two years.

      Finally, remember this:
      All human endeavors are political. Those who don't think they're playing politics are merely playing politics badly.

    16. Re:Too Incompetent To Keep Their Job by Anonymous Coward · · Score: 0

      All human endeavors are political. Those who don't think they're playing politics are merely playing politics badly.

      What a depressing thought [depressing because there's so much truth to it].

    17. Re:Too Incompetent To Keep Their Job by Anonymous Coward · · Score: 0

      Good point that it's not necessarily the DBA's fault, but the point stands that there's incompentence somewhere - in this case it's the programmers who wrote those fool apps.

    18. Re:Too Incompetent To Keep Their Job by Anonymous Coward · · Score: 0

      Okay, I guess if it's management's fault you can keep your job. Of course management will still fire you because you didn't stop the attack that their stupidity caused...

      Good luck with this one.

    19. Re:Too Incompetent To Keep Their Job by Anonymous Coward · · Score: 0

      Well on point #1. Usually the default behavior that you use with SQL Server is Windows Integrated authentication. In which case you don't put account passwords in place at all, because they aren't used.

      On point #2 I agree. There's no reason why you should be allowing anything other than port 80 or port 443 to connect externally to your web server. Usually you wouldn't install SQL Server to the same box as the web server anyway, so it'd definately be sitting behind a firewall.

    20. Re:Too Incompetent To Keep Their Job by Anonymous Coward · · Score: 0

      That's MSDE.

      While it has issues of it's own, this "worm" isn't one of them as it can't run stored procedures.

    21. Re:Too Incompetent To Keep Their Job by Anonymous Coward · · Score: 0

      Unfortunately, most shops treat their internal LANs as trusted. Maybe after a few dozen more worms, people will start to think like you and firewall stuff away from themselves.

    22. Re:Too Incompetent To Keep Their Job by Cow4263 · · Score: 1

      If I were you, I'd block access to port 6667 on all the SQL servers.

      Its not really a 'solution' to the problem, but its a temporary fix that'll do until a real comes around.

    23. Re:Too Incompetent To Keep Their Job by jsse · · Score: 1

      o not I get to be spanked this monday when 10 sql servers all start to try and connect to irc through the firewall. I ran into that situation very often. How did you handle this? Please advise.

    24. Re:Too Incompetent To Keep Their Job by Anonymous Coward · · Score: 0

      ever hear of platypus? it's a program used by isp's that is made to control user accounts, logins and billing information. the defaults are to leave everything open. they also seem to suggest that you must keep the microsoft sql server that it talks to open to the net. they also don't seem to have any ideas about stability or interface continuity, aside from daily patches and hotfixes that often don't work. stay away from platypus, trust me...

  15. MSDE too? by Dahan · · Score: 2
    I assume this worm attacks MSDE too? MSDE is a stripped down version of SQL server intended as an alternative to using an Access database... I believe MS Project and Visio both use it, for example. A product I worked on uses it too; originally the PHB types wanted it to install with no password, because they didn't think our users would be able to remember a password. I tried to convince them that it was a Very Bad Idea to not have a password, but only managed to get a compromise: the installer asks if they want a password or not, and it defaults to no password :(

    P.S. Does anyone know if there's a way to keep MSDE from listening on TCP/IP connections? There's Named Pipes, but from what I was able to tell, that only works on WinNT, and not on 9x.

    1. Re:MSDE too? by Tachys · · Score: 1, Redundant

      MSDE?

      What that stand for Microsoft Database Excess?

    2. Re:MSDE too? by Anonymous Coward · · Score: 0

      Must Secrety Destry Evidence
      Microsoft Seeks Domination Everytime
      Mostly Selling Dead Ecommerce
      Making Shitty Database Explorers
      Microsoft Should Die Eventually

      more?

    3. Re:MSDE too? by speck · · Score: 1

      Ha, good ones. How about...

      More Stupid Database Exploits

    4. Re:MSDE too? by Anonymous Coward · · Score: 0

      Named pipes most definately work on 9x.

    5. Re:MSDE too? by Anonymous Coward · · Score: 0

      Yhbt. Yhl. Hand. Foad.

    6. Re:MSDE too? by Anonymous Coward · · Score: 0

      I was thinking the same thing, its needed
      for RealSecure's IDS sensor management
      console as well. I wonder how many other normally innocuous ms packages require MSDE?
      This will provide additional holes for
      internal hacks and picking out that CFO's
      laptop on a breached network getting some
      insider trading goodies.

      ollie: when is using Windows a bad idea stan?
      stan: well ollie, its always a bad idea?

    7. Re:MSDE too? by Anonymous Coward · · Score: 1, Informative

      Yes, the worm is most likely targeted against MSDE.

      There's a HUGE security hole in MSDE given that it installs with blan password and makes it very difficult for administrators to set a password.

      There was a nice article about the problem in the german c't magazine. It's not online, but it's c't 20/01 page 44. ... if you read german.

      (http://www.heise.de/ct/inhverz/search.shtml?T=M SD E)

    8. Re:MSDE too? by Dahan · · Score: 2
      Q233312:

      Server-Side Network Libraries

      The following network libraries can be included: Named Pipes, TCP/IP sockets, Multi-Protocol, NWLink IPX/SPX, AppleTalk ADSP, and Banyan Vines. The Named Pipes and Banyan Vines server-side Net-Libraries cannot be installed on Windows 95 or Windows 98.

  16. Re:Nothing to do with post by Anonymous Coward · · Score: 0

    Well, your life was apparently a waste. You didn't even make FP

  17. Obviously... by ktakki · · Score: 2

    It's the FBI's Magic Lantern at work. Does anyone doubt that Al Queda's terrorist cells run IIS? Honi soit qui mal e pense.

    k.

    --
    "In spite of everything, I still believe that people are really good at heart." - Anne Frank
    1. Re:Obviously... by PD · · Score: 2

      Yes, it's true, Al Queda runs Microsoft software. In fact, the justice department is going to use that as a backup prosecution. If the terrorism charges are dropped, it is hoped that the terrorists will get life in prison for software piracy. Hey! They got Al Capone on income tax evasion, didn't they?

    2. Re:Obviously... by ONU+CS+Geek · · Score: 1

      http://www.talibanonline.com runs IIS, actually...
      (from netcraft)
      The site www.talibanonline.com is running Microsoft-IIS/5.0 on Windows 2000.
      http://uptime.netcraft.com/up/graph/?mode_u=off&mo de_w=on&site=http%3A%2F%2Fwww.talibanonline.com&su bmit=Examine

      --

      I disable sigs...do you?
  18. Virii that burn CDs? by fractaltiger · · Score: 1

    Interesting. I think randomly accessing the A: drive and infecting its boot sector would also be a bad virus symptom. It's scary when security seems less and less up to them and more up to us.

    --
    "Wireless : LAN :: Laptop : Desktop"
  19. Except... that would make sense... by ebbomega · · Score: 0, Troll

    Of course M$ can't do that... that would require them to abolish their anti-logic improbability drive that they use to bend the US Court System's Better Judgement.

    I just find it interesting that they don't do something like that and yet still require me to have a "user" with individual preferences for the Win98 I have on my IBM I-Can't-Believe-It-Doesn't-Thinkpad...

    Twain said it best: "No wonder truth is stranger than fiction. Fiction needs to make sense" (Or something like that... I got it out of Men's Health and I'm too lazy to go look it up...)

    --
    Karma: Non-Heinous
  20. New worm by Anonymous Coward · · Score: 0

    Any connections to this? I don't suppose this new worm also violates the SSSE or whatever act (M$ response: DAMN TERRORISTS!).

  21. Compaq Insight Manager XE by runlvl0 · · Score: 1

    Compaq Insight Manager XE uses this (MSDE) too. Account 'SA' (SQL Admin) with no password. It's included on the Management CD, packed with all of their servers.

    --

    Carthago delenda est!
  22. MySQL by Anonymous Coward · · Score: 0

    Using Redhat rpms, mysql doesn't ask you to enter a root password either. Is this something that Redhat or mysql developers worry about?

    1. Re:MySQL by omega9 · · Score: 1

      It only won't ask you for a password if you are logged in at the local console as root. You can't gain root access from a remote connection.

      --
      I'm against picketing, but I don't know how to show it.
  23. Holy Fucking Shit by Anonymous Coward · · Score: 0

    Important news just to hand. Microsoft boxen with no password set are at risk of being attcked. Quick, everyone convert to Linux before it's too late. Anything by Microsoft is obviously an inherantly Bad Thing, as this worm goes to prove.

  24. The Majority HAVE Passwords? by Jakyll · · Score: 0

    The default password for the SA account on the MAJORITY of SQL servers is blank. For the majority of servers with lasy administrators, the password will be the microsoft factory default of absolutely nothing. Imagine a company with a huge SQL based system put to run everything including payroll..... with a a blank SA password.

  25. Let me get this straight... by Anonymous Coward · · Score: 0

    The worst terrorist attacks in recorded history happened in September, and now we're involved in a war against Islam during the holy month of Ramadan, and people actually use Microsoft products? My *god*, people, GET A FUCKING CLUE!
    You people disgust me!

  26. Re:first post.... by WildBeast · · Score: 1

    Playboy got hacked last week. No one talked about it, they were using UNIX. If they were using Windows you'll have heard about it within a minute of the report.

  27. How much do you want to bet... by gatesh8r · · Score: 1

    That some 5c2|p7 k|dd|3 bet $5 with each of his/her friends that he/she could write something out of a worm kit that he could get a LOT of corperate data and that most people can't set a password?

    Seriously, hang the dork that EVER sets blank passwords. This will help clean out the gene pool. Thank you, and God Bless.

    --
    Karma whorin' since 1999
    1. Re:How much do you want to bet... by biohazard99 · · Score: 1

      Why waste the perfectly good rope and clothing they will soil when they die, just strip them naked and hit them with a car/truck/vw bus, drop the clothes at the Salvation Army or Goodwill.

  28. My bad... by ebbomega · · Score: 1

    Forget I wrote that.... nevermind.

    --
    Karma: Non-Heinous
  29. Priceless ZDNet Quote by alexburke · · Score: 1, Troll

    systems wrongly configured with Microsoft SQL Server software

    I couldn't have said it better myself. :)

  30. We don't need no damn passwords! by diwolf · · Score: 1

    You know, back in the "good-ol'-days" of 1993, we didn't need no stinking passwords on our servers. You could leave holes in your software so big you could drive a mack-truck through and be completely safe. I tell you, it's those no-good kids that have nothing better to do that to drop out of school after only a Masters degree under their belt and turn to a life of crime destroying the saviour--Microsoft. uhm, yeah.. That's it :)

    1. Re:We don't need no damn passwords! by Dahan · · Score: 1

      Do the machines at gnu.ai.mit.edu have a root password set yet? :)

    2. Re:We don't need no damn passwords! by jrockway · · Score: 1

      If you read one of RMS's documents that comes with emacs (the one that's C-h p, maybe), you'll note that he did in fact have to put root passwords on the machines after they went to a proprietary OS :)

      --
      My other car is first.
  31. Re:Nothing to do with post by Anonymous Coward · · Score: 0

    "hell," I think is the word you're looking for. As in, "To Hell with the Devil." You know, Stryper, 1986?

  32. Hey Maybe These Admins... by istartedi · · Score: 2

    ...should switch to Linux/Apache. That way all they would have to do is remember to keep the patches current... umm... nevermind.

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
    1. Re:Hey Maybe These Admins... by pi_rules · · Score: 1

      Mod this.. and my post, down. There is nothing wrong with the SQL Server code here, it's entirely the admin's fault. If you can't see that your blind as fuck.

    2. Re:Hey Maybe These Admins... by Wonko42 · · Score: 3, Insightful
      Ever installed MySQL? It comes configured by default with no root password, just like MSSQL. If someone wrote a worm that took advantage of improperly-secured MySQL servers, that worm would do just as much damage (if not more, considering how widespread MySQL is) as this MSSQL worm. It's the administrator's problem, not the software's.

      Coincidentally, when you run the installer for MSSQL 2000, it prompts you to change the administrator password. Anyone who doesn't is an ignorant fool.

    3. Re:Hey Maybe These Admins... by Twillerror · · Score: 1

      Hey have you ever tried to do transactionS in MySQL or have a database that is over a 10 gigs in MySQL. MS SQL Server is not the problem here and you know it, it is bad management or bad sysadmining. Why the heck is this comment monitored so high, enterpise level dba's no that MySQL is not ready for mission critical apps, at least ones that are fairly to really complex.

    4. Re:Hey Maybe These Admins... by Wonko42 · · Score: 2

      Um, that's exactly what I said. You apparently didn't read my comment.

  33. Not just the incompetents by Wokan · · Score: 1

    Too bad I know a guy who doesn't set admin passwords on his SQL servers that can't be fired. It's his company. In all other respects, he's probably one of the best programmers I know.
    You'd be surprised at the number of admins who know how to do exactly what they should do, but for some reason, consiously choose not to do it.

  34. Re:first post.... by cmaroney · · Score: 0

    I may be wrong but i believe there were several linux worms last year, such as l10n and wasn't it ad0re or some such? i can't remember....but i definitely read on securityfocus.com about the lion worm which was a linux worm. and no, you don't need to "run it as root", its a worm, not a trojan. it uses known exploits to gain root all by itself.


    --
    you know, you can't ride the concept of the horse.
  35. Famous Last Words by rhysweatherley · · Score: 1
    Although this can be a fairly malicious worm, it is very unlikely to infect many servers due to the fact that majority of Microsoft SQL servers have administrator passwords
    This has to go down in the "famous last words" category. Since when have administrators of Microsoft servers ever demonstrated basic common sense?
  36. Re:Nothing to do with post by Mahtar · · Score: 1

    Interesting...I assume one loses even more karma when he doesn't garner the fruits of his sin?

  37. Re:Stupid....Marketing Department by Soko · · Score: 4, Insightful

    No, it's not hard for the coders - but it would make life difficult for the support people. How many of them would get the inevitable "Ah installed yer ESS-Queuu-Elll thingy, and now it's buggin' me fer a paisswerd. What's wit thet?" from thier targeted users? The Marketing Department at Microsoft would be up in arms, saying "Why did you make this hard for people to install?!!? FIX IT NOW!!!

    MS has always played to the LCD in computerdom - there are relatively few who have the wherewithall and curiosity to know exactly what they're doing with the tools Microsoft gives them. It's been the job of Marketing to educate the users the product has been sold to. When they can't handle it properly, it's then dumped on to the Support people. No wonder Microsoft foists it's support on it's vendors - saves them a bundle.

    Example: Joe CFO wants the website up and running now, and gives the job to New Intern who doesn't have a clue. If New Intern can't get it running now, he blames his tools - namely MS, who hear about it from Joe CFO. So, figuring this out beforehand, Microsoft make it as easy as possible to get a SQL server running now - security be damned. New Intern has no authority to spend US$ 100 per call (or whatever it is) in order to contact someone who actually knows the scoop, and just blithely continues on. Microsoft make a sale, trap another customer, and get $ from supporting thier insecure product - as well as upgrades in order to get more security.

    Critisize them as you want - but Microsoft has a good business model in getting everyone and thier puppy into what should be advanced products. Then they try to educate thier users as to why security is important. Backwards as it is, it seems to be working for them, too.

    --
    "Depression is merely anger without enthusiasm." - Anonymous
  38. In other news by Overcoat · · Score: 1

    A new unnamed burglar is at large. More specifically, this new burglar targets homes with their front door left wide open while everyone is out. The burglar walks into the house, eats food out of the fridge, uses the toilet, doesn't flush, steals everything valuable, and leaves. Although this can be a fairly malicious burglar, it is very unlikely to attack many homes due to the fact that majority of homeowners lock their doors when they leave the house.

    1. Re:In other news by Anonymous Coward · · Score: 0

      hahahahahahahahaahahahahahah

      That was great

    2. Re:In other news by freaker_TuC · · Score: 1

      The word "security through obscurity" gets another meaning if you put a sign "Please flush the toilet!" ...

      Or even better ... "Trespassers will be shot, survivors will be shot twice!"

      --
      --- I am known for the ones who want to find me on the net. Is that a privacy risk or a privilege? One might wonder..
  39. And in other news... by Anonymous Coward · · Score: 4, Troll
    Linux boxes compromised
    by THE_MESSENGER, Troll Staff Writer

    HELSINKI - It has just been learned that any Linux box with an unset "root" password in vulnerable to remote compromise, says Dick Johnson, Linux hacker and security analyst. "The attack is very simple," John reports. "Pretty much all you have to do is log in. Then you have complete control of the system." This security problem is believed to be caused by a fundamental flaw in the design of the UNIX family of operating systems, which is the model for the Linux kernel, a popular Cheap Software product. Johnson elaborates: "Those UNIX guys just didn't account for administrators who are too stupid to set root passwords."

    However, knowledge of this flaw fairly widespread within the Linux community. In fact, the only person known to be unaware of a password-less root account's grave implications is Timothy Gaybone, an "editor" for the popular Cheap Software news website "Slashdot.org." While Timothy is a hardcore Windows 98 user, the recent posting of an article detailing a similar security problem relating to Microsoft's SQL Server 2000 relational database product leads many analysts to believe that he is unaware of Linux's problem as well. DOJ crytoanalyst Harry Blotter guesses that Timothy's "reliance on Windows 98 is probably the root cause of his ignorance. After all, Windows 98 doesn't require login passwords."

    There are no reports of websites compromised by this latest Linux vulnerability, although many industry experts suspect that, oddly enough, Slashdot.org may have been breached years ago. "Rob Malda's personal workstation has probably been cracked -- his spell-checkers have been deleted," Dick Johnson explains.

    1. Re:And in other news... by smart2000 · · Score: 1

      I know you are trying to be funny, but I must point out that your post is factually incorrect. Setting the root password to empty will still not allow you to login over the network. You still need to setup /etc/securetty.

      It's called "layered security"

      --
      To purchase it is not like spending money but rather it is an investment in the future in a blow against the empire
    2. Re:And in other news... by tshak · · Score: 2

      Mod parent up. I can't believe crap like this even get's a news story.

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    3. Re:And in other news... by Anonymous Coward · · Score: 0

      Couldn't you just log into an unpassworded user account and then su to your unpassworded root account? No wheel in Linux, after all.

      Furthermore, Unix's 'layered security' is mostly layers of turds and not something that's actually secure.

    4. Re:And in other news... by polarbear · · Score: 1

      You could on some distributions. BTW, recent versions of PAM do support the wheel concept, its just not enabled by default in distributions like Redhat, etc. It can be enabled by modifying a couple files in /etc/pam.d or whichever directory your distro buts pam config files in.

      --
      --- polarbear
  40. Not so, not so... by trilucid · · Score: 4, Insightful


    "Although this can be a fairly malicious worm, it is very unlikely to infect many servers due to the fact that majority of Microsoft SQL servers have administrator passwords."

    Not in my experience, sadly. In most of the corporate environments I've seen MS-SQL Server installed, the sa account has had no password. You may wonder what their logic was... "nobody would know how to hack it, and it's just a development server anyhow."

    Yeah, right... a development server exposed to the net. That's not the worst of it, though. I've seen shops where the sa account was kept blank so ASP "programmers" wouldn't have to bother with remembering a password. This shitty practice is amazingly common.

    It's usually very difficult to reason with the management types on this sort of thing. Most of these people view the database server as a magic box where their information is kept, not as a system that needs to be properly secured. By and large, most corporate types I've talked to actually believed you'd have to have physical access to the machine. I can't say how many times I've heard them say things like "oh, that's what the Administrator logon password in NT is for, right?". Uh, no try again...

    It would probably be impossible to accurately say how many people are running with open sa accounts, because to stand up and admit it would be career suicide for any "database admin". Then again, given the lack of knowlege concerning this among the management types, maybe they wouldn't take so much flack after all. In the end, they could always blame Microsoft for letting them set up the account with a blank password to begin with (dumb, but I can see them saying that).

    Web hosting by geeks, for geeks. Now starting at $4/month (USD)!
    If you're gonna email, use the public key!

    1. Re:Not so, not so... by WasterDave · · Score: 3, Interesting

      I've seen shops where the sa account was kept blank so ASP "programmers" wouldn't have to bother with remembering a password.

      In the unlikely event of an ASP programmer:
      a, Giving a shit about security and
      b, Realising that in all probability the IIS box will be owned at some point, and therefore his source code will become (effectively) public knowledge...

      What options do these... delightful individuals... have for not having a plaintext password stored in the .asp source for connecting to the database? Can they, for instance, keep the password in the registry? (and hence it can be changed on a regular basis, good lord)

      For extra points, how to do it on php? Yes, I am in the process of developing something under php and am a tad concerned about this.

      Dave

      --
      I write a blog now, you should be afraid.
    2. Re:Not so, not so... by trilucid · · Score: 2


      Very good questions, actually :). I haven't done ASP in a long, long time, but I recall that there is a mechanism built in that allows you to retrieve login information from a file that isn't publicly available. There's probably other neat hacks to get the info from the registry, too.

      Under Perl or PHP, you can do it by storing the login info in a file that's chmod'ed to disallow access to all but your userid. Now, in this scenario, your script has to run as your userid (instead of the web server uid [Apache or Nobody]), which can be accomplished via suEXEC or a cgi wrapper. Either way, same effect. In this event, there are only a few ways someone could snag the password (running a proggy to directly interface to the memory space of your program [unlikely], get root access to the server [you'd have more to worry about in that case], or monitoring the network wire [if you were accessing the password on a remote machine via cleartext]).

      I guess my point is this: there are ways to avoid the "passwords in the script" problem in most languages/systems. Of course, if the target environment is Winows 9x, you're going to have oodles of problems with access permissions, but nobody runs productions servers on 9x, right? :)

      Web hosting by geeks, for geeks. Now starting at $4/month (USD)!
      If you're gonna email, use the public key!

    3. Re:Not so, not so... by blowdart · · Score: 2
      Very good questions, actually :). I haven't done ASP in a long, long time, but I recall that there is a mechanism built in that allows you to retrieve login information from a file that isn't publicly available. There's probably other neat hacks to get the info from the registry, too.

      Don't do either. Set a specific password for the user IIS runs as (IUSR_, and IWAM_ if you use out of process), and tell IIS to use those account details. Then duplicate the user name and password on the SQL box, and use Trusted authentication only. No passwords stored anywhere, except the SAM database

    4. Re:Not so, not so... by trilucid · · Score: 1


      Very nice indeed :). This method seems like the definite best solution for NT/IIS platforms! One quick question: are you aware of a way to produce a similar setup for NT/Apache/Perl-PHP users? I know a few people using NT as their server OS, but Apache for the web server in place of IIS.

      NT might not be my choice of server platforms, but a lot of folks are "standardized" on it. There's a lot of people beginning to use alternative scripting languages and web servers, though. It would be neat if there were a similar way to access an MS-SQL server using those tools.

      Thank you for the great reply! This is very useful information.

      Web hosting by geeks, for geeks. Now starting at $4/month (USD)!
      If you're gonna email, use the public key!

    5. Re:Not so, not so... by blowdart · · Score: 2

      Hmm, I haven't used Apache under NT/Win2k, but I would assume it runs as a service, yes? If so, and it runs as LocalSystem, simply create a seperate user and edit the service properties to run Apache as that user. Then duplicate, and tell ADO to use trusted.

      Use the OLE DB Provider for SQL server, otherwise no trusted connections are available.

      If you use connection strings (best way, DSNs involve a registry hit when read) it should look like

      Provider=SQLOLEDB;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=database name;Data Source=server

    6. Re:Not so, not so... by Cato · · Score: 2

      The practice of a blank 'sa' password started with Sybase (MS SQL Server was originally a licensed version of Sybase). Oracle is no better, it has well known default passwords for the 'system' and 'sys' accounts. The real problem is installation tools that don't make it mandatory to set a password for all non-default accounts.

    7. Re:Not so, not so... by Lumpy · · Score: 4, Insightful

      uhh simple....
      dont let any ASp program or programmer have sa access.
      if you cant write your app to use a regular SQL account then get the hell out of the business.

      It is amazing how many "programmers" require administrative access to databases or resources for no reason whatsoever. give them a user account, if they forget their password, publically humiliate them by yelling "what? are you so stupid that you cant remember a password? why did they hire you if your that stupid?" This is reserved for programmers only... sales people and marketing are allowed to forget their password daily, we know they are that stupid, but a programmer has ZERO excuse.

      First, if the programmer asks for admin access, laugh them out of the office. if they ask again tell them to do it at home on their own time (Unpaid). if they ask a third time start back at the top.

      --
      Do not look at laser with remaining good eye.
    8. Re:Not so, not so... by tshak · · Score: 2

      There is a very simple object model for getting settings out of the Registry. All of our DB passwords, etc. are stored in the Registry. In ASP.NET it's stored in an XML file (Web.Config) which is much nicer.

      BTW: ALL of our DB accounts only allow access to the Stored Procedures for the necessary DB (different logins for each DB). There is NEVER any actual SQL in the code. This is a Good Thing(tm).

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    9. Re:Not so, not so... by rjamestaylor · · Score: 1
      It is amazing how many "programmers" require administrative access to databases or resources for no reason whatsoever. give them a user account, if they forget their password, publically humiliate them by yelling "what? are you so stupid that you cant remember a password? why did they hire you if your that stupid?" This is reserved for programmers only... sales people and marketing are allowed to forget their password daily, we know they are that stupid, but a programmer has ZERO excuse.
      You weren't loved as a child, were you?
      --
      -- @rjamestaylor on Ello
    10. Re:Not so, not so... by Anonymous Coward · · Score: 0

      Of course, the key bit to all of this is to make sure that your DB connection string is in exactly one place in your entire application. This will give you flexibility to change your security arrangements later (or move to a different db server, etc).

      There are some commercial apps out there that are hardcoded to use sa/no pass mainly because amateur fart use visual shitstain and as a result has connection strings all over the code.

    11. Re:Not so, not so... by Safety+Cap · · Score: 1
      what? are you so stupid that you cant remember a password? why did they hire you if your that stupid?
      I guess you don't count spelling and correct grammar as an indicator of stupidity, either. "You are" contracts to "you're," not "your."

      You'd probably know that if you weren't an ignorant stlut, right?

      --
      Yeah, right.
    12. Re:Not so, not so... by SCHecklerX · · Score: 2
      Simple.

      You restrict the rights to the file. If you are very paranoid that the source code itself could somehow be displayed (I've seen it happen, when somebody re-configures the server without your knowledge, so PHP comes up as plaintext!!!), then put the passwords in a separate file, and ensure that that file (better yet, a separate directory) is not able to be displayed AT ALL by the web server (I do this on my site). Your PHP, or embedded perl, or whatever, then simply reads the database authentication info from that file.

    13. Re:Not so, not so... by Tony-A · · Score: 1

      Put the database access stuff in a file that is included. You want a filename/extension that will not be served up by the web server if accessed directly.

    14. Re:Not so, not so... by Anonymous Coward · · Score: 0

      sure was, just really really tired of prima-donna programmers.

      Make thes jerks wear real clothes instead coming to work looking like freaks.

      I get my jollies slamming the programmers.... except for one.. he is actually a cool guy and doesn't act like the freaks.

    15. Re:Not so, not so... by CharlieG · · Score: 2

      And what do you do when the developer is also the DBA? As in designs the tables, and writes the stored procs - do you laigh him out of your office too?

      --
      -- 73 de KG2V For the Children - RKBA! "You are what you do when it counts" - the Masso
    16. Re:Not so, not so... by Anonymous Coward · · Score: 0

      duh, they get a login like everyone else.
      if they need to edit the table then they can create the db or you can set their login rights to edit that database.

      if they dont lilke it then start back at the top of my list.

  41. Symptoms of A Bigger Problem (aka Karma Begone!) by Anonymous Coward · · Score: 2, Troll

    I apologize in advance for this rant, but I'm currently in a battle with
    the executives at a client firm (I consult) over this exact issue. At
    once I feel both vindicated in that this is finally a real threat, and
    infuriated that I have to fight with these morons over questions that are
    really this obvious.

    Not to defend Microsoft, but the main reason that there is no default
    password on this sort of setup is because Microsoft assumes the
    following:

    1. This software will be run by monkeys (monkeys in power is our business
    model).
    2. Monkeys can't remember a password.
    3. Monkeys won't understand the need for one anyway.

    This is not directly Microsoft's fault, but rather the nature of business
    in general. M$ makes so much money off of this because business wants to
    employ monkeys (they're cheap, you see).

    Sadly, I have to crack Administrator passwords on NT, say, once every two
    weeks, because someone "forgot" it.

    Heck, Milnet was a playground for hackers because of default and blank
    passwords for almost two decades. Same reason.

    Sometimes, being a responsible, password-using, security-loving
    administrator in this world is--well--depressing. When I look around at
    my "peers", I see tons of dumbasses that shouldn't even have access to the
    Administrator password, let alone a keyboard. I mean, I actually have
    arguments with these people about even *NEEDING* passwords at all! I get
    defenses like "we're too small to be hacked" or "we don't have anything
    to lose if we get hacked"!

    I mean, seriously, while there are some pretty cool and froody NT admins
    out there, most NT installations began with some primate stuck in front of
    a computer and asked to "make it go".

    I think I just realized that without the M$ crutch, 75% of the so-called
    IT admins wouldn't even be able to find their ass. I hear all the time
    about how Windows has provided "easier tools" and "platform
    standardization". What really happened is that M$ turned the complex and
    exacting task of system administration into a game of "click the
    button" with all of the "hard choices" (like passwords) labeled with
    scary phrases like "Advanced" or "This will require more
    configuration". I suddenly realize that what M$ really did is lower the
    IQ requirement to become an administrator to the point that most of these
    clueless jerks defend M$ because it keeps them from having to shovel
    manure for a living. Really, M$ manipulated the industry by flooding it
    with idiots that must be firmly locked to the Redmond teat--knowing that
    they will do more than Billy G. and the Spin Squad could ever do to defend
    his monopoly!

    So is this situation Microsoft's fault? By design, maybe. Directly,
    no. It is precisely because business *wants* to employ cheap idiots that
    these bugs exist. It's just that M$ catered to that whim and developed a
    horde of pundits that cling to it's ways for their own livelihood.

    The worst part is that I have personally passworded probably 40 SQL
    servers (most of which doubled as a public web server) for small
    businesses. I've created entire password policies for hundreds of
    users. It is enfuriating to me that--despite gross evidence like
    this--whenever I do a security audit, I have to drag these people kicking
    and screaming to use passwords, remember them, make the secure,
    periodically change them and, for god's sake, don't write them down! Is
    that really so much to ask?

    Oh well, at least I get paid to fix it for the three clients I have that
    have INSISTED that their SQL servers have no passwords. The really ironic
    thing is that all three only use SQL server for an accounting package and
    their administration couldn't be bothered with passwords--and now all
    their accounting data is at risk. The ironic humor of this has not
    escaped me.

  42. don't make jokes about dumb administrators... by Anonymous Coward · · Score: 0

    you will be probably hit too by this worm...

    this worm attacks a stripped down version of the microsoft SQL-Server, this version is not only installed with visio and access, but with hundreds of freeware and shareware programs on the market, often without asking the user for a password, so the users (joe averange) often don't know about the SQL-Server running in the background.

    "without password" is also not true, but there is a standard password set, if i remember right its "SA".

    the error microsft did was to enabled remote access to this small SQL-Server Version...

    so.. most often this worm will not hit computers with "administrators" at all...

    sorry for my bad english,

    greetings
    another AC

    1. Re:don't make jokes about dumb administrators... by mini+me · · Score: 1

      This striped down version is known as MSDE (I think they are calling it Microsoft SQL Desktop now), a "free" SQL server from Microsoft.

      It doesn't ship with Enterprise Manager or any of those tools so it really is administratorless. It ships with sa and a blank password and there is no easy way to change the password without enterprise manager.

  43. For starters.. by CaptainSuperBoy · · Score: 2

    SQL Server is a database engine. Apache is a web server. Replacing one with the other wouldn't do you much good..

  44. Re:first post.... by jrockway · · Score: 1

    could you post a link, please?

    --
    My other car is first.
  45. welcome to the bungle... by Anonymous Coward · · Score: 0

    why m$ worms make news is a mystery to me. granted, a lot of people use m$ products, but we've grown tired of the repeatative "new worm in microsoft (insert product)" news. i think everyone by now knows that m$ isn't the way to go if you want inherent security in your OS. let it go.

    on a lighter note... XP product activation has become so annoying that otherwise-legitimate users have resorted to piracy to avoid the hassle.

    c'est la vie

  46. not really by Anonymous Coward · · Score: 0

    As already pointed out, later versions do require passwords. How do you figure asking for a password to be set would bog down tech support? Windows 2000 even asks for one by default.

  47. For the Love of God by Corbin+Dallas · · Score: 1

    Can we please quit announcing Microsoft exploits? Exploits on Microsoft products are new in much the same way that New England isn't. I'd just assume take it as read that their products are the swiss cheese of the industry and get on with my life.

    And now back to the wall.

    --
    Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote.
  48. Er, correction by Wonko42 · · Score: 2

    It just occurred to me that MySQL actually doesn't allow connections from anywhere other than localhost by default, so my statement that a MySQL worm could do more damage than this MSSQL worm was probably in error. Ignore me. Even so, this is still a user problem more than a software problem.

  49. Worm or Middleware? by GroovBird · · Score: 1

    Heck

    I think if you look at it from an angle, you'd find out this might actually be a good thing. This piece of "innovation" might render the likes of FreeTDS simply obsolete.

    Using a MS SQL Server from a Linux host has always been difficult, now you can simply use IRC to fire your sql statements and get your data! Information at your fingertips. Information at everyone's fingertips!

    Dave

  50. This one's old news, gang. by Mordant · · Score: 1

    This report is so November 22nd. Worm goes out, people notice, the IRC servers (bots.kukijiri.net) DNS gets waxed, non-event.

    So, people who got infected during the very short lifetime of this thing need to basically scrub the boxes, because BackOrifice, etc. could've been installed during the interim. But this is Old News; hell, I figure even that pretentious dumbass John Katz already knew about this one before some moron put it on the front page like it was a 'scoop', or something.

  51. Password prompts by Sinfamous · · Score: 1

    A password prompt at install is not something only Microsoft has decided to not bother with. I recall MySQL not forcing me to set one either. Although it tells me too, it doesn't force it.

    But then, why should an "admin" be forced to set any passwords at all? These are the genius' who would use "god" or "password" as a password anyway.

    It's just something that is so common sense as to be ridiculous.

    1. Re:Password prompts by blowdart · · Score: 2
      A password prompt at install is not something only Microsoft has decided to not bother with. I recall MySQL not forcing me to set one either. Although it tells me too, it doesn't force it.

      SQL 2k does force you to click a checkbox if you want to leave sa's password blank, and SQL 7 has a nice explanation of why it's bad.

    2. Re:Password prompts by Anonymous Coward · · Score: 0

      i'll be damned. somebody who knows how to spell "ridiculous". i thought they were extinct.

  52. This is probably more of the same as Code Red etc by sweetooth · · Score: 2

    not corporate database servers at all (some probably, but not most). It's most likely going to hit Joe SixPack that installed his warez copy of Windows XP and SQL Server 2000 on his primary computer which is hooked up to his cable modem 24/7 and he has no idea that SQL server has a password at all.

  53. Astounded by Anonymous Coward · · Score: 0

    I am astounded at the number of security holes in Microsoft software while i have not heard barely anything of macintosh software security holes.

    Does anyone know some recent news of security holes in classic Mac OS or other operating systems not including windows ain *nix?

    1. Re:Astounded by AnimeFreak · · Score: 2, Informative

      I am not bashing Mac users here, but face it, there are more Windows/Unix users than there are Mac OS users.

      Thus saying that, with less users using that OS, the less chance of a security problem occuring due to the low usage of Macintoshes as Servers. I am certain there are a lot of undiscovered bugs in Mac OS that we're not aware of, it is only a matter or time before they're found or never found out at all.

      IIRC, the last bug or exploit that I have seen involving the Mac OS was a exploit in Microsoft Internet Explorer. That is a third-party issue though.

      I feel the urge to move back to Macintosh now, though. OS X looks very purdy.

    2. Re:Astounded by arkanes · · Score: 1
      Thus saying that, with less users using that OS, the less chance of a security problem occuring due to the low usage of Macintoshes as Servers.

      No. There is less chance of security bugs being FOUND due to low usage. This is another example of security through obscurity.

    3. Re:Astounded by frankie · · Score: 2
      another example of security through obscurity.

      No. Mac may have some "security through rarity", but OS X is not obscured. Neither are its web services nor its SQL implementations.

      So I have to ask, what are you talking about?
    4. Re:Astounded by arkanes · · Score: 1

      I'm talking about the idea that OS X (or any Mac platform) is more secure simply because there are fewer of them out there. Figuring that you won't get hacked because 'there aren't any Mac's out there, so no one will bother to figure out how to hack one' is no better than 'We won't document the GetRootPassword() API, so noone can use it'

  54. I had an administrator password once.. by BEA6D · · Score: 0, Offtopic

    but I forgot it.

    --
    rehab, captain ahab, you're chasing the wrong fish!
  55. something to note... by Anonymous Coward · · Score: 0

    You see, I've had this strange itching sensation in my nuts for the past weekend, probably due to having gay sex with your dad. Still, it's a lot safer than having sex with that fat ass bitch you call your mom.

    I remember one time in 1988, i had sex with cows and chickens on the farm, oh my god i was in heaven.

    Thank you for listening to this.

    f4g b0y

    1. Re:something to note... by Anonymous Coward · · Score: 0

      This picture can be used for a fun joke, like this: "Here is a picture of my friend! Ha! Your friend will be so mad!

  56. Re:first post.... by flynn_nrg · · Score: 1

    It was posted in The Register, too lazy to search for the article tho.
    Acording to uptime.netcraft.com:
    The site www.playboy.com is running Netscape-Enterprise/3.6 SP3 on Solaris.

  57. Re:first post.... by kubla2000 · · Score: 1

    could you post a link, please?


    http://www.theregister.co.uk/content/55/22959.ht ml

  58. Virus - The SQL by Alien+Being · · Score: 1, Redundant

    UPDATE world
    SET all_your_base = "are belong to us"
    WHERE do_you_want_to_go = "today"

    1. Re:Virus - The SQL by rjamestaylor · · Score: 1
      UPDATE world
      SET all_your_base = "are belong to us"
      WHERE do_you_want_to_go = "today"
      & " limit 1;"

      No reason to anger the Aliens....

      --
      -- @rjamestaylor on Ello
  59. Re:first post.... by Anonymous Coward · · Score: 0

    http://money.cnn.com/2001/11/20/news/playboy/

  60. Microsoft bashing gone too far by Knightmare · · Score: 1

    If this turns into another microsoft bashing party, some people need to get a clue. This isn't Microsofts fault, I don't see a database server as something that should have a pretty wizard or wonderful config tool. And Microsoft is not the only database server out there that has no password by default. First off the top of my head would be MySQL. Every install I have ever done of MySQL has always been followed up with the setting of the "root" password. If the administrators of internet accessable systems can't take the time to set passwords on all their services admin interfaces then they deserve what they get. If this were some backdoor that would work no matter how much care the admin took to secure the service then great. Lets get pissed at Microsoft and bitch a little. But don't forget that stuff on the other side of the fence is no better. How long has the BIND source code been available to look at? And how often in the past have there been AMAZINGLY big holes in BIND? Instead of doing nothing but bitching about the problem, lets try and come up with some solutions and get the word out on safe programming/administration practices.

  61. MANY MSSQL Have no Passwd! by Jeremiah+Cornelius · · Score: 1
    I have experienced that MANY MSSQL installations have no password for Administrator. This amounts to a huge number of development installations - as well as systems slated for production, until the moment they go "live".

    The exceptions are when OS user integration is used for DB authentication - then it is often a Domain Admin account that is used. Another crime just waiting to happen!

    --
    "Flyin' in just a sweet place,
    Never been known to fail..."
  62. Desktop SQL by Jeremiah+Cornelius · · Score: 1
    I think that the "desktop" version of MSSQL is going to be weak link here. This is installed automatically with every FrontPage XP and Visio 200x, as a backround task - with no hint that it even has an administrator or an administrative interface.

    CodeRed often travelled on employees laptops. They came in from their home DSLs into environments with lock-down net perimeters - physically and via VPN. I'm afraid that this is the vector of opportunity for this new worm.

    --
    "Flyin' in just a sweet place,
    Never been known to fail..."
  63. Re:first post.... by Jeremiah+Cornelius · · Score: 1
    SunOS might have been why firewalls became popular, but It's because of VMS they were invented.

    The first operating screening firewall I know of on the ARPA was our old friend, gatekeeper.dec.org.

    --
    "Flyin' in just a sweet place,
    Never been known to fail..."
  64. yei, another one by Anonymous Coward · · Score: 0

    .. I mean, with all the worms/trojans/virii .. who cares? so what? where's the point? we all knew it would come to this, why the post? it not like these are rare or something..

    some people need to get a life

  65. empty or default by macpeep · · Score: 3, Redundant

    The problem isn't really that the password is empty. It would be just as bad with *any* default password. Remeber "scott" "tiger" on Oracle?

    1. Re:empty or default by matt2413 · · Score: 1

      Remember Pete/god here?
      :)

      --
      Matt
    2. Re:empty or default by kikta · · Score: 1

      Didn't Cisco routers used to come with pail/bucket?

  66. MSDE doesn't listen to 1433 by Otis_INF · · Score: 3, Informative

    The installment you refer to doesn't listen to a TCP/IP port, you have to configure that yourself in the registry. Therefor these installments are not vulnerable.

    --
    Never underestimate the relief of true separation of Religion and State.
    1. Re:MSDE doesn't listen to 1433 by Jeremiah+Cornelius · · Score: 1

      Glad to know this!

      --
      "Flyin' in just a sweet place,
      Never been known to fail..."
    2. Re:MSDE doesn't listen to 1433 by Dahan · · Score: 2
      The installment you refer to doesn't listen to a TCP/IP port

      Sure it does... how else would you connect to it from another machine? (And yes, you can connect to it from other machines--MSDE is made for small LAN workgroups). See MSKB article Q233312 for details on the network libraries MSDE supports.

    3. Re:MSDE doesn't listen to 1433 by blowdart · · Score: 2

      MSDE defaults to named pipes, as does SQL in general *spit* You still have to specifically tell it to listen on TCP/IP. Oh and you get an icon in your system tray, so you do kind of know it's there

    4. Re:MSDE doesn't listen to 1433 by Dahan · · Score: 3, Informative
      Seriously, check out the KB article I referenced. It explicitly mentions that you can't use named pipes on Win9x (as a server-side net library... i.e., MSDE can't listen on a named pipe on Win9x). And the "default" install of MSDE (1.0, at least) has "NetworkLibs=4095" in the unattend.iss file, which translates to Named Pipes, TCP/IP, and Multiprotocol.

      As for the real SQL Server, I just installed SQL Server 7.0 Developer Edition on a test Win2K Server machine--if I pick custom install, it lets me choose which network libs to install, and by default, Named Pipes is checked (and can't be unchecked), TCP/IP Sockets is checked, and Multi-Protocol is checked. I cancelled that and restarted the setup using all the default/typical settings, and after it was all done, I started the service and it was happily listening on TCP port 1433 with no password on the sa account.

      So MSDE and SQL Server default to a couple of protocols; TCP/IP is one of them. You do not have to specifically tell them to listen on TCP/IP.

  67. I just can't stand the excitement... by Zspdude · · Score: 1

    Does this sound familiar: another virus attacking Microsoft software? Like I've never heard anything of that sort before.....

    --
    What's in a Sig?
  68. There are Service Packs for SQL Server too by BakaMark · · Score: 1
    The installation of Microsoft SQL Server 7.0 does tell or force you to set a "sa" (SQL Administrator) password.

    Howerver Microsoft did start to pick up on the fact that this is not a good practise until they put out service pack 3 for SQL server 7.0. You have to select a lot of things to tell the system to not set a "sa" password if one does not already exist. If you tell the system to not use a "sa" password, then it will set the default on changing the security authentication to NOT use SQL authentication, but the builtin authentication of the NT/2000 OS instead.

    However the usage and installation of the SQL service packs are not as widespread as the ones of the OS, and I don't think that it is something that will be applied for you automatically via the Windows Update facility. So you actually have to go and download it and install it.

    However if an Admin canot bother to eliminate access to their SQL database from the web, or set a "sa" password, then they are not even going to think about applying service packs.

  69. It's still flawed by barzok · · Score: 2

    A blank password shouldn't be allowed in the first place. Nor should a default (known) username.

    1. Re:It's still flawed by GoRK · · Score: 2

      such as, say, 'root' ?

  70. Re:Hey Maybe These Admins... (Oh, Jesus) by Anonymous Coward · · Score: 0

    SQL sites should switch to Apache? How stupid can you be? SQL is a DATABASE, Apache is a WEB SERVER. The two are completely different.

    Get back to school.

  71. I used to admin SQL, but then I got high. by Anonymous Coward · · Score: 0

    I used to design schema too, but then I got high.
    And now I'm patching one fucked dee-bee and I know why.... 'cos I got high, 'cos I got high, 'cos I got high.

  72. License to use internet by Anonymous Coward · · Score: 0

    Its not the admins that are infected by these things, its the home users. I started out with Linux two years ago and got hit by a wu_ftpd exploit soon after. Then I began learning - quickly. I think a licensing scheme should be introduced before your alowed to have an internet connection that receives SYN packets, or perhaps a connection at all. Like driving licenses - people with no idea what they're doing are dangerous and can hurt others.

  73. Comment removed by account_deleted · · Score: 3, Informative

    Comment removed based on user account deletion

  74. Its a conspiracy by Anonymous Coward · · Score: 1, Funny

    Yes, Slashdot must have had something to do with this password exploit in Linux. Try setting an easy to guess or no password, and it aborts complaining about a

    lame password, try again.

    Aughghgh! The lameness filter! So many root accounts. How will I ever remember them now?

  75. passwd by _ph1ux_ · · Score: 1

    "majority of Microsoft SQL servers have administrator passwords."

    I think the point is her - to show that there is so much you can do with Microsoft's Open Scripting Language - provided you set no passwords - the options are boundless (AND I AM NOT TRYING TO BE A TROLL)

    What I am saying is that maybe M$ should learn from all the virii out there that use their products as food - the virii writers have shown a lot more talent at exploiting other's code than the several thousands in redmond - and if MS could take advantage of the "inter-op-ability" (e.g. how eaasily viriii gets ms code to do what they want) - then maybe they would have some *true* innovation - which is all they have really wanted in the last decade...

    I mean seriously - wouldnt it be good for MS to actually use virii in their products as learning tools and incorporate the generally *small* (as in comparison to every bloat-app that ms writes) code base of /features/ that virus' usually have in them - into the MS code base... and I mean the good aspects - I mean, if you think about it - some virus' out there offer a great deal of functionality with a really limited code base...
    (doesnt mean that those features are what you wan - but that is not the point).
    We should learn from this electro-bio-organism that is computer virii and see that you can take advantage of a core architecture and get many things accompllished (which is a whole other topic) - anyway.. I can see long term benifits... too many to list in this state of drunkeness....

    reply please.

  76. Nothing to see here, move along please by Anonymous Coward · · Score: 0

    Didn't you know the moon is made of swiss cheese too? Aliens rooted the moon many years ago. Its just been recently within the last decade when the Microsoft Windows line of products have been released that the world has been invaded.

    The war of the worlds has begun. The FBI^H^H^Hborg now has a large cluster under its control. Our new government has everything under control.

  77. So in theory, nobody will be affected. by Anonymous Coward · · Score: 0
    Why is this news ? No serious organization is going to be infected by a worm which only attacks unsecured installations.

    Anyone who falls victim to this 'worm' gets what they deserve.

    On the other hand, given Microsoft software's propensity to spoon-feed the user absoultely everything, how difficult could it have been to FORCE the administrator to enter a password at install time ?

    In effect, Microsoft knows its customers are half-wits, so it owes a duty of care to protect these morons from themselves...

    I can see a class action suit brewing.

    1. Re:So in theory, nobody will be affected. by huh69 · · Score: 1

      I don't know about "nobody". Being a UNIX admin that is security conscious, I'm pretty concerned about our Windows Network's security (or lack of it). One thing I have noticed is the Windows' guys lack of concern, which borders on complete laziness. They don't enforce any type of security with regard to network access, passwords are completely insecure, our DMZ is anything but secure (this one my UNIX admin buddy and I are trying to talk them into fixing). My point is this: These guys can't be unique (and they're not idiots, just unmotivated), I wonder how many other corporate networks are in the same type of persons hands (the M$ mentality I mean), it has to be more than I would figure. I believe that it is no too difficult to secure even an M$ machine, but the lack of desire to do so seems to be prevelant among our Windows admins. Just food for thought.

  78. I'd start worrying by Lion-O · · Score: 2
    Offcourse we've seen reports like this time and time again now but lets also try to grasp the broader picture here. MS is very busy trying to intergrate as much as possible, even beyond the original idea 'one interface, one way to operate'. Nowadays everything seems to be in need of integration and so far we've seen more trouble then good coming from it. Take for example the vb scripting, once the email client got 'infected' by it we've seen virii take advantage of it. At first vb attachments but later the rumours went on about overflow exploits and even emails which basicly got autostarted. So the virii basicly evolved, it started pretty harmless but soon got worse.

    Allthough its hard to look into the future I have a feeling we're on the start of something new and icky. Don't forget that a lot of websites using IIS also have a connection to some SQL server in order to store/retrieve data. This exploit may only be capable of doing harm without a SU password, don't toss it away with "blech, there's no harm in that" and forget all about it. It just might haunt us afterall.

    1. Re:I'd start worrying by Error27 · · Score: 2
      >>So the virii basicly evolved, it started pretty harmless but soon got worse.

      I think they've ALL been extremely harmless up to this point. Sure there are still tons and tons of rooted boxes out there from Code Red. But that's not the worst thing that could happen.

      I don't think most people realise the destructive power a million little pcs connected to the internet can have.

      Forget about fifteen year olds DoSing Yahoo and CNN for a couple days. A million computers could easily take out all the phones in DC for a couple days. That would be expensive I think.

      Or instead of just deleting a couple mp3 files the viruses could do harmfull things to the computers they infect. Stuff like destroying the monitor. Then destroying the Bios. Then erasing the hard drive. That's the kind of thing I'm afraid of.

    2. Re:I'd start worrying by FFFish · · Score: 2

      Frankly, that's the kind of think I dream of, because at this point, I'm quite convinced that the only way to wake up the *IDIOTS* out there is to destroy what's valuable to them.

      I received my third virus email in a week from one particularly clueless git today. The dumbass keeps opening attachments willy-nilly. Well, I hope the next one screws his boot sector. He needs a clue-by-four upside the head.

      If every dumb asshole out there was to lose their system, they'd *have* to learn to be more careful, wouldn't they? Or am I still giving them far too much credit?

      --

      --
      Don't like it? Respond with words, not karma.
  79. Easy to use by russianspy · · Score: 1

    One benefit of haveing programs (including installations) easy to use is that *ANYONE* can do it. For some things that might be an extremely BAD idea.
    Ease of use if great for end users. Not for administrators. I believe that making software which makes administering computers/networks/databases trivially easy for administrators is just asking for it.

  80. Re:first post.... by Anonymous Coward · · Score: 0

    From netcraft The site www.playboy.com is running Netscape-Enterprise/3.6 SP3 on Solaris

  81. Re:This is probably more of the same as Code Red e by ErikZ · · Score: 1

    Um, I don't think you can associate the words "Joe Sixpack" and "SQL database server".

    Perhaps you mean the "Warez Kiddies"?

    --
    Democrats or Republicans. They are both taking us to the same place and they are not afraid of us anymore.
  82. I like this part... by farrellj · · Score: 2

    "it is very unlikely to infect many servers due to the fact that majority of Microsoft SQL servers have administrator passwords."

    Only the "majority", not "virtually all"? MCSE certification takes another step downwards! And it's already on the 23rd sub basement!

    ttyl
    Farrell

    --
    CAN-CON 2019 - Ottawa's only book oriented Science Fiction Convention! October 18-20, Sheraton Hotel, Ottawa, Canada h
    1. Re:I like this part... by posmon · · Score: 1

      surely you mean a msdba?

      --

      update comments set karma=-1, reason='offtopic' where sid=26315

  83. Re:Symptoms of A Bigger Problem (aka Karma Begone! by Strauss · · Score: 1

    Yup; I've had this issue, too, running tech support. The number of times I asked "what's the password..." and was told:
    sa/sa
    sa/password
    sa/*blank*
    sa/admin
    sa/administrator

    Even when a password is set, it's often not strong. To put it mildly.

    --

    Trifle not with Dragons, for you are crunchy - and go well with catsup.

  84. Corel Linux 1.0 did the same ... by bockman · · Score: 1
    ... at least the not-to-pay release I got with a Linux magazine.

    Maybe they just wanted to put windows ex-users at ease :^>.

    --
    Ciao

    ----

    FB

  85. You deserve it if....... by snoozerdss · · Score: 1

    If your an M$ admin anyou don't set an administrator password for you SQL server you deserve what you get.

    --
    Snoozer.
  86. MS SQL and no passwords by G00F · · Score: 1

    Many products that realy on ms msql make you not have an sa password. Also, many people who outsource for accounting needs are huge victims of this.

    btw, don't ever let anyone use Solomon. Its a huge pain in the ass. But then, I don't know any other accounting software out there.(MS bought them out, don't support novel, etc)

    --
    The spirit of resistance to government is so valuable on certain occasions that I wish it to be always kept alive
  87. Whoa there by Chardish · · Score: 1

    NEW MICROSOFT SQL SERVER WORM

    Hey Microsoft!
    Ask yourself how many times that headline's been seen in the past two years.

    Then think about it.

    -Chardish

  88. bad things happen to dumb people by seanw · · Score: 2

    can you even charge someone with breaking and entering if your house doesn't actually have a DOOR?

    I second the motion to name this the "dumbass worm"

  89. Re:Stupid....Marketing Department by Anonymous Coward · · Score: 0

    uummm how many dumb user know how to use M$ SQL or how many DBA's do you know that are not intellegent if they dont know how to use sql than they shouldnt be using it

  90. Very simple... by bwoodring · · Score: 1

    To keep the db password out of your ASP files, don't make your connections in ASP at all. Make your connections and queries in COM components and handle your dataflow and business logic there.

    Most COM components are compiled and thus not plaintext, additionally, they can be stored outside the Inetpub structure, making them more difficult to access. If application scalability is a concern, the components can reside on their own server.

    This is how you should be doing database work in ASP anyway. Making direct SQL calls in your ASP is a bad practice, and violates the basic principles of the N-Tier model.

    1. Re:Very simple... by mini+me · · Score: 1

      Just make sure that the password isn't stored as a string in the compiled program either. If it is a string then it's quite trivial to find the password in the compiled program.

      I've done this before with a program I was working with, I needed to gain access to a password protected database it used so I just opened up the program in a hex editor and started looking for a password string. And yes I did find it, and it worked like a charm.

    2. Re:Very simple... by Anonymous Coward · · Score: 0

      Making direct SQL calls in your ASP is a bad practice, and violates the basic principles of the N-Tier model.

      Thank you Mr. Roboto. Any other words of wisdom that you picked up at the two day "Building N-Tier Applications Using Microsoft Technology" seminar?

  91. Why Microsoft is being targeted by JonathanF · · Score: 1

    The simple fact is that the majority of these worms and viruses are targeted at Microsoft because... well, they're Microsoft, and they hold the majority. Non-Windows users laugh, but the fact is that if most people used Linux, we'd be seeing many more attempts to exploit Apache, Mozilla, and most other Internet apps commonly used for the OS. If we all stuck to OSX we'd likely have exploits developed to attack OSX Server, Mail, Netscape, and so on.

    That's not to say that Microsoft's IIS or SQL software is rock-solid, just that we wouldn't be hearing of "yet another worm" if it weren't for the worm makers' desire to cause the most damage possible. I do agree that any network admin who leaves a critical server without a password should likely incur whatever wrath is inflicted upon him as a result of it!

    1. Re:Why Microsoft is being targeted by Chris+Johnson · · Score: 3, Insightful
      Microsoft are traditionally NOT the majority in SERVERS.

      The reason all these worms target Microsoft is not because they hold the majority, it's because it's like shooting fish in a barrel...

    2. Re:Why Microsoft is being targeted by JonathanF · · Score: 1

      I suppose you're right about server usage, but it's still not entirely gaping holes in Microsoft's software. Part of it is Because It's Microsoft Syndrome; they're the big, bad corporation, and it's likened to a moral duty to ruin their software as much as possible. I know I sound like I'm apologizing for any security holes, but I'm trying not to - honest! It's just that when a hole in a Unix-based or a 3rd-party app shows up (and, though more rarely, they do show up), little attention is paid to it.

  92. Lets not forget about home users with it installed by RodeoBoy · · Score: 2, Insightful

    I just recently installed a sample web application from M$, yes it was .Net, and it came with one of these MSDE databases. When I opened up the server manager I was suprise to see several ip addresses in it. There are severaly @home user with SQL Server installed and many with no sa password, don't ask me how I know that. Many of these boxes also have infected IIS installs too. As if I don't get enough code red/ namba hits as it is. I glad I uninstall that thing, because I am sure it didn't have a password and I am not sure how I could set it. Does anyone know about the functionality of the little engines and are they effected by this worm. LT

  93. More a Flaw in Active Directory/NT Domain Model by Anonymous Coward · · Score: 0

    This strikes me as more of a flaw in Microsoft's approach to the whole idea of domains & directories. The database itself should not have a password assigned to it. Rather, at creation time, the database should be associated with a container object in a directory (Active Directory, Novell Directory Services, NT 4 Domain, NT Workgroup, whatever), and users, or groups of users, should be added to that container as needed. For instance, if you want someone to have Administrative rights to the database, then you should pluck them from the Active Directory (or NT workgroup, or whatever) and grant them some kind of "Full Control" permission to the container object associated with the database. Everyday users of the database should be granted something like "Read" or "Read/Write" permissions to the associated container, or to some record object within the associated container.

    At installation time, the install program should refuse to proceed if no user [or group of users] from the Active Directory has been granted "Full Control" rights to the associated container object.

  94. I can confirm this by Tom7 · · Score: 2


    There is a lot of stupid custom software written that needs MS SQL server with an admin account that has an empty or fixed password. I have installed this stuff before.

    It's crappy stuff, but I don't pick it, and I don't think I have the business understanding to know how to pick something better that is still useful to the company.

    All you can do is try to turn off remote access or firewall the thing...

    1. Re:I can confirm this by Anonymous Coward · · Score: 0

      Firewall? Why's it even on routable IP space in the first place!

  95. As an ASP programmer... by Anonymous Coward · · Score: 0
    ...here's how I like to do it:

    1) Database is behind firewall, which doesn't allow direct access to database from anyone besides the web server,

    2) All database calls are through stored procedures, and the sql password used by IIS has stored procedure privileges only, and

    3) the web users' username/password is stored in the asp session, and passed in to stored procedures.

    In our case, we also have SSL on the entire site. At one point we experimented with client-side certificates, but support on our clients' boxes was pretty iffy - we had to back off that.

  96. This will NOT propogate far by Anonymous Coward · · Score: 0
    This worm is dead before it really got started. It's not a well written worm, in the sense that in order to complete the infection, it "phones home" to a fixed ftp server/IIRC server to download files to complete the infection process. Since these server IPs were fixed, and have already been shutdown, this thing was basically dead before it started.

    From a post to NTBugTraq:

    It is dependent on the availability of an MS SQL server with mixed-mode authentication enabled, an SA account with no password, and at least the XP_CMDSHELL extended procedure present and not secured. This would be a standard configuration for MS SQL 6.5, but not MS SQL 7.0 (MS SQL 7.0 installs using NT authentication by default, not mixed mode).

    If you are at all concerned by these events, I highly recommend you remove the XP_CMDSHELL stored procedure. If you don't need to shell to a DOS command during a Query, you don't need the procedure. You can always add it back later if you find you need it. MS SQL 7.0 will show you whether anything is dependent on it (in case you didn't write your own procedures). Drop this procedure and you've taken a step in the right direction.

  97. They should be running Oracle... by Anonymous Coward · · Score: 0

    If they were running the highly secure Oracle instead of SQL Server they wouldn't be impacted.

    Larry Ellison is such a smarter man than Bill Gates!

    He doesn't let you install Oracle with a blank password. Hell he doesn't even prompt you at install time to find out if you want to set the admin password at all. Instead he just puts something really really highly secure in place by default.

    That something is:

    CHANGE_ON_INSTALL

    See how much more secure this is than just having a blank password?

  98. Why there are unset passwords by Tom7 · · Score: 4, Interesting


    Having had the distinct displeasure of working with MS SQL before, I think I can lend some insight into why SQL server gets installed with no sa password.

    There are lots of companies out there that make custom software, or domain-specific software, and sell it for lots of money. Most of the software they make is database stuff for busineses, (so, there might be a company that specializes in a database product for food manufacturers, etc.).

    These apps, if they are for NT, usually need MS SQL server. Usually, the person installing them doesn't know anything about SQL server, they just bought it for the first time along with the app. The installation instructions tell them to do a certain thing, they do it, and viola, SQL server is installed with a default or empty password. (To their credit, the versions of MS SQL I've used are very happy to install without setting a password for the administrator.) Most of these people probably don't realize that the software can be accessed over TCP/IP. After all, remote accessibility over the internet in Windows is a relatively new thing (as opposed to the UNIX world).

    So yes, this is stupid, but it is not as braindead as installing redhat and stubbornly skipping the step where it asks you to choose a root password. You have to understand what SQL server is about, which is not as common as it perhaps should be, because SQL server is typically seen as an *accessory* to the real app they are installing.

    1. Re:Why there are unset passwords by Drunken+Philosopher · · Score: 1

      The "package and redistribute" version of SQL Server, MSDE, is particularly vulnerable to this problem. --In part, because it doesn't ship with the tools needed TO BE ABLE TO CHANGE THE SA PASSWORD.

      Sadly, the installation program for SQL Server does not require you to set an SA password. After that, it just gets overlooked.

      Sheesh... SQL Server should not be allowed to start without an SA password; MS should ship a special utility to set the password in that case, but it should never be allowed to start without an SA password.

      If someone needs access without a password, then use the guest account for that, and ensure that guest has as little access as possible to satisfy the need. Most of the worst exploits (e.g., xp_cmdshell) require administrative access.

      It'd be interesting to see how many Oracle installations leave "system/manager" in place. I'm guessing far fewer-- in general, if you're an incompetent Oracle DBA, nothing gets done. Incompetent SQL Server DBAs can be surprisingly productive. (I've actually had to explain to SQL Server DBAs what an "index" does.)

      --

      "There is a diminishing return on caution."
  99. Sounds like you need to . . . by div_2n · · Score: 1

    Sounds like you need to press management for creating a list of application and database standards so that you don't get cracked out companies trying to deploy applications with hard coded passwords.

    Here at work, I had to do just that. We are deploying 3 production SQL Servers and we had no standards base. I developed a list that says specifically the dos and don'ts. If an application doesn't pass the test, we hand it back to the vendor and say "fix it or sell it to someone else."

    Keep pressing management on your current vulnerabilities. E-mail them links to security holes just like this with a note saying "yes, we ARE vulnerable to this." Keep a record of it. That way when "they" try to come down on you, print out the copies and hand them over as your answer.

    Every day when I hear about new vulnerabilities, I e-mail links to the admins in charge of other systems, managers and the poor help desk personnel that often catch the user anger.

  100. You moron by tlhf · · Score: 1

    Yes, it is your damn fault for getting that worm. If you're gonna have unpassworded sql servers, at least have some sort of IP block.

  101. ha!! by Anonymous Coward · · Score: 0

    ComPath, http://www.compath.com has an open sa account on their solomon accounting database. It is siting behind a netscreen firewall, but their are holes in it to allow some traffic . . .

  102. Re:Symptoms of A Bigger Problem (aka Karma Begone! by frank_adrian314159 · · Score: 2
    Sometimes, being a responsible, password-using, security-loving
    administrator in this world is--well--depressing. I mean, I actually have arguments with these people about even *NEEDING* passwords at all!

    Loving security is good. Loving passwords is lame. Before I get flamed, let me say that I DO belive that security is an important issue. My gripe is specifically about passwords as the main and (usually) only way to enforce that security.

    Given that the standard marketing manager has at least five passwords to remember - system login, CRM system login, order system login, HR system login, pr()n site login :-) - it's a wonder that you have any security at all left. If admins really want to have an effect on security, get your organization to move away from passwords and onto smart cards or biometric validation. It's a lot easier on you and your users.

    --
    That is all.
  103. disable the sa account. by Twillerror · · Score: 1

    By default the sa account has a server role of system administrator. For non sql users this means it gets god rights. The best security practice is to remove these rights, making the sa account useless.

    Then setup another account with a funky name that know one knows. As far as devolpers, if your in an NT shop USE NT SECURITY, then you don't have to worry about anyone knowing passwords.

    Even if you can't do this you can deny access to the part of the system that makes the sql server vunarable. I'm assuming that this virus calls xp_cmdshell, which gives you access to the command prompt. As well all eXtended stored procs should be disabled for the sa account.

    The sa account is not the same thing as root in Linux. It can't be deleted, but it's rights can be reduced like any other account in the system.

  104. SQL Server 2000 *does* ask for a password by cygnusx · · Score: 1

    In fact, the SQL Server 2000 install routine routine allows you change the main DBA's login name from the default "sa" to something else, and also allows you to set a password on the same screen.

    Dunno about older versions though.

  105. sa password by rossz · · Score: 2

    I worked at a company who's software required the sql password be set to 'sa'. This was software that dealt with millions of dollars of assets. I pointed this security flaw out several times and was ignored.

    I don't work there anymore.

    --
    -- Will program for bandwidth
  106. SQL Server 2000 DOES make you enter a password. by Kamel+Jockey · · Score: 1

    And if you want to use a blank password, you must forcibly check the box called "Use Blank Password (not recommended)" during your installation.

    --
    In case of fire, do not use elevator. Use water!
  107. MEEPT!!! by Anonymous Coward · · Score: 0

    Meept!!s Super Destruction Emptor
    Mutilate Software, Destroy Everything
    Merrily Strangle Database Experts

    MEEPT!! MEEPT!! MEEPT!!

  108. Use nmap to before you buy something online. by Error27 · · Score: 3, Interesting
    According to the most recent netcraft survey 1 in 10 servers running IIS as a e-commerce website or a secure website still has a back door installed from the Code Red virus.

    I don't know how they got the figures. But Netcraft is traditionally very even handed and reasonable.

    This new virus probably won't help those figures very much.

    So remember... If you buy from a web site running IIS you have a 10% chance that your credit card number is going to be sent directly to a guy who calls himself Hax0rDo0d.

    I don't want to flame MS for this since customers demand that no password be installed by default. But on the other hand theres no need to go over board and buy from hax0red web sites just to be nice.

  109. I'm very happy by fluor2 · · Score: 1

    I run Micros~1 programs
    I'm very happy
    I'm very happy
    'Coz I know when there is a patch out
    even in my Local Newspaper

    You know announcing all this Microsoft patches news is actually making people trust Microsoft. Coz you will be noted when to upgrade.

    I bet you wouldn't post some news every time they find a security hole in MySQL.

  110. sa no password by Anonymous Coward · · Score: 0

    Haha.

  111. Firewalls by NewOrder · · Score: 1

    What the hell are theses SQL servers doing on real internet IPs and not behind a firewall. Moron illreguardless of a password.

    --
    -- Jason...
  112. Passwords by mdonaghy · · Score: 1

    After reading a good portion of this thread, I'd say that this industry is in a serious problem.

    Applications being written that hardcode that no password can exist? Users refusing to enter passwords???

    I'll generally throw a fit if I have to enter a meaningful password & it travels clear text on the wire (eg - billing information, or multi-purpose password tied to Kerberos). Call me paranoid, but this world has non-honest people. I've got a good 50+ passwords in my head from roots, GPG, shell accounts, web accounts, etc. Stuff has to be protected.

    --
    -Michael [Remove two parts of address to mail me]
  113. scott/tiger is just one of many... by polarbear · · Score: 1

    Remember? That crap is still there... One of the oracle manuals lists about 10 or so default accounts and passwords... half of them I have no idea what they are for.

    Thankfully I don't have to do much with oracle on the admin end because I'd have no clue to properly secure the bloated beast.

    --
    --- polarbear
  114. Re:Stupid....Marketing Department by hearingaid · · Score: 2

    There's another reason why sysadmins go for the password-free, no-security approach. It's easier, in the short term, yes, but there's also remote administration. Many sysadmins either (a) refuse to give out passwords to the people who actually use/run the servers, or (b) make those passwords empty so that they can control the machines from somewhere else in the organization without fear of interference from the local users. Going with route (a) is better from a security standpoint, but tends to infuriate the local users; if you leave the password empty, then as long as the local users aren't clued enough to turn it on themselves you're fine.

    --

    my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

  115. Upgrade to 2K? by Not+The+Real+Me · · Score: 1

    It only takes a few seconds to change the sa password is true, and this is not a problem with the source either (it's a DBA problem, and has existed since the Sybase days), however, not everyone can or should upgrade to SQL Server 2000 just because of lousy security practices. M$ would love that, and will probably try and force you to do so but this problem is not a whole lot different than the Code Red worm where users were running an M$ web server and didn't know enough about what they were doing to understand this.

  116. password mania by Anonymous Coward · · Score: 0

    actually many dev servers don't have passwords. as long as they aren't exposed it shouldn't be a problem but most companies leave their dev servers without a password and only set them for testing and production servers.

  117. Re:This is probably more of the same as Code Red e by Tony-A · · Score: 1

    From the XP ad,
    Yes you can.

  118. Beware the small OEM/ISV by John+Murdoch · · Score: 2
    IMHO, anybody who installs database software without setting the password (Heck, installs any software that has passwords without changing the default) and exposes their corporate database to the web is too incompetent to keep their job. I seriously believe that infections like this should start becoming yardsticks that system administrators are hired and fired against.

    I so agree with you. But you'll find unsecured SQL Server databases exposed to the public Internet all the time. I've seen it particularly with Small Business Server (package of Microsoft Back Office products, including SQL Server). A small company buys a package deal from a local vendor--they start hosting their own web pages, using SQL Server, and never even wondering about anything like security.

    There is plenty of fault to go around here: the small business bears some responsibility--they're buying a tool without providing the resources to use the tool appropriately. But there are lots of small vendors out there that fancy themselves as Microsoft OEMs and ISVs, assembling kit computers, doing the basic install with zero configuration (or security updates) and plugging the box into the client's network. This is precisely the market for Microsoft's Small Business Server--a low budget tool, and frequently completely unprotected.

    And sometimes it's the client
    Sometimes the client absolutely insists on shooting himself in the foot. I have a proposal outstanding to a warehousing firm--they're dragging their feet, and part of the reason is that they don't want to pay for two servers. (One is publicly accessible, the other [which has the SQL Server installed] is not.) Why can't we use the same box as the web server and the SQL Server? Well, gosh--because then anybody with SQL Enterprise Manager can connect on port 1433, and keep retrying passwords as long as he wants--the login dialog never times out.

    You heard it here first: this worm will affect a lot more companies that you'd think.

  119. More incompetent than you think by einhverfr · · Score: 2

    What really blows my mind is how many programmers use the blank sa password, so that the SQL administrators have no choice about leaving it blank. OK, so I have taken a few too many support calls of this nature, but really....

    --

    LedgerSMB: Open source Accounting/ERP
  120. Re:Layoff the victims by Anonymous Coward · · Score: 0

    Offtopic? How? I hope I get to metamod you.

  121. Install SP2... by Anonymous Coward · · Score: 0

    ... SP2 makes you enter a password for sa.

    Service Packs = Good.

    duh.

  122. oh for fucks sake by posmon · · Score: 1

    worm needs stored procedures. msde doesn't have them. no worm. fuckhead.

    --

    update comments set karma=-1, reason='offtopic' where sid=26315

  123. security through rarity by frankie · · Score: 1

    First, having a smaller installed base (rarity) is not the same as purposefully hiding insecure practices (obscurity). It may not be any better, but it's completely different. Watch your terminology -- it's like saying that a social engineering attack is a kernel exploit.

    Second, although I wouldn't want to rely on it, security through rarity is a statistical fact. MacOS has about 5% of computer marketshare, but it suffers from much less than 5% of vulnerabilities -- viruses, exploits, root kits, etc. There's a lot of black hats out there who just don't own (or 0WN) Macs.

    1. Re:security through rarity by arkanes · · Score: 1

      Well, if you're hacking MILNET, social engineering can be a colnel exploit :)

  124. Ha ha by Anonymous Coward · · Score: 0

    How about the thief figures that, if you didn't want your house robbed, you would have locked it? =)

  125. Re:Yes, a login by CharlieG · · Score: 2

    Yep, we give them a login, aliased to SA, and SA has a password, but they do have "an" SA password

    --
    -- 73 de KG2V For the Children - RKBA! "You are what you do when it counts" - the Masso
  126. mod this guy up by bill_mcgonigle · · Score: 2

    This post deserves a heap of insightfuls. I used to think that ease-of-use isn't important for linux - before I read this post. I used to think 'Linux will get easy when it's done'. Now I realize that every day it's not easy is another day for micros~1 to increase its marketshare and profitability which it will use to squelch its perceived competition.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)