Vulnerability   
Search   
    Search 324607 CVE descriptions
and 145615 test descriptions,
access 10,000+ cross references.
Tests   CVE   All  

Test ID:1.3.6.1.4.1.25623.1.1.12.2006.303.1
Category:Ubuntu Local Security Checks
Title:Ubuntu: Security Advisory (USN-303-1)
Summary:The remote host is missing an update for the 'mysql-dfsg-4.1, mysql-dfsg-5.0' package(s) announced via the USN-303-1 advisory.
Description:Summary:
The remote host is missing an update for the 'mysql-dfsg-4.1, mysql-dfsg-5.0' package(s) announced via the USN-303-1 advisory.

Vulnerability Insight:
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 >>\<< in ASCII).

Many client libraries and applications use the non-standard, but
popular way of escaping the >>'<< character by replacing all
occurrences 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 >>''<<.

Affected Software/OS:
'mysql-dfsg-4.1, mysql-dfsg-5.0' package(s) on Ubuntu 5.10, Ubuntu 6.06.

Solution:
Please install the updated package(s).

CVSS Score:
7.5

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

Cross-Ref: Common Vulnerability Exposure (CVE) ID: CVE-2006-2753
1016216
http://securitytracker.com/id?1016216
18219
http://www.securityfocus.com/bid/18219
2006-0034
http://www.trustix.org/errata/2006/0034/
20365
http://secunia.com/advisories/20365
20489
http://secunia.com/advisories/20489
20531
http://secunia.com/advisories/20531
20541
http://secunia.com/advisories/20541
20562
http://secunia.com/advisories/20562
20625
http://secunia.com/advisories/20625
20712
http://secunia.com/advisories/20712
24479
http://secunia.com/advisories/24479
ADV-2006-2105
http://www.vupen.com/english/advisories/2006/2105
ADV-2007-0930
http://www.vupen.com/english/advisories/2007/0930
APPLE-SA-2007-03-13
http://lists.apple.com/archives/security-announce/2007/Mar/msg00002.html
DSA-1092
http://www.debian.org/security/2006/dsa-1092
GLSA-200606-13
http://www.gentoo.org/security/en/glsa/glsa-200606-13.xml
MDKSA-2006:097
http://www.mandriva.com/security/advisories?name=MDKSA-2006:097
RHSA-2006:0544
http://www.redhat.com/support/errata/RHSA-2006-0544.html
TA07-072A
http://www.us-cert.gov/cas/techalerts/TA07-072A.html
USN-288-3
http://www.ubuntu.com/usn/usn-288-3
USN-303-1
https://usn.ubuntu.com/303-1/
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=369735
http://docs.info.apple.com/article.html?artnum=305214
http://lists.mysql.com/announce/364
mysql-ascii-sql-injection(26875)
https://exchange.xforce.ibmcloud.com/vulnerabilities/26875
oval:org.mitre.oval:def:10312
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10312
CopyrightCopyright (C) 2022 Greenbone AG

This is only one of 145615 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.




© 1998-2025 E-Soft Inc. All rights reserved.