Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Gentoo Local Security Checks >> [GLSA-200606-13] MySQL: SQL Injection


Vulnerability Assessment Details

[GLSA-200606-13] MySQL: SQL Injection

Vulnerability Assessment Summary
MySQL: SQL Injection

Detailed Explanation for this Vulnerability Assessment
The remote host is affected by the vulnerability described in GLSA-200606-13
(MySQL: SQL Injection)


MySQL is vulnerable to an injection flaw in mysql_real_escape() when
used with multi-byte characters.

Impact

Due to a flaw in the multi-byte character process, a possible hacker is still
able to inject arbitary SQL statements into the MySQL server for
execution.

Workaround

There are a few workarounds available: NO_BACKSLASH_ESCAPES mode as a
workaround for a bug in mysql_real_escape_string(): SET
sql_mode='NO_BACKSLASH_ESCAPES'
SET GLOBAL
sql_mode='NO_BACKSLASH_ESCAPES'
and server command line options:
--sql-mode=NO_BACKSLASH_ESCAPES.

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2753


Solution:
All MySQL users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/mysql-4.1.20"


Network Security Threat Level: Medium


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2006 Michel Arboi

Cables, Connectors

Vintage Computer Power Light and Reset Switch Button Cable
$10.0
Vintage Computer Power Light and Reset Switch Button Cable pictureVtg SMITH CORONA 12" Display Monitor Model: HRM2 60Hz 0.9A for Word Processor
$129.99
Vtg SMITH CORONA 12Vintage Apple Power Macintosh G3 300 Minitower M4405 300MHz 64MB Caviar 4GB HD
$200.0
Vintage Apple Power Macintosh G3 300 Minitower M4405 300MHz 64MB Caviar 4GB HD pictureVintage Bell & Howell Apple II Plus Computer, Drives, Monitor, Darth Vader Black
$525.0
Vintage Bell & Howell Apple II Plus Computer, Drives, Monitor, Darth Vader Black picture


Discussions

No Discussions have been posted on this vulnerability.