Lucene search

K
ubuntuUbuntuUSN-303-1
HistoryJun 17, 2006 - 12:00 a.m.

MySQL vulnerability

2006-06-1700:00:00
ubuntu.com
34

7.5 High

AI Score

Confidence

Low

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.004 Low

EPSS

Percentile

74.5%

Releases

  • Ubuntu 6.06
  • Ubuntu 5.10

Details

An SQL injection vulnerability has been discovered when using less
popular multibyte encodings (such as SJIS, or BIG5) which contain
valid multibyte characters that end with the byte 0x5c (the
representation of the backslash character >>&lt;< in ASCII).

Many client libraries and applications use the non-standard, but
popular way of escaping the >>‘<< character by replacing all
occurences of it with >>'<<. If a client application uses one of the
affected encodings and does not interpret multibyte characters, and an
attacker supplies a specially crafted byte sequence as an input string
parameter, this escaping method would then produce a validly-encoded
character and an excess >>’<< character which would end the string.
All subsequent characters would then be interpreted as SQL code, so
the attacker could execute arbitrary SQL commands.

The updated packages fix the mysql_real_escape_string() function to
escape quote characters in a safe way. If you use third-party software
which uses an ad-hoc method of string escaping, you should convert
them to use mysql_real_escape_string() instead, or at least use the
standard SQL method of escaping >>‘<< with >>’'<<.

OSVersionArchitecturePackageVersionFilename
Ubuntu6.06noarchlibmysqlclient15off< 5.0.22-0ubuntu6.06UNKNOWN
Ubuntu6.06noarchmysql-server-5.0< 5.0.22-0ubuntu6.06UNKNOWN
Ubuntu5.10noarchmysql-server-4.1< 4.1.12-1ubuntu3.5UNKNOWN
Ubuntu5.10noarchlibmysqlclient14< 4.1.12-1ubuntu3.5UNKNOWN

7.5 High

AI Score

Confidence

Low

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

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

0.004 Low

EPSS

Percentile

74.5%