Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:13934
HistoryAug 17, 2006 - 12:00 a.m.

[SA21506] MySQL Create Database Bypass and Privilege Escalation

2006-08-1700:00:00
vulners.com
7

Hardcore Disassembler / Reverse Engineer Wanted!

Want to work with IDA and BinDiff?
Want to write PoC's and Exploits?

Your nationality is not important.
We will get you a work permit, find an apartment, and offer a
relocation compensation package.

http://secunia.com/hardcore_disassembler_and_reverse_engineer/


TITLE:
MySQL Create Database Bypass and Privilege Escalation

SECUNIA ADVISORY ID:
SA21506

VERIFY ADVISORY:
http://secunia.com/advisories/21506/

CRITICAL:
Not critical

IMPACT:
Security Bypass, Privilege escalation

WHERE:
>From local network

SOFTWARE:
MySQL 5.x
http://secunia.com/product/8355/

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

ORIGINAL ADVISORY:
MySQL:
http://bugs.mysql.com/bug.php?id=17647
http://bugs.mysql.com/bug.php?id=18630


About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.