Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-3884

Buffer overflow in acl_get()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 5.5.28, 5.3.10, 5.2.12, 5.1.62
    • 5.5.28a, 5.3.11, 5.2.13, 5.1.66
    • None
    • None

    Description

      MySQL bug 13889741 (which is CVE-2012-3163) was, apparently, not completely fixed. A very similar test case finds new, much more dangerous, buffer overflows in acl_get() and check_grant_db_routine(). They allow to overwrite the buffer by an arbitrary number of bytes, not just by one as in bug 13889741. One can trivially put a shellcode there.

      To exploit this one needs a valid low-privileged user account in the MariaDB (or MySQL) server.

      This new vulnerability is registered as CVE-2012-5611
      Reported upstream as http://bugs.mysql.com/bug.php?id=67685
      Public disclosure: http://seclists.org/fulldisclosure/2012/Dec/4

      Attachments

        Activity

          People

            serg Sergei Golubchik
            serg Sergei Golubchik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.