Mod_auth_mysql Multibyte Encoding SQL Injection

high Nessus Plugin ID 52050
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 3.4


The remote host is running software that is vulnerable to a SQL injection attack.


There is a SQL injection vulnerability in this installation of mod_auth_mysql that may allow an attacker access to restricted areas of a website. Successful attacks have only been demonstrated against sites with AuthMySQLCharacterSet set to big5, gbk, and sjis but other encodings may be affected.


Change to using a safe multibyte encoding (UTF-8), or patch mod_auth_mysql to use mysql_real_escape_string.

Plugin Details

Severity: High

ID: 52050

File Name: mod_auth_mysql_bypass.nasl

Version: 1.10

Type: remote

Family: CGI abuses

Published: 2/22/2011

Updated: 1/19/2021

Dependencies: apache_http_version.nasl

Risk Information

Risk Factor: High

VPR Score: 3.4

CVSS v2.0

Base Score: 7.5

Temporal Score: 6.2

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: E:F/RL:OF/RC:ND

CVSS v3.0

Base Score: 7.3

Temporal Score: 6.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Temporal Vector: E:F/RL:O/RC:X

Vulnerability Information

CPE: cpe:/a:apache:http_server

Required KB Items: installed_sw/Apache

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/21/2009

Vulnerability Publication Date: 1/21/2009

Reference Information

CVE: CVE-2008-2384

BID: 33392

Secunia: 33627

CWE: 89