Oracle Linux 5 : mod_auth_mysql (ELSA-2009-0259)

This script is Copyright (C) 2013 Tenable Network Security, Inc.


Synopsis :

The remote Oracle Linux host is missing a security update.

Description :

From Red Hat Security Advisory 2009:0259 :

An updated mod_auth_mysql package to correct a security issue is now
available for Red Hat Enterprise Linux 5.

This update has been rated as having moderate security impact by the
Red Hat Security Response Team.

The mod_auth_mysql package includes an extension module for the Apache
HTTP Server which can be used to implement web user authentication
against a MySQL database.

A flaw was found in the way mod_auth_mysql escaped certain
multibyte-encoded strings. If mod_auth_mysql was configured to use a
multibyte character set that allowed a backslash '\' as part of the
character encodings, a remote attacker could inject arbitrary SQL
commands into a login request. (CVE-2008-2384)

Note: This flaw only affected non-default installations where
AuthMySQLCharacterSet is configured to use one of the affected
multibyte character sets. Installations that did not use the
AuthMySQLCharacterSet configuration option were not vulnerable to this
flaw.

All mod_auth_mysql users are advised to upgrade to the updated
package, which contains a backported patch to resolve this issue.
After installing the update, the httpd daemon must be restarted for
the fix to take effect.

See also :

https://oss.oracle.com/pipermail/el-errata/2009-February/000888.html

Solution :

Update the affected mod_auth_mysql package.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 6.2
(CVSS2#E:F/RL:OF/RC:ND)
Public Exploit Available : true

Family: Oracle Linux Local Security Checks

Nessus Plugin ID: 67798 ()

Bugtraq ID: 33392

CVE ID: CVE-2008-2384