Secunia - Stay Secure
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


MySQL Create Database Bypass and Privilege Escalation Advisory Available in Danish 

Secunia Advisory: SA21506  
Release Date: 2006-08-17
Last Update: 2006-10-05

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

Software:MySQL 5.x

CVE reference:CVE-2006-4226 (Secunia mirror)
CVE-2006-4227 (Secunia mirror)



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



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.

12 Related Secunia Security Advisories, displaying 10

1. MySQL MyISAM Table Privilege Check Bypass
2. MySQL Multiple Vulnerabilities
3. MySQL Security Issue and Two Vulnerabilities
4. MySQL System Table Information Overwrite Vulnerability
5. MySQL InnoDB Denial of Service Vulnerability
6. MySQL Denial of Service Vulnerability and Multiple Security Issues
7. MySQL IF Query Denial of Service Vulnerability
8. MySQL Single-Row Subselect and INFORMATION_SCHEMA Denial of Service
9. MySQL MERGE Table Privilege Revoke Bypass
10. MySQL Multibyte Encoding SQL Injection Vulnerability

Show all related advisories


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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
phpJobScheduler "installed_conf ig_file" File Inclusion Vulnerabilities
2.
Sun Solaris Kernel Covert Channel Security Bypass
3.
HP TCP/IP Services for OpenVMS Finger Format String Vulnerability
4.
phpMyRealty "price_max" SQL Injection Vulnerability
5.
Novell eDirectory Multiple Vulnerabilities
6.
dotProject SQL Injection and Cross-Site Scripting
7.
Acoustica Mixcraft ".mx4" File Processing Buffer Overflow
8.
Slackware update for amarok
9.
Adium MSN SLP Message Integer Overflow Vulnerabilities
10.
OpenOffice "rtl_allocateMe mory()" Truncation Vulnerability





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia