Check Point Reference: | CPAI-2008-395 |
Date Published: | 10 Nov 2009 |
Severity: | Critical |
Last Updated: | Tuesday 20 December, 2011 |
Source: | |
Industry Reference: | CVE-2008-0226 |
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. The database product allows remote network connections from client applications over the proprietary MySQL network protocol. MySQL Server listens on TCP port 3306 by default. There exists a buffer overflow vulnerability in MySQL. The flaw is due to boundary error when handling crafted client Hello message when using yaSSL for secure connection. A remote unauthenticated attacker may exploit the vulnerability to inject and execute arbitrary code on the target with privileges of MySQL service. In the case where code injection was unsuccessful, the affected service will terminate. Note that on Linux and Unix-based systems, the service will be restarted immediately, whereas on Windows-based systems, this might not be the case by default. Regardless, all transactions and connections present at the time of termination will be aborted. In the case where code inject and execution is successful, the behaviour of the target system will depend on the nature of the injected code. On Windows-based systems, the injected code will run in the security context of the System user, which will cause the system compromise. On Linux and Unix-based systems, the injected code will run with limited privileges. |
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 yaSSL SSL Hello message buffer overflow