MySQL user defined function buffer overflow
| mysql-user-defined-function-bo (21737) |
Description:
MySQL is vulnerable to a stack-based buffer overflow caused by a vulnerability in the init_syms() function. A remote authenticated attacker with privileges to create user-defined functions could overflow a buffer and cause MySQL to crash or possibly execute arbitrary code.
*CVSS:
| Base Score: | 4.9 |
| Access Vector: | Local |
| Access Complexity: | Low |
| Authentication: | Not Required |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 3.6 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Privileges
Remedy:
Apply the appropriate patch for this vulnerability, available from the MySQL Web site. See References.
For Debian GNU/Linux:
Refer to DSA-833-2, DSA-831-1, and DSA-829-1 for patch, upgrade, or suggested workaround information. See References.
For OpenPKG:
Refer to OpenPKG Security Advisory OpenPKG-SA-2005.024 for patch, upgrade, or suggested workaround information. See References.
For Ubuntu Linux:
Refer to USN-180-1 and USN-180-2 for patch, upgrade or suggested workaround information. See References.
For Sun Solaris:
Refer to Sun Alert ID: 236703 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Apply the appropriate patch for your system. See References.
References:
- BugTraq Mailing List, Mon Aug 08 2005 - 17:38:02 CDT : Buffer Overflow in MySQL User Defined Functions.
- Full-Disclosure Mailing List, Mon Aug 08 2005 - 17:38:02 CDT: [AppSecInc Advisory MYSQL05-V0002] Buffer Overflow in MySQL User Defined Functions.
- MySQL Web site: MySQL- The world's most popular open source database.
- SHATTER Team Security Alert: MySQL: Buffer Overflow in User Defined Functions .
- Sun Alert ID: 236703: Multiple Security Vulnerabilities May Affect MySQL 4.0.x Bundled With Solaris 10 .
- ASA-2006-083: UnixWare MySQL User-Defined Function Buffer Overflow Vulnerability (SCOSA-2006.18)
- ASA-2006-111: UnixWare MySQL User-Defined Function Buffer Overflow Vulnerability (SCOSA-2006.25)
- ASA-2008-187: Multiple Security Vulnerabilities May Affect MySQL 4.0.x Bundled With Solaris 10 (Sun 236703)
- BID-14509: MySQL User-Defined Function Buffer Overflow Vulnerability
- CVE-2005-2558: Stack-based buffer overflow in the init_syms function in MySQL 4.0 before 4.0.25, 4.1 before 4.1.13, and 5.0 before 5.0.7-beta allows remote authenticated users who can create user-defined functions to execute arbitrary code via a long function_name field.
- DSA-829: mysql -- buffer overflow
- DSA-831: mysql-dfsg -- buffer overflow
- DSA-833: mysql-dfsg-4.1 -- buffer overflow
- MDKSA-2005:163: Updated MySQL packages fix vulnerability
- OpenPKG-SA-2005.024: MySQL
- SA29847: Sun Solaris MySQL Multiple Vulnerabilities
- SUSE-SR:2005:021: SUSE Security Summary Report
Platforms Affected:
- Canonical Ubuntu 4.10
- Canonical Ubuntu 5.04
- Canonical Ubuntu 5.10
- Debian Debian Linux 3.0
- Debian Debian Linux 3.1
- MandrakeSoft Mandrake Linux 10.1 X86_64
- MandrakeSoft Mandrake Linux 10.1
- MandrakeSoft Mandrake Linux LE2005
- MandrakeSoft Mandrake Linux LE2005 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- MySQL MySQL 4.0.25
- MySQL MySQL 4.1.13
- MySQL MySQL 5.0.7 Beta
- OpenPKG OpenPKG 2.4
- OpenPKG OpenPKG 2.5
- OpenPKG OpenPKG CURRENT
- Sun Solaris 10
- Turbolinux Turbolinux 10 Desktop
- Turbolinux Turbolinux 10 F...
- Turbolinux Turbolinux 10 Server
- Turbolinux Turbolinux 10 Server x64 Ed
- Turbolinux Turbolinux 7 Server
- Turbolinux Turbolinux 8 Server
- Turbolinux Turbolinux 8 Workstation
- Turbolinux Turbolinux FUJI
- Turbolinux Turbolinux Home
- Turbolinux Turbolinux Multimedia
- Turbolinux Turbolinux Personal
- Turbolinux Turbolinux Appliance Server 1.0 Hosting Ed
- Turbolinux Turbolinux Appliance Server 1.0 Workgroup Ed
- Turbolinux Turbolinux Appliance Server 2.0
Reported:
Aug 08, 2005
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
