Secunia Logo
 
MySQL Set Password Privilege Escalation Vulnerability
Secunia Advisory: SA9709
Release Date: 2003-09-11
Last Update: 2003-09-16
Popularity: 14,049 views

Critical:
Not critical
Impact: Privilege escalation
Where: Local system
Solution Status: Vendor Patch

Software:MySQL 3.x
MySQL 4.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2003-0780


Description:
A vulnerability has been identified in MySQL, which can be exploited by malicious users to escalate their privileges on a vulnerable system.

The vulnerability is caused due to a boundary error when checking passwords before hashing and storing them in the "User" table. This can be exploited to cause a buffer overflow by supplying a value longer than 16 characters using "set password".

Successful exploitation allows malicious MySQL users with "ALTER" privileges to execute arbitrary code on the system with the privileges of the MySQL server.

The vulnerability has been reported in versions 4.0.14 and 3.0.57. However, prior versions may also be affected.

Solution:
Update to version 4.0.15:
http://www.mysql.com/downloads/mysql-4.0.html

Provided and/or discovered by:
Frank Denis (Jedi/Sector One)

Changelog:
2003-09-16: Updated "Description" section.

Original Advisory:
http://lists.mysql.com/list.php?list=announce&post=168


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

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. Sun Java JDK / JRE Multiple Vulnerabilities // 58 views
2. Zeroboard Multiple Vulnerabilities // 36 views
3. Adobe Acrobat/Reader Multiple Vulnerabilities // 33 views
4. Linksys WRT160N Cross-Site Scripting Vulnerability // 27 views
5. Debian update for flamethrower // 27 views
6. DAHDI "ZT_SPANCONFIG" IOCTL Privilege Escalation Vulnerability // 26 views
7. IBM Rational ClearQuest Multiple Vulnerabilities // 25 views
8. Rumpus Multiple Vulnerabilities // 24 views
9. IBM Rational ClearCase Cross-Site Scripting Vulnerability // 23 views
10. ClamAV "cli_check_jpeg_exploit()" Denial of Service Vulnerability // 23 views