blob: e265d12218d623f37fe196f1df0c706d8e049fa1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200606-13">
<title>MySQL: SQL Injection</title>
<synopsis>
MySQL is vulnerable to an SQL Injection flaw in the multi-byte encoding
process.
</synopsis>
<product type="ebuild">MySQL</product>
<announced>June 11, 2006</announced>
<revised>December 13, 2006: 04</revised>
<bug>135076</bug>
<access>remote</access>
<affected>
<package name="dev-db/mysql" auto="yes" arch="*">
<unaffected range="ge">5.0.22</unaffected>
<unaffected range="rge">4.1.20</unaffected>
<unaffected range="rge">4.1.21</unaffected>
<unaffected range="rge">4.1.22</unaffected>
<unaffected range="lt">4.1</unaffected>
<vulnerable range="lt">5.0.22</vulnerable>
</package>
</affected>
<background>
<p>
MySQL is a popular multi-threaded, multi-user SQL server.
</p>
</background>
<description>
<p>
MySQL is vulnerable to an injection flaw in mysql_real_escape() when
used with multi-byte characters.
</p>
</description>
<impact type="normal">
<p>
Due to a flaw in the multi-byte character process, an attacker is still
able to inject arbitary SQL statements into the MySQL server for
execution.
</p>
</impact>
<workaround>
<p>
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.
</p>
</workaround>
<resolution>
<p>
All MySQL users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/mysql-4.1.20"</code>
</resolution>
<references>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2753">CVE-2006-2753</uri>
</references>
<metadata tag="requester" timestamp="Thu, 01 Jun 2006 07:09:29 +0000">
falco
</metadata>
<metadata tag="bugReady" timestamp="Mon, 05 Jun 2006 19:55:54 +0000">
falco
</metadata>
<metadata tag="submitter" timestamp="Wed, 07 Jun 2006 09:13:55 +0000">
daxomatic
</metadata>
</glsa>
|