Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2010.0161 Moderate: mysql security update 17 February 2010 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: mysql Publisher: Red Hat Operating System: Red Hat Enterprise Linux Server 5 Red Hat Enterprise Linux WS/Desktop 5 Red Hat Enterprise Linux AS/ES/WS 4 Red Hat Enterprise Linux Desktop 4 Impact/Access: Increased Privileges -- Remote with User Interaction Cross-site Scripting -- Remote with User Interaction Denial of Service -- Remote with User Interaction Reduced Security -- Remote with User Interaction Resolution: Patch/Upgrade CVE Names: CVE-2009-4030 CVE-2009-4028 CVE-2009-4019 CVE-2009-2446 CVE-2008-4456 CVE-2008-4098 Reference: ESB-2010.0154 ESB-2009.1250 ESB-2009.1242 ESB-2009.0419 ESB-2008.1027 Original Bulletin: https://rhn.redhat.com/errata/RHSA-2010-0109.html https://rhn.redhat.com/errata/RHSA-2010-0110.html Comment: This bulletin contains two (2) Red Hat security advisories. - --------------------------BEGIN INCLUDED TEXT-------------------- - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ===================================================================== Red Hat Security Advisory Synopsis: Moderate: mysql security update Advisory ID: RHSA-2010:0109-01 Product: Red Hat Enterprise Linux Advisory URL: https://rhn.redhat.com/errata/RHSA-2010-0109.html Issue date: 2010-02-16 CVE Names: CVE-2009-4019 CVE-2009-4028 CVE-2009-4030 ===================================================================== 1. Summary: Updated mysql packages that fix multiple security issues are now available for Red Hat Enterprise Linux 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. 2. Relevant releases/architectures: RHEL Desktop Workstation (v. 5 client) - i386, x86_64 Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64 Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64 3. Description: MySQL is a multi-user, multi-threaded SQL database server. It consists of the MySQL server daemon (mysqld) and many client programs and libraries. It was discovered that the MySQL client ignored certain SSL certificate verification errors when connecting to servers. A man-in-the-middle attacker could use this flaw to trick MySQL clients into connecting to a spoofed MySQL server. (CVE-2009-4028) Note: This fix may uncover previously hidden SSL configuration issues, such as incorrect CA certificates being used by clients or expired server certificates. This update should be carefully tested in deployments where SSL connections are used. A flaw was found in the way MySQL handled SELECT statements with subqueries in the WHERE clause, that assigned results to a user variable. A remote, authenticated attacker could use this flaw to crash the MySQL server daemon (mysqld). This issue only caused a temporary denial of service, as the MySQL daemon was automatically restarted after the crash. (CVE-2009-4019) When the "datadir" option was configured with a relative path, MySQL did not properly check paths used as arguments for the DATA DIRECTORY and INDEX DIRECTORY directives. An authenticated attacker could use this flaw to bypass the restriction preventing the use of subdirectories of the MySQL data directory being used as DATA DIRECTORY and INDEX DIRECTORY paths. (CVE-2009-4030) Note: Due to the security risks and previous security issues related to the use of the DATA DIRECTORY and INDEX DIRECTORY directives, users not depending on this feature should consider disabling it by adding "symbolic-links=0" to the "[mysqld]" section of the "my.cnf" configuration file. In this update, an example of such a configuration was added to the default "my.cnf" file. All MySQL users are advised to upgrade to these updated packages, which contain backported patches to resolve these issues. After installing this update, the MySQL server daemon (mysqld) will be restarted automatically. 4. Solution: Before applying this update, make sure that all previously-released errata relevant to your system have been applied. This update is available via Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at http://kbase.redhat.com/faq/docs/DOC-11259 5. Bugs fixed (http://bugzilla.redhat.com/): 540906 - CVE-2009-4019 mysql: DoS (crash) when comparing GIS items from subquery and when handling subqueires in WHERE and assigning a SELECT result to a @variable 541233 - CVE-2009-4028 mysql: client SSL certificate verification flaw 543653 - CVE-2009-4030 mysql: Incomplete fix for CVE-2008-2079 / CVE-2008-4098 6. Package List: Red Hat Enterprise Linux Desktop (v. 5 client): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/mysql-5.0.77-4.el5_4.2.src.rpm i386: mysql-5.0.77-4.el5_4.2.i386.rpm mysql-debuginfo-5.0.77-4.el5_4.2.i386.rpm x86_64: mysql-5.0.77-4.el5_4.2.i386.rpm mysql-5.0.77-4.el5_4.2.x86_64.rpm mysql-debuginfo-5.0.77-4.el5_4.2.i386.rpm mysql-debuginfo-5.0.77-4.el5_4.2.x86_64.rpm RHEL Desktop Workstation (v. 5 client): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/mysql-5.0.77-4.el5_4.2.src.rpm i386: mysql-bench-5.0.77-4.el5_4.2.i386.rpm mysql-debuginfo-5.0.77-4.el5_4.2.i386.rpm mysql-devel-5.0.77-4.el5_4.2.i386.rpm mysql-server-5.0.77-4.el5_4.2.i386.rpm mysql-test-5.0.77-4.el5_4.2.i386.rpm x86_64: mysql-bench-5.0.77-4.el5_4.2.x86_64.rpm mysql-debuginfo-5.0.77-4.el5_4.2.i386.rpm mysql-debuginfo-5.0.77-4.el5_4.2.x86_64.rpm mysql-devel-5.0.77-4.el5_4.2.i386.rpm mysql-devel-5.0.77-4.el5_4.2.x86_64.rpm mysql-server-5.0.77-4.el5_4.2.x86_64.rpm mysql-test-5.0.77-4.el5_4.2.x86_64.rpm Red Hat Enterprise Linux (v. 5 server): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/mysql-5.0.77-4.el5_4.2.src.rpm i386: mysql-5.0.77-4.el5_4.2.i386.rpm mysql-bench-5.0.77-4.el5_4.2.i386.rpm mysql-debuginfo-5.0.77-4.el5_4.2.i386.rpm mysql-devel-5.0.77-4.el5_4.2.i386.rpm mysql-server-5.0.77-4.el5_4.2.i386.rpm mysql-test-5.0.77-4.el5_4.2.i386.rpm ia64: mysql-5.0.77-4.el5_4.2.i386.rpm mysql-5.0.77-4.el5_4.2.ia64.rpm mysql-bench-5.0.77-4.el5_4.2.ia64.rpm mysql-debuginfo-5.0.77-4.el5_4.2.i386.rpm mysql-debuginfo-5.0.77-4.el5_4.2.ia64.rpm mysql-devel-5.0.77-4.el5_4.2.ia64.rpm mysql-server-5.0.77-4.el5_4.2.ia64.rpm mysql-test-5.0.77-4.el5_4.2.ia64.rpm ppc: mysql-5.0.77-4.el5_4.2.ppc.rpm mysql-5.0.77-4.el5_4.2.ppc64.rpm mysql-bench-5.0.77-4.el5_4.2.ppc.rpm mysql-debuginfo-5.0.77-4.el5_4.2.ppc.rpm mysql-debuginfo-5.0.77-4.el5_4.2.ppc64.rpm mysql-devel-5.0.77-4.el5_4.2.ppc.rpm mysql-devel-5.0.77-4.el5_4.2.ppc64.rpm mysql-server-5.0.77-4.el5_4.2.ppc.rpm mysql-server-5.0.77-4.el5_4.2.ppc64.rpm mysql-test-5.0.77-4.el5_4.2.ppc.rpm s390x: mysql-5.0.77-4.el5_4.2.s390.rpm mysql-5.0.77-4.el5_4.2.s390x.rpm mysql-bench-5.0.77-4.el5_4.2.s390x.rpm mysql-debuginfo-5.0.77-4.el5_4.2.s390.rpm mysql-debuginfo-5.0.77-4.el5_4.2.s390x.rpm mysql-devel-5.0.77-4.el5_4.2.s390.rpm mysql-devel-5.0.77-4.el5_4.2.s390x.rpm mysql-server-5.0.77-4.el5_4.2.s390x.rpm mysql-test-5.0.77-4.el5_4.2.s390x.rpm x86_64: mysql-5.0.77-4.el5_4.2.i386.rpm mysql-5.0.77-4.el5_4.2.x86_64.rpm mysql-bench-5.0.77-4.el5_4.2.x86_64.rpm mysql-debuginfo-5.0.77-4.el5_4.2.i386.rpm mysql-debuginfo-5.0.77-4.el5_4.2.x86_64.rpm mysql-devel-5.0.77-4.el5_4.2.i386.rpm mysql-devel-5.0.77-4.el5_4.2.x86_64.rpm mysql-server-5.0.77-4.el5_4.2.x86_64.rpm mysql-test-5.0.77-4.el5_4.2.x86_64.rpm These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://www.redhat.com/security/team/key/#package 7. References: https://www.redhat.com/security/data/cve/CVE-2009-4019.html https://www.redhat.com/security/data/cve/CVE-2009-4028.html https://www.redhat.com/security/data/cve/CVE-2009-4030.html http://www.redhat.com/security/updates/classification/#moderate http://dev.mysql.com/doc/refman/5.0/en/symbolic-links-to-tables.html 8. Contact: The Red Hat security contact is <secalert@redhat.com>. More contact details at https://www.redhat.com/security/team/contact/ Copyright 2010 Red Hat, Inc. - -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFLetCtXlSAg2UNWIIRApwjAKCtjHstUwwHC/dK5JEWxkP70TTuogCeLleI LrQNccvqeEumUFk64LNBJRE= =ZoKl - -----END PGP SIGNATURE----- - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ===================================================================== Red Hat Security Advisory Synopsis: Moderate: mysql security update Advisory ID: RHSA-2010:0110-01 Product: Red Hat Enterprise Linux Advisory URL: https://rhn.redhat.com/errata/RHSA-2010-0110.html Issue date: 2010-02-16 CVE Names: CVE-2008-4098 CVE-2008-4456 CVE-2009-2446 CVE-2009-4030 ===================================================================== 1. Summary: Updated mysql packages that fix several security issues are now available for Red Hat Enterprise Linux 4. This update has been rated as having moderate security impact by the Red Hat Security Response Team. 2. Relevant releases/architectures: Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x, x86_64 Red Hat Enterprise Linux Desktop version 4 - i386, x86_64 Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64 Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64 3. Description: MySQL is a multi-user, multi-threaded SQL database server. It consists of the MySQL server daemon (mysqld) and many client programs and libraries. Multiple flaws were discovered in the way MySQL handled symbolic links to tables created using the DATA DIRECTORY and INDEX DIRECTORY directives in CREATE TABLE statements. An attacker with CREATE and DROP table privileges and shell access to the database server could use these flaws to escalate their database privileges, or gain access to tables created by other database users. (CVE-2008-4098, CVE-2009-4030) Note: Due to the security risks and previous security issues related to the use of the DATA DIRECTORY and INDEX DIRECTORY directives, users not depending on this feature should consider disabling it by adding "symbolic-links=0" to the "[mysqld]" section of the "my.cnf" configuration file. In this update, an example of such a configuration was added to the default "my.cnf" file. An insufficient HTML entities quoting flaw was found in the mysql command line client's HTML output mode. If an attacker was able to inject arbitrary HTML tags into data stored in a MySQL database, which was later retrieved using the mysql command line client and its HTML output mode, they could perform a cross-site scripting (XSS) attack against victims viewing the HTML output in a web browser. (CVE-2008-4456) Multiple format string flaws were found in the way the MySQL server logged user commands when creating and deleting databases. A remote, authenticated attacker with permissions to CREATE and DROP databases could use these flaws to formulate a specially-crafted SQL command that would cause a temporary denial of service (open connections to mysqld are terminated). (CVE-2009-2446) Note: To exploit the CVE-2009-2446 flaws, the general query log (the mysqld "--log" command line option or the "log" option in "my.cnf") must be enabled. This logging is not enabled by default. All MySQL users are advised to upgrade to these updated packages, which contain backported patches to resolve these issues. After installing this update, the MySQL server daemon (mysqld) will be restarted automatically. 4. Solution: Before applying this update, make sure that all previously-released errata relevant to your system have been applied. This update is available via Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at http://kbase.redhat.com/faq/docs/DOC-11259 5. Bugs fixed (http://bugzilla.redhat.com/): 454077 - CVE-2008-4098 mysql: incomplete upstream fix for CVE-2008-2079 466518 - CVE-2008-4456 mysql: mysql command line client XSS flaw 511020 - CVE-2009-2446 MySQL: Format string vulnerability by manipulation with database instances (crash) 543653 - CVE-2009-4030 mysql: Incomplete fix for CVE-2008-2079 / CVE-2008-4098 6. Package List: Red Hat Enterprise Linux AS version 4: Source: ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/mysql-4.1.22-2.el4_8.3.src.rpm i386: mysql-4.1.22-2.el4_8.3.i386.rpm mysql-bench-4.1.22-2.el4_8.3.i386.rpm mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm mysql-devel-4.1.22-2.el4_8.3.i386.rpm mysql-server-4.1.22-2.el4_8.3.i386.rpm ia64: mysql-4.1.22-2.el4_8.3.i386.rpm mysql-4.1.22-2.el4_8.3.ia64.rpm mysql-bench-4.1.22-2.el4_8.3.ia64.rpm mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm mysql-debuginfo-4.1.22-2.el4_8.3.ia64.rpm mysql-devel-4.1.22-2.el4_8.3.ia64.rpm mysql-server-4.1.22-2.el4_8.3.ia64.rpm ppc: mysql-4.1.22-2.el4_8.3.ppc.rpm mysql-4.1.22-2.el4_8.3.ppc64.rpm mysql-bench-4.1.22-2.el4_8.3.ppc.rpm mysql-debuginfo-4.1.22-2.el4_8.3.ppc.rpm mysql-debuginfo-4.1.22-2.el4_8.3.ppc64.rpm mysql-devel-4.1.22-2.el4_8.3.ppc.rpm mysql-server-4.1.22-2.el4_8.3.ppc.rpm s390: mysql-4.1.22-2.el4_8.3.s390.rpm mysql-bench-4.1.22-2.el4_8.3.s390.rpm mysql-debuginfo-4.1.22-2.el4_8.3.s390.rpm mysql-devel-4.1.22-2.el4_8.3.s390.rpm mysql-server-4.1.22-2.el4_8.3.s390.rpm s390x: mysql-4.1.22-2.el4_8.3.s390.rpm mysql-4.1.22-2.el4_8.3.s390x.rpm mysql-bench-4.1.22-2.el4_8.3.s390x.rpm mysql-debuginfo-4.1.22-2.el4_8.3.s390.rpm mysql-debuginfo-4.1.22-2.el4_8.3.s390x.rpm mysql-devel-4.1.22-2.el4_8.3.s390x.rpm mysql-server-4.1.22-2.el4_8.3.s390x.rpm x86_64: mysql-4.1.22-2.el4_8.3.i386.rpm mysql-4.1.22-2.el4_8.3.x86_64.rpm mysql-bench-4.1.22-2.el4_8.3.x86_64.rpm mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm mysql-debuginfo-4.1.22-2.el4_8.3.x86_64.rpm mysql-devel-4.1.22-2.el4_8.3.x86_64.rpm mysql-server-4.1.22-2.el4_8.3.x86_64.rpm Red Hat Enterprise Linux Desktop version 4: Source: ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/mysql-4.1.22-2.el4_8.3.src.rpm i386: mysql-4.1.22-2.el4_8.3.i386.rpm mysql-bench-4.1.22-2.el4_8.3.i386.rpm mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm mysql-devel-4.1.22-2.el4_8.3.i386.rpm mysql-server-4.1.22-2.el4_8.3.i386.rpm x86_64: mysql-4.1.22-2.el4_8.3.i386.rpm mysql-4.1.22-2.el4_8.3.x86_64.rpm mysql-bench-4.1.22-2.el4_8.3.x86_64.rpm mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm mysql-debuginfo-4.1.22-2.el4_8.3.x86_64.rpm mysql-devel-4.1.22-2.el4_8.3.x86_64.rpm mysql-server-4.1.22-2.el4_8.3.x86_64.rpm Red Hat Enterprise Linux ES version 4: Source: ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/mysql-4.1.22-2.el4_8.3.src.rpm i386: mysql-4.1.22-2.el4_8.3.i386.rpm mysql-bench-4.1.22-2.el4_8.3.i386.rpm mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm mysql-devel-4.1.22-2.el4_8.3.i386.rpm mysql-server-4.1.22-2.el4_8.3.i386.rpm ia64: mysql-4.1.22-2.el4_8.3.i386.rpm mysql-4.1.22-2.el4_8.3.ia64.rpm mysql-bench-4.1.22-2.el4_8.3.ia64.rpm mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm mysql-debuginfo-4.1.22-2.el4_8.3.ia64.rpm mysql-devel-4.1.22-2.el4_8.3.ia64.rpm mysql-server-4.1.22-2.el4_8.3.ia64.rpm x86_64: mysql-4.1.22-2.el4_8.3.i386.rpm mysql-4.1.22-2.el4_8.3.x86_64.rpm mysql-bench-4.1.22-2.el4_8.3.x86_64.rpm mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm mysql-debuginfo-4.1.22-2.el4_8.3.x86_64.rpm mysql-devel-4.1.22-2.el4_8.3.x86_64.rpm mysql-server-4.1.22-2.el4_8.3.x86_64.rpm Red Hat Enterprise Linux WS version 4: Source: ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/mysql-4.1.22-2.el4_8.3.src.rpm i386: mysql-4.1.22-2.el4_8.3.i386.rpm mysql-bench-4.1.22-2.el4_8.3.i386.rpm mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm mysql-devel-4.1.22-2.el4_8.3.i386.rpm mysql-server-4.1.22-2.el4_8.3.i386.rpm ia64: mysql-4.1.22-2.el4_8.3.i386.rpm mysql-4.1.22-2.el4_8.3.ia64.rpm mysql-bench-4.1.22-2.el4_8.3.ia64.rpm mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm mysql-debuginfo-4.1.22-2.el4_8.3.ia64.rpm mysql-devel-4.1.22-2.el4_8.3.ia64.rpm mysql-server-4.1.22-2.el4_8.3.ia64.rpm x86_64: mysql-4.1.22-2.el4_8.3.i386.rpm mysql-4.1.22-2.el4_8.3.x86_64.rpm mysql-bench-4.1.22-2.el4_8.3.x86_64.rpm mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm mysql-debuginfo-4.1.22-2.el4_8.3.x86_64.rpm mysql-devel-4.1.22-2.el4_8.3.x86_64.rpm mysql-server-4.1.22-2.el4_8.3.x86_64.rpm These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://www.redhat.com/security/team/key/#package 7. References: https://www.redhat.com/security/data/cve/CVE-2008-4098.html https://www.redhat.com/security/data/cve/CVE-2008-4456.html https://www.redhat.com/security/data/cve/CVE-2009-2446.html https://www.redhat.com/security/data/cve/CVE-2009-4030.html http://www.redhat.com/security/updates/classification/#moderate http://dev.mysql.com/doc/refman/4.1/en/symbolic-links-to-tables.html 8. Contact: The Red Hat security contact is <secalert@redhat.com>. More contact details at https://www.redhat.com/security/team/contact/ Copyright 2010 Red Hat, Inc. - -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFLetDDXlSAg2UNWIIRAoWjAJ9RvlmdBumZmN25fgUAanKP0QHAkgCgwM5T qvDAHsmhNIQSgHkxM8KCFc0= =+LfE - -----END PGP SIGNATURE----- - --------------------------END INCLUDED TEXT-------------------- You have received this e-mail bulletin as a result of your organisation's registration with AusCERT. The mailing list you are subscribed to is maintained within your organisation, so if you do not wish to continue receiving these bulletins you should contact your local IT manager. If you do not know who that is, please send an email to auscert@auscert.org.au and we will forward your request to the appropriate person. NOTE: Third Party Rights This security bulletin is provided as a service to AusCERT's members. As AusCERT did not write the document quoted above, AusCERT has had no control over its content. The decision to follow or act on information or advice contained in this security bulletin is the responsibility of each user or organisation, and should be considered in accordance with your organisation's site policies and procedures. AusCERT takes no responsibility for consequences which may arise from following or acting on information or advice contained in this security bulletin. NOTE: This is only the original release of the security bulletin. It may not be updated when updates to the original are made. If downloading at a later date, it is recommended that the bulletin is retrieved directly from the author's website to ensure that the information is still current. Contact information for the authors of the original document is included in the Security Bulletin above. If you have any questions or need further information, please contact them directly. Previous advisories and external security bulletins can be retrieved from: http://www.auscert.org.au/render.html?cid=1980 If you believe that your computer system has been compromised or attacked in any way, we encourage you to let us know by completing the secure National IT Incident Reporting Form at: http://www.auscert.org.au/render.html?it=3192 =========================================================================== Australian Computer Emergency Response Team The University of Queensland Brisbane Qld 4072 Internet Email: auscert@auscert.org.au Facsimile: (07) 3365 7031 Telephone: (07) 3365 4417 (International: +61 7 3365 4417) AusCERT personnel answer during Queensland business hours which are GMT+10:00 (AEST). On call after hours for member emergencies only. =========================================================================== -----BEGIN PGP SIGNATURE----- Comment: http://www.auscert.org.au/render.html?it=1967 iD8DBQFLeyqE/iFOrG6YcBERAm1pAJ9Os+iI6Q/8xjvgeZ/bA76fyFcLPgCfQEC7 MNyjn2EuSGv5uVomSrptOYY= =kDC+ -----END PGP SIGNATURE-----