Check Point Reference: | CPAI-2005-208 |
Date Published: | 25 Oct 2009 |
Severity: | High |
Last Updated: | Sunday 25 October, 2009 |
Source: | |
Industry Reference: | CVE-2005-0709 |
Protection Provided by: |
Security Gateway |
Who is Vulnerable? | |
Vulnerability Description | MySQL is an open-source implementation of a database system supporting the SQL (Structured Query Language) database query language. MySQL implements a CREATE FUNCTION command that enables a user to create a user-defined function (UDF). There exists a vulnerability in the CREATE FUNCTION command of MySQL due to insufficient input validation. A remote authenticated user with INSERT and DELETE privileges on the MySQL administrative database can exploit this vulnerability to execute arbitrary code with MySQL privileges by using CREATE FUNCTION to access libc calls on the targeted system. In a simple attack exploiting this vulnerability, the MySQL process serving the connection terminates. Other MySQL processes are not affected directly by the attack. In the case of a more sophisticated attack, arbitrary code can be executed with the privileges of the account running MySQL. The behaviour of the target system will be dependent on the malicious code. |
This protection will detect and block attempts to exploit this vulnerability
In order for the protection to be activated, update your Security Gateway product to the latest IPS update. For information on how to update IPS, go to SBP-2006-05, click on Protection tab and select the version of your choice.
This protection's log will contain the following information:
Attack Name: MySQL Protection Violation.
Attack Information: MySQL CREATE FUNCTION libc arbitrary code execution