The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


[ GLSA 200606-13 ] MySQL: SQL Injection


<< Previous INDEX Search src / Print Next >>
From: Sune Kloppenborg Jeppesen <jaervosz@gentoo.org.>
To: [email protected]
Subject: [ GLSA 200606-13 ] MySQL: SQL Injection
Date: Sun, 11 Jun 2006 22:29:28 +0200
User-Agent: KMail/1.9.3
Cc: [email protected], [email protected],
        [email protected]
Organization: Gentoo Linux Security Team
X-GPG-Key: http://home.coming.dk/skj.pub.gpg
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart2846504.np0uELeFkz";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200606112229.33020.jaervosz@gentoo.org.>
X-Virus-Scanned: antivirus-gw at tyumen.ru

--nextPart2846504.np0uELeFkz
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200606-13
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


  Severity: Normal
     Title: MySQL: SQL Injection
      Date: June 11, 2006
      Bugs: #135076
        ID: 200606-13

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


Synopsis
========

MySQL is vulnerable to an SQL Injection flaw in the multi-byte encoding
process.

Background
==========

MySQL is a popular multi-threaded, multi-user SQL server.

Affected packages
=================

    -------------------------------------------------------------------
     Package       /  Vulnerable  /                         Unaffected
    -------------------------------------------------------------------
  1  dev-db/mysql      < 4.1.20                             *>= 4.1.20
                                                             >= 5.0.22
     dev-db/mysql      < 5.0.22                             *>= 4.1.20
                                                             >= 5.0.22


Description
===========

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, an attacker 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.

Resolution
==========

All MySQL users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-db/mysql-4.1.20"


References
==========

  [ 1 ] CVE-2006-2753
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2753

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200606-13.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2006 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

--nextPart2846504.np0uELeFkz
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQBEjH0tzKC5hMHO6rkRAsBCAJ4/L9OE5gVswVAn26nwV8XESagmjQCcCn8b
v1+ylEbJsSoyDHE2ah5vAYY=
=D9dK
-----END PGP SIGNATURE-----

--nextPart2846504.np0uELeFkz--


<< Previous INDEX Search src / Print Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру