Secunia Logo
Netsikker nu! 2008
 
MySQL Create Database Bypass and Privilege Escalation
Secunia Advisory: SA21506
Release Date: 2006-08-17
Last Update: 2006-10-05
Popularity: 12,983 views

Critical:
Not critical
Impact: Security Bypass
Privilege escalation
Where: From local network
Solution Status: Vendor Workaround

Software:MySQL 5.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-4226
CVE-2006-4227


Description:
Two vulnerabilities have been reported in MySQL, which can be exploited by malicious users to bypass certain security restrictions and perform certain actions with escalated privileges.

1) A user, who has been granted access to a certain database but not privileges to create additional databases, can create a database where the name differs only by the case of one or more letters from the database which the user has access to.

Successful exploitation requires that MySQL runs on a system with a file system supporting case-sensitive file names.

2) An error caused due to arguments to suid routines being calculated in an incorrect security context can be exploited to execute arbitrary DML statements with the privileges of the routine's definer via a stored routine.

Successful exploitation requires that the user has "EXECUTE" privileges on the stored routine.

Solution:
The vulnerabilities have been fixed in the CVS repository and will also be fixed in the upcoming 5.0.25 version.

Provided and/or discovered by:
1) Michal Prokopiuk
2) Dmitri Lenev

Changelog:
2006-08-25: Added CVE reference.
2006-10-05: Added CVE reference.

Original Advisory:
MySQL:
http://bugs.mysql.com/bug.php?id=17647
http://bugs.mysql.com/bug.php?id=18630


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Today
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 199 views
Debian update for php5
Moderately // 145 views
Atarone CMS Multiple Vulnerabilities
Moderately // 183 views
Debian update for squid
Less // 195 views
SUSE update for mercurial
Moderately // 242 views
SUSE update for openssh
Less // 186 views
Fedora update for mediawiki

Solutions | More...  


Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Debian update for php5 // 57 views
2. SUSE update for openssh // 48 views
3. WMNews Cross-Site Scripting Vulnerabilities // 46 views
4. H-Sphere webshell4 Cross-Site Scripting and Request Forgery // 45 views
5. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 41 views
6. SUSE update for mercurial // 32 views
7. Fedora update for mediawiki // 31 views
8. HP-UX NFS/ONCplus Denial of Service Vulnerability // 30 views
9. CMME Information Disclosure Security Issues // 30 views
10. Atarone CMS Multiple Vulnerabilities // 30 views