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

Extreme Network Summit X440-48t-10G 48x 10/100/1000 + 2x Shared SFP Switch 16509
$1834.27
Extreme Network Summit X440-48t-10G 48x 10/100/1000 + 2x Shared SFP Switch 16509 picture3Com 3CRS48G-24-91 HP 4800-48G JD007A 24-Port Gigabit L3 Managed 1U Switch
$250.0
3Com 3CRS48G-24-91 HP 4800-48G JD007A 24-Port Gigabit L3 Managed 1U Switch picture4 Port USB KVM Switch
$205.08
4 Port USB KVM Switch pictureUbiquiti ES-16-XG Switches Edge Switch
$647.46
Ubiquiti ES-16-XG Switches Edge Switch picture


Discussions

No Discussions have been posted on this vulnerability.