MySQL Crafted IF Clause Divide-by-zero NULL Dereference DoS

This script is Copyright (C) 2007-2014 Tenable Network Security, Inc.


Synopsis :

The remote database server is prone to a denial of service attack.

Description :

The version of MySQL installed on the remote host reportedly is
affected by a denial of service vulnerability that may be triggered
with a specially crafted IF query. An attacker who can execute
arbitrary SELECT statements may be able to leverage this issue to
crash the affected service.

See also :

http://bugs.mysql.com/bug.php?id=27513
http://dev.mysql.com/doc/refman/5.0/en/news-5-0-41.html
http://dev.mysql.com/doc/refman/5.1/en/news-5-1-18.html
http://dev.mysql.com/doc/refman/5.0/en/news-5-0-40.html

Solution :

Upgrade to MySQL Community Server 5.0.41 / 5.1.18 / Enterprise Server
5.0.40 or later.

Risk factor :

Medium / CVSS Base Score : 4.0
(CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:P)
CVSS Temporal Score : 3.3
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Databases

Nessus Plugin ID: 25198 ()

Bugtraq ID: 23911

CVE ID: CVE-2007-2583
CVE-2007-2692