Slashdot Mirror


Mysql.com Hacked, Made To Serve Malware

Orome1 writes "Mysql.com was compromised today, redirecting visitors to a page serving malware. Security firm Armorize detected the compromise through its website malware monitoring platform HackAlert, and has analyzed how the compromise of the site's visitors unfolded. The mysql.com website was injected with a script that generates an iFrame redirecting the visitors to a page where the BlackHole exploit pack is hosted." According to Brian Krebs, the exploit used to compromise the site was being shopped around last week for $3,000.

81 comments

  1. I, for one, by Anonymous Coward · · Score: 1

    Blame Oracle.

    1. Re:I, for one, by Trilkin · · Score: 1

      Nah, it's just the Russians again. It isn't Anonymous trying to make it a point this time around, unfortunately.

      --
      Nobody cares what the CAPTCHA for your post was.
    2. Re:I, for one, by Anonymous Coward · · Score: 3, Insightful

      I for one blame poor security.

    3. Re:I, for one, by Anonymous Coward · · Score: 0

      So where is the database you wrote then, hot shot?

    4. Re:I, for one, by Anonymous Coward · · Score: 1

      Dude, you really have never heard of LBD? (Larry Bagina Database)

    5. Re:I, for one, by Anonymous Coward · · Score: 0

      I always thought that LBD was Larry Bagina Disease. I guess, subconsciously, I was afraid to know more. Database, huh? It's not contagious, is it?

    6. Re:I, for one, by Anonymous Coward · · Score: 0

      It was some Aussie "researcher"

    7. Re:I, for one, by Anonymous Coward · · Score: 0

      Database, huh? It's not contagious, is it?

      Apparently not, no one is using it.

    8. Re:I, for one, by Anonymous Coward · · Score: 0

      What do you mean just the Russians? Some of my x-colleagues are working in Oracle. They remotely write code for Oracle department in St. Petersburg. And it's russian hacker and russian reseacher in this story: http://blog.trendmicro.com/underground-radar-possible-compromise-of-mysql-com-and-its-subdomains/

      I would rather say it's Fedora again. (FC11 unsupported release.) All recent hacks were made on Fedora. It's an especially bad distro for enterprise for two reasons: the last versions are too unstable, the older versions have to short support period.

    9. Re:I, for one, by JonJ · · Score: 2

      The fuck are you doing running Fedora in a enterprise environment?

      --
      -- Linux user #369862
  2. Wait, let me get this straight by blair1q · · Score: 2, Insightful

    Someone, a week ago, before anything bad actually happened, was openly selling the fact that mysql was cracked, and anyone seeing the ad knew it, but HackAlert is taking credit for "discovering" the cracking after something bad actually happened?

    How about if HackAlert, instead of crawling the web looking for whatever pattern of deviation defines its detection of a hack, crawls the blackhat markets for ads for open access to presumed secure sites.

    If they aren't doing that already, and crocking their detection speed...

  3. [generic topic] by Anonymous Coward · · Score: 4, Funny

    little Bobby Tables is disappointed.

  4. No user interaction by Synerg1y · · Score: 3, Interesting

    If the website redirects to an iframe (I thought these got phased out in like HTML4???) and tries to install malware, and there is no user interaction involved... what exactly is the browser doing?

    Being really stupid...
    http://antivirus.about.com/od/virusdescriptions/p/Blackhole-Exploit-Kit.htm

    On that note, noscript, greasemonkey w/ script, and any addon that allows the blocking of the iframe tag should keep you safe, but then again how often do you visit mysql.com? :)

    1. Re:No user interaction by Synerg1y · · Score: 1

      Forgot to mention TOR blocks these kinds of redirects.

    2. Re:No user interaction by LordLucless · · Score: 2

      If the website redirects to an iframe (I thought these got phased out in like HTML4???)

      You're thinking of framesets. Iframes are used far, far more now in conjunction with AJAXy stuff and embedding third-party crap than they were last decade.

      --
      Just because you're paranoid doesn't mean there isn't an invisible demon about to eat your face
  5. More details on the exploit specifics? by ThisIsSaei · · Score: 1

    If SQLi took down MySQL there's a pun about "hackception" here somewhere.

    1. Re:More details on the exploit specifics? by VJmes · · Score: 1

      We need to go deeper...

      Seriously though, this looks like the work of someone who found the root login prompt and then proceeded to guess/bute-force the password.

    2. Re:More details on the exploit specifics? by Robert+Zenz · · Score: 1
  6. Already Fixed by InvisibleSoul · · Score: 3, Informative
    1. Re:Already Fixed by Anonymous Coward · · Score: 0

      PDT. The Pacific time zone is all still on Daylight Time.

    2. Re:Already Fixed by sphix42 · · Score: 1

      Yea, as good an idea as it is to send more traffic to a hacked site, I appreciate /. handling. And since it's fixed and after 5 on the east coast that means a lot of dumb users won't deliberately go to a hacked site. That isn't to say the east coast is sub-prime, there's just a higher density.

  7. lesson learned, don't expose mysql over the intern by Anonymous Coward · · Score: 0

    I can only assume that mysql.com was running whatever raw sql queries the browser was submitting, but did you know that you can actually rewrite these to include a semicolon (terminating the query) and then whatever new query you want? Obviously, you can't rely on nobody thinking to do this, and the fact that mysql was hacked is just evidence that you should not expose mysql over the Internet.

  8. Watch the video on the page, informative by mrflash818 · · Score: 1

    I watched the video on the page, showing the step-by-step of the exploit working, and the trace of what it did.

    Informative and interesting.

    Seems if a person did _not_ have java enabled in their browser, then the attack would have failed.

    --
    Uh, Linux geek since 1999.
    1. Re:Watch the video on the page, informative by mclearn · · Score: 4, Informative

      I believe it was a multi-tiered attack in that Java, Flash, and PDF exploits were all tried. What is shown in the video is that the Java attack was successful.

    2. Re:Watch the video on the page, informative by rodgster · · Score: 1

      A while back, I decided I don't need java, adobe acrobat or flash on my work machines (too much attack surface).

      --
      Who will guard the guards?
    3. Re:Watch the video on the page, informative by Gadget_Guy · · Score: 2

      A while back, I decided I don't need java, adobe acrobat or flash on my work machines (too much attack surface).

      My philosophy is that you disable/uninstall everything and the switch it back on when you need it. Sometimes it is a pain, but it is better than browsing the net with a big "kick me" sign on your virtual back.

      I found it strange that the Krebs on Security site linked in the summary would state that we should avoid using Java for security reasons, but then assume that we would be able to view an embedded youtube video on his page. Surely anyone interested in security would just link to the youtube page rather than hope we all allow flash to run on unknown websites.

      If I hacked a website, and knew that it would eventually be exposed, I would announce the infection myself with a helpful flash video that was also a virus exploit. You could double the infection rate with such a scam.

    4. Re:Watch the video on the page, informative by Anonymous Coward · · Score: 0

      He says to avoid using java. You don't need java to view the youtube video, it uses javascript. Apples and oranges.

    5. Re:Watch the video on the page, informative by Gadget_Guy · · Score: 2

      You don't need java to view the youtube video, it uses javascript.

      It actually required Adobe Flash in my browser. All I got was a black square because I locked down my security settings to only allow Flash on whitelisted sites.

      I was not suggesting that YouTube uses Java, but that his comment was an indication that we should eliminate use of software with known security problems and that expecting his audience to run plug-ins on his site went against his advice. I should have been more clear about that point.

      All he needed to do was include a link to the YouTube page along with the embedded video so that people who care about security could see the video without having to view the source to grab the address.

    6. Re:Watch the video on the page, informative by Gutboy · · Score: 3

      Good thing HTML5 won't need all those things to run code on your machine.

    7. Re:Watch the video on the page, informative by ttong · · Score: 1

      That's odd, I was able to view the video in perfect webm just fine without having anything Adobe installed.

      http://www.youtube.com/html5

      Also, if you're on MS-Windows and using Oracle Java JRE, you can remove webstart and the netscape/msie plugins after install. To check, visit about:plugins or Plugincheck Make sure jnlp files are opened with notepad and jar files with an archiver (or anything except "java.exe -jar"). Any programs written in Java you've installed will still work.

    8. Re:Watch the video on the page, informative by lamber45 · · Score: 1
      If you can do that, more power to you. In my case, I need the Java plugin for a number of core work functions:
      • The corporate expense-reporting application
      • The desktop/webcam/slide-sharing portion of the corporate standard audio/video-conferencing platform
      • The corporate standard e-learning platform (which was used to deliver "data security and privacy" training 4Q last year)
      • The download-assistant at the internal site where I obtain official copies of our software products (customers use a different interface to the same site, with the same Java applet to download "images")
      • The drag-and-drop-to-upload function of one of our document-management products

      My employer is a Java licensee, we have our own VM, I would hope that makes our Java plugin less vulnerable.

      I might be able to get away with disabling the Acrobat plugin, but I need some sort of PDF viewer because a lot of the documents I have to read are only available to me in PDF. I might be able to get away with disabling Flash, although other divisions' salesmen have been publishing some videos they want me to watch on YouTube, and the old version of a system I'm helping write a replacement for uses Flash on its front page. (You didn't mention QuickTime, but the above-mentioned audio-video-conferencing platform exports recorded conferences as either QuickTime or Windows Media, which means I need a player for at least one of those formats.)

      I guess I could run a pluginless browser (say Konqueror?) in a low-privilege account in a VM, or on a remote server, and use only that to access third-party vendor and customer websites... but Java was supposed to solve the "running code in a browser" problem when it first came out, right?

      Really this is a black mark for Oracle, even though they didn't write the MySQL database: they've been owners of that website for over a year now, and they were selling "unbreakable Linux" way before that; what kind of system-administration process is in place that allows an unknown party root access to one of a company's high-profile front pages?

    9. Re:Watch the video on the page, informative by Anonymous Coward · · Score: 0

      I'd assume someone as security conscious as you would have already opted in to the html5 trial on youtube.

    10. Re:Watch the video on the page, informative by Gadget_Guy · · Score: 1

      I'd assume someone as security conscious as you would have already opted in to the html5 trial on youtube.

      Actually, I consider HTML5 video to be an immature and untrusted entity. The authors of browser plug-ins could not write secure code, so there is no reason that browser writers should not give us exploitable bugs too. Just because the video is part of the HTML language does not instantly make it safe.

      It may prove to be fine eventually, but it is still something that would not instantly trust to every single website I happen to come across. Besides, I prefer my webpages to stay still.

  9. Re:s/hacked/cracked/ by afabbro · · Score: 1

    All three members of the FSF appreciate the correction.

    --
    Advice: on VPS providers
  10. Re:Browser Java Plugin by logjon · · Score: 1

    If you've disabled plugins, then how would you be compromised by that plugin?

    --
    The stories and info posted here are artistic works of fiction and falsehood.
    Only fools would take it as fact.
  11. Nobody said MySQL was cracked by MacGyver2210 · · Score: 3, Informative

    Someone was shopping around the exploit used to hack the company's website - I am sure it had little to do with MySQL software unless it was an injection that got them access to change the site.

    --
    If the only way you can accept an assertion is by faith, then you are conceding that it can't be taken on its own merits
    1. Re:Nobody said MySQL was cracked by EdIII · · Score: 1

      I am sure it had little to do with MySQL software unless it was an injection that got them access to change the site

      No, it wasn't anything to do with a SQL injection attack. Levels of Irony that high actually warp space/time and I am sure some scientists would have registered it somewhere and reported it.

    2. Re:Nobody said MySQL was cracked by blair1q · · Score: 1

      From the bottom link I got that the ad mentioned mysql. Maybe I misread it.

      Nope.

      The seller, ominously using the nickname “sourcec0de,” points out that mysql.com is a prime piece of real estate for anyone looking to plant an exploit kit: It boasts nearly 12 million visitors per month — almost 400,000 per day — and is ranked the 649th most-visited site by Alexa (Alexa currently rates it at 637).

      He offered to sell remote access to the first person who paid him at least USD $3,000, via the site’s escrow service, which guarantees that both parties are satisfied with the transaction before releasing the funds.

      He'd opened that site up and was selling the access to it.

      My question is, why is mysql.com's traffic that high?

  12. oh great by Anonymous Coward · · Score: 0

    Now instead of serving malware directly it redirects to a site serving malware.

  13. Obligation by Fnord666 · · Score: 4, Insightful

    The disclosure caught my eye because just a few days ago I saw evidence that administrative access to mysql.com was being sold in the hacker underground for just $3,000.

    At what point should Mr. Krebs have felt some sort of obligation to inform the owners of mysql.com that their root login was being actively shopped?

    --
    'The tyrant will always find pretext for his tyranny.' - Aesop's Fables
    1. Re:Obligation by Qzukk · · Score: 1

      When mysql.com's admins offer to pay him $3050 so he'd make a profit?

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
    2. Re:Obligation by Anonymous Coward · · Score: 4, Interesting

      As someone who's done ... even... gentle research. I hate to say...I resent the implication of your comment.

      It's mysql, so they aren't exactly a bunch of clowns... but the moment you tell people--you get suspicion thrown on you. If you tell them anonymously, you get *even more* suspicion thrown on you. For further examples, you need only look at the classic tuttle/centos story...
      http://www.theregister.co.uk/2006/03/24/tuttle_centos/ . Now imagine what happens if you /actually/ report a real issue.

      As somebody who feels *fortunate* to have not been investigated in the past due to no small measure of proxy use--I have to say...by asking Krebbs to disclose this, you're asking him to accept undue risk. The last time I reported a /large/ issue with a private server, the server I used was scanned within 50 minutes from IP's originating within the FBI. Sorry... fuck you all--there's no free advice given ever again.

      Quite frankly, other people's problems aren't our job. They nearly aren't our business either save when they lie and advertise they're safe and there's a client curious, or we're looking to spot something... At which point they can pony up for the advice like every other consumer in the market.

      TLDR: There is no obligation. It's at best a generous act of good will that most people really don't deserve anyway.

    3. Re:Obligation by Anonymous Coward · · Score: 0, Insightful

      So "two wrongs make a right" is your motto? Amazing. Because "some people" have been asses at some points in time, your response is to be an ass to everyone else as well? Yay for perpetuating the problem...

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

      And that, kids, is what you call a dick.

    5. Re:Obligation by Anonymous Coward · · Score: 0

      You are asking a reporter (that is in no danger) to report a crime in progress - when said reporter has plans to profit from a story that they plan to write on said crime later?

      Yes. Hellaciously run on...

      Isn't it bit naive of you to think that someone would report a felony instead of acting to profit off of it?

    6. Re:Obligation by Anonymous Coward · · Score: 0

      Gee - I can't imagine why you would ever have suspicion thrown over you.

      TLDR: There is no obligation. It's at best a generous act of good will that most people really don't deserve anyway.

      Why does that sound to me like "she fucking deserved it - going out dressed like that?!"

    7. Re:Obligation by mug+funky · · Score: 1

      no, it's like a passer-by telling someone leaving their car that the door is unlocked, then getting stabbed by that person.

      it's gotta be a car analogy.

      also, don't confuse rape with software. it's sorta like Godwinning.

    8. Re:Obligation by Anonymous Coward · · Score: 0

      If inaction is a wrong, then I guess two wrongs do make a right for the person trying to avoid the probability of further incoming wrong.

      At least, as far as myself and any decent lawyer might be concerned.

      Why should I potentially incur tens or hundreds of thousands of dollars in legal fees to protect someone else from their mistakes? There is no good samaritan protection in cyber-space.

      Why would I want to risk all my home or business computers getting confiscated and slowly searched just to point out to somebody that they're serving cleverly disguised malware in their adfarm when there's /no/ personal benefit and /everything/ to lose? Or am I going to get my laptop and backups back when I complain it will make two contracts late...?

      So yes, because some people are asses, my response is to look out for myself first.

      It isn't dickishness--it's a rational, reasoned, measured response to the problems inherent in the criminal and civil systems.

      Is it a bit mercenary of me to say they can pony up like everybody else... absolutely. But people have known about security issues for the past twenty years. I'm not doing any of my colleagues any favors by giving services away for free. Hell, there's off-the-shelf scanners that could've caught that. Somewhere, there's probably a cloud service that costs less than $30 a month.

      While I have met hundreds of people that don't know how to lock down a network (much less an entire application stack)--I've only met maybe a dozen people that aren't *cheap*. And most of them are time frugal.

      If you think that's the equivalent of corporate slut-shaming, you miss the point. Given most victims tend to be cheap and not wanting to spend time--they can very well decide that the most expeditious route is a legal fishing expedition to try to get insurance to cover an incident with their newfound likely candidate. Even if nothing comes of it, they still stand to gain in publicity by immediately announcing a suspect and positive news to keep stock from dropping... and when charges are dropped two months later, the media no longer remembers. One more reason to /never/ deal with the mega corps--throwing 100k in lawyers at you is cheaper than taking a $0.25 share price hit if they don't like an announcement you posted.

      It's not the MySQL had it coming. It's that Krebbs made the right call in modern society by choosing to mitigate his exposure to very possible hostile reactions.

      You want to change my attitude...keep working to change the world. Maybe someday I'll feel safe being helpful again. Until then--stay off my lawn.

    9. Re:Obligation by Anonymous Coward · · Score: 0

      Two wrongs don't ever make a right. You need three lefts to make a right.

    10. Re:Obligation by Anonymous Coward · · Score: 0

      More like fool me once shame on you...

    11. Re:Obligation by Anonymous Coward · · Score: 0

      Just because you've watched a few episodes of NCIS doesn't mean you sound credible when talking about infosec.

      In other words: stfu.

    12. Re:Obligation by Anonymous Coward · · Score: 0

      It's mysql, so they aren't exactly a bunch of clowns...

      Excuse me?

    13. Re:Obligation by thunderclap · · Score: 1

      No, reporting the issue gets you assumed to be the problem and scanned by the FBI.

    14. Re:Obligation by quacking+duck · · Score: 1

      More like an adult male passerby noticing a young girl playing near a dangerously fast-flowing river, but choosing not to intervene because the risk of being accused of a child molester or attempted abductor is too great (tell her it's dangerous and to move away from the river, and she'd run off screaming to her distant parents that there's a big bad man trying to kidnap her). After that, good luck proving that she *would* have fallen in if he hadn't intervened.

      Sadly, this exact scenario happened in the UK a few years back--the girl fell in and drowned shortly after the man walked away. And the guy got roasted for not intervening. Damned if you do, damned if you don't.

    15. Re:Obligation by Anonymous Coward · · Score: 0

      Umm, while trying to be generous you are brought up under investigation, have your name drug through the mud publicly (making it hard to find a job in the future), and will get to possibly experience our wonderful pleabargaining system we have the US? You live in a fantasy world where "good" outweighs whatever the cost is. Meanwhile in the real world, we have wised up and stopped being suckers. The GP is right.

    16. Re:Obligation by Anonymous Coward · · Score: 0

      Man, I really hope you're not one of my friends...

    17. Re:Obligation by Anonymous Coward · · Score: 0

      Forget to take your meds today "Captain Paranoid"? Yes obviously, what with your conspiracy theorist viewpoint. Now go take your meds and shut the fuck up.

    18. Re:Obligation by Anonymous Coward · · Score: 0

      Forget to take your meds today "Captain Paranoid"? Yes obviously, what with your conspiracy theorist viewpoint.

      Oh shit, you're right! Now that I've taken my meds, I see the truth: he's not an asshole who didn't warn the site admins because he couldn't make a quick buck from it, he's just an asshole who didn't warn the admins for no reason at all.

      And yes, I did see your little rant about how you wouldn't do anything because the men in black will probe your proxies seconds after you notify someone about an exploit. Thanks for letting me bum a few pills off you.

  14. One thing for sure... by Tasha26 · · Score: 1

    I ain't taking any security certification from them... the MySQL 1&2 was enough.

  15. inevitable by sjames · · Score: 1

    It was really just a matter of time before Oracle started trying to force MySQL users to move to their expensive proprietary solutions. It just happened a bit....What's that? ........

    Oh, NEVERMIND!

    1. Re:inevitable by lennier1 · · Score: 1

      It was really just a matter of time before Oracle started trying to force MySQL users to move to their expensive proprietary solutions.

      The one where you need to add additional objects to the database just to auto-increment a fucking primary key?

  16. MySQL hack... by InitHello · · Score: 3, Funny

    I would laugh (hard) if the exploit involved SQL injection.

    --
    If I hadn't been modded down, you'd be reading this right now.
    1. Re:MySQL hack... by styrotech · · Score: 1

      Nah, that would be more appropriate if (just for example) Hibernates website was exploited via SQL injection.

      SQL injection isn't generally regarded as a database flaw.

    2. Re:MySQL hack... by Bill,+Shooter+of+Bul · · Score: 1

      Yeah, but you'd think a database company with SQL in its name would be aware of common intrusion attempts using SQL.

      --
      Well.. maybe. Or Maybe not. But Definitely not sort of.
    3. Re:MySQL hack... by lennier · · Score: 1

      SQL injection isn't generally regarded as a database flaw.

      It should be. The design of SQL itself promotes injection attacks. A decently secure database wouldn't support plain-text SQL query strings as an API.

      Even a simple S-expression translation of SQL using parentheses instead of quotes would be more secure, because you could verify that the parens balanced before accepting an expression. SQL's syntax is an artifact of the 1970s COBOL-era idea that "if a mathematical expression sort of looks halfway like English, it will be simple to use". In fact, it isn't, and all we got was a half-baked syntax that isn't either mathematically elegant or linguistically intuitive.

      If we keep propping up broken interfaces, like an abused spouse making apologies for the drunken rages, we'll keep getting hurt. It's time we did the right thing and moved on.

      --
      You are not a brain: http://books.google.com/books?id=2oV61CeDx-YC
  17. mysql.net by crutchy · · Score: 1

    ... has been hacked by Amazon

    slashdot frenzy erupts in 3... 2... 1...

  18. Re:s/hacked/cracked/ by Anonymous Coward · · Score: 0

    That's GNU/Cracked, thank you.

  19. Re:Just like before by slydder · · Score: 0

    Sorry, did I miss something here? Could you please elaborate on your claim? I would be most interested to learn how MySQL does not qualify as an SQL RDBMS.

    And as for your link. It even states that MySQL is one of the actual SQL RDBMS' available and not a noSQL sysstem.

  20. HTML5, active content by Anonymous Coward · · Score: 0

    You are so damn right that it ain't funny anymore.

    Why is it that this W3C thing is pushing active content upon users, in spite of knowing better.

    "Yes, yes, we have a sandbox, therefore we are secure!" is the stupid phrase I'm tired of hearing since the first days of the Java Virtual Machine.

    Sandbox, my ass.

  21. oF COURSE IT IS wIdDoZE MALWARE by Anonymous Coward · · Score: 0

    Just quit using Mickey$ofts CRAPWARE.

  22. Re:lesson learned, don't expose mysql over the int by thunderclap · · Score: 1

    just wanted to make a dirty joke about exposing mysql over the intern but it was lost.

  23. MySQL hack by m1ndcrash · · Score: 0

    Truth be told it has started with a SQL-injection a few months ago and there was a web-shell available in semi-private access. Just recently the sourcec0de (newly registered member of an underground forum) posted that he sells the root shell for mysql.com. The kernel was pwned with a local exploit. The attacker also claimed that he modified the back-ups which I don't really believe.
    Now, that fool who spent $3k and put BlackHole exploit kit directly (well with one redirect) seems to have no understanding of how to convert traffic or what to do with such a valuable item as mysql.com. (next time put backdoors into sources and use TDS before using an exploit kit, n00b)
    I mean come on, the malware wasn't FUD (4/34). On a website with this amount of traffic it will be detected (and it was) within hours if not minuets.
    This situation shows again that sysadmins shouldn't be lazy and do their jobs... http://www.habrastorage.com/images/msqlrootsa.png screenshot of the forum post.

  24. Merger by Anonymous Coward · · Score: 0

    Mysql serving malware, I don't see how's that news.
    The Oracle merger is months old already...

  25. Moncler Sale by mocnler+jacket+ · · Score: 0

    He’s no longer a fetus. Republicans only care about you before you’re born. http://www.coolmonclerclothing.com/