CVE-2008-2384 SQL injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary SQL commands via login requests in Apache's mod-auth-mysql when using specific multibyte character sets.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2008-2384?

CVE-2008-2384 is a high-severity SQL injection vulnerability in n/a, published on 22 Jan 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SQL injection vulnerability in mod_auth_mysql.c in the mod-auth-mysql (aka libapache2-mod-auth-mysql) module for the Apache HTTP Server 2.x, when configured to use a multibyte character set that allows a \ (backslash) as part of the character encoding, allows remote attackers to execute arbitrary SQL commands via unspecified inputs in a login request.

Weakness: CWE-89

Which versions are affected by CVE-2008-2384?

It affects 1 product.

Linux distribution packages (8)
mod_auth_mysql Red Hat:enterprise_linux:5::client_workstationAll versions1:3.0.0-3.2.el5_3
mod_auth_mysql-debuginfo Red Hat:enterprise_linux:5::client_workstationAll versions1:3.0.0-3.2.el5_3
mod_auth_mysql Red Hat:enterprise_linux:5::serverAll versions1:3.0.0-3.2.el5_3
mod_auth_mysql-debuginfo Red Hat:enterprise_linux:5::serverAll versions1:3.0.0-3.2.el5_3
mod_auth_mysql Red Hat:enterprise_linux:6::serverAll versions1:3.0.0-11.el6_0.1
mod_auth_mysql-debuginfo Red Hat:enterprise_linux:6::serverAll versions1:3.0.0-11.el6_0.1
mod_auth_mysql Red Hat:enterprise_linux:6::workstationAll versions1:3.0.0-11.el6_0.1
mod_auth_mysql-debuginfo Red Hat:enterprise_linux:6::workstationAll versions1:3.0.0-11.el6_0.1

Products include Joey Schulze Mod Auth Mysql.

How do I fix CVE-2008-2384?

Apply the vendor's patch.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2008-2384 being exploited?

There is no known exploitation of CVE-2008-2384 in the wild and no public exploit code.

Sources

Also known as GHSA-vm9x-63j8-h9j9, RHSA-2009:0259, RHSA-2010:1002.

Is CVE-2008-2384 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free