Check Point Reference: | CPAI-2005-280 |
Date Published: | 26 Nov 2009 |
Severity: | Medium |
Last Updated: | Thursday 26 November, 2009 |
Source: | |
Industry Reference: | CVE-2005-2558 |
Protection Provided by: |
Security Gateway |
Who is Vulnerable? | |
Vulnerability Description | MySQL is an open-source implementation of a relational database management system. MySQL supports the SQL (Structured Query Language) database query language. To extend the functionality of SQL, MySQL provides a mechanism to call C/C++ functions in external binary libraries. This mechanism is known as User-defined Function (UDF). There exists a buffer overflow vulnerability in MySQL when creating user defined functions. The vulnerability is caused by improper boundary handling when processing CREATE FUNCTION statements. A remote attacker with certain privilege on the MySQL server can exploit the vulnerability to cause denial of service or execute arbitrary code with MySQL privileges. In a simple attack case aimed at creating a denial of service condition, the affected MySQL Daemon will terminate. In a more sophisticated attack scenario, where the malicious user is successful in injecting and executing supplied code, the behaviour of the system is dependent on the nature the injected code. Any code injected into the vulnerable component would execute in the security context of the logged in user. |
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 init_syms buffer overflow