|Category:||Ubuntu Local Security Checks|
|Title:||Ubuntu USN-303-1 (mysql-dfsg-5.0)|
|Summary:||Ubuntu USN-303-1 (mysql-dfsg-5.0)|
The remote host is missing an update to mysql-dfsg-5.0
announced via advisory USN-303-1.
A security issue affects the following Ubuntu releases:
Ubuntu 6.06 LTS
This advisory also applies to the corresponding versions of
Kubuntu, Edubuntu, and Xubuntu.
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 >>\
Many client libraries and applications use the non-standard, but
popular way of escaping the >>'
occurences of it with >>\'
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 >>'
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 >>'>''
The problem can be corrected by upgrading your system to the
following package versions:
Ubuntu 6.06 LTS:
In general, a standard system upgrade is sufficient to effect the
Risk factor : High
Common Vulnerability Exposure (CVE) ID: CVE-2006-2753|
Debian Security Information: DSA-1092 (Google Search)
Cert/CC Advisory: TA07-072A
BugTraq ID: 18219
XForce ISS Database: mysql-ascii-sql-injection(26875)
|Copyright||Copyright (c) 2006 E-Soft Inc. http://www.securityspace.com|
|This is only one of 43391 vulnerability tests in our test suite. Find out more about running a complete security audit.|
To run a free test of this vulnerability against your system, register below.