Slashdot Mirror


MariaDB and MySQL Authentication Bypass Exploit

JohnBert writes "A security bug in MariaDB and MySQL has been revealed, allowing a known username and password to access the master user table of a MySQL server and dump it into a locally-stored file. By using a tool like John the Ripper, this file can be easily cracked to reveal text passwords that can provide further access. By committing a threaded brute-force module that abuses the authentication bypass flaw to automatically dump the password database, you can access the database using the cracked password hashes even if the authentication bypass vulnerability is fixed."

4 of 73 comments (clear)

  1. Could have told us what it is by Anonymous Coward · · Score: 5, Informative

    Basically the password comparison routine uses a bad assumption about memcmp. This assumption fails with a probability of about 1 in 256 on some systems. You just use any random password, try a couple hundred times to log in and eventually it works. Yes, it is that bad.

    1. Re:Could have told us what it is by Anonymous Coward · · Score: 5, Insightful

      They are casting the result of int strcmp to my_bool, which they have defined as typedef char my_bool.

      Since int is bigger than char, you have really lots of ints than can be 0 when casted to char.

  2. Re:holy motherfucking cheetah by Anonymous Coward · · Score: 5, Insightful

    And that is why we use fail2ban.

  3. Re:holy motherfucking cheetah by hairyfeet · · Score: 5, Informative

    Oh c'mon now, where else can you get such nasty venom? You just gots to love stuff like this where he says ARM is nothing but "embedded crap" How can you NOT like such an arrogant little self important shit? hell he reminds me of little Mickey 500 accounts here, all he needs to do is add "You are pathetic" at the end of each post and he'd have it down pat!

    --
    ACs don't waste your time replying, your posts are never seen by me.