SECURITYINVOKER stored procedure permission escalation vulnerability _ MySQL

Source: Internet
Author: User
SECURITYINVOKER stored procedure permission elevation vulnerability MySQL AB SECURITY INVOKER stored procedure permission elevation vulnerability.

Affected systems:

MySQL AB MySQL 5.1.x <5.1.18.

MySQL AB MySQL 5.0.x <5.0.40.

Unaffected system:

MySQL AB MySQL 5.1.18.

MySQL AB MySQL 5.0.40.

Description:

MySQL is a widely used open-source relational database system with running versions on various platforms.

MySQL has a vulnerability in processing the returned status of SQL SECURITY INVOKER stored procedures. local attackers may exploit this vulnerability to escalate privileges in the database system.

When the SQL SECURITY INVOKER stored procedure returns, the mysql_change_db function in MySQL does not restore the THD: db_access permission, which may allow remote authenticated users to gain higher permissions. This vulnerability occurs only when SQL security invoker is used to define a routine. if SQL SECURITY DEFINER is used, the SECURITY environment can be correctly switched between definer and invoker.

Vendor patch:

MySQL AB

The vendor has released a patch to fix this security problem. Please download it from the vendor's homepage:

Http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.41.tar.gz/from/pick

Http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.18-beta.tar.gz/from/pick

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.