Executive Summary

Summary
Title New mysql packages fix several vulnerabilities
Informations
Name DSA-707 First vendor Publication 2005-04-13
Vendor Debian Last vendor Modification 2005-04-13
Severity (Vendor) N/A Revision 1

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:P/I:P/A:P)
Cvss Base Score 6.8 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Several vulnerabilities have been discovered in MySQL, a popular database. The Common Vulnerabilities and Exposures project identifies the following problems:

CAN-2004-0957

Sergei Golubchik discovered a problem in the access handling for similar named databases. If a user is granted privileges to a database with a name containing an underscore ("_"), the user also gains privileges to other databases with similar names.

CAN-2005-0709

Stefano Di Paola discovered that MySQL allows remote authenticated users with INSERT and DELETE privileges to execute arbitrary code by using CREATE FUNCTION to access libc calls.

CAN-2005-0710

Stefano Di Paola discovered that MySQL allows remote authenticated users with INSERT and DELETE privileges to bypass library path restrictions and execute arbitrary libraries by using INSERT INTO to modify the mysql.func table.

CAN-2005-0711

Stefano Di Paola discovered that MySQL uses predictable file names when creating temporary tables, which allows local users with CREATE TEMPORARY TABLE privileges to overwrite arbitrary files via a symlink attack.

For the stable distribution (woody) these problems have been fixed in version 3.23.49-8.11.

For the unstable distribution (sid) these problems have been fixed in version 4.0.24-5 of mysql-dfsg and in version 4.1.10a-6 of mysql-dfsg-4.1.

We recommend that you upgrade your mysql packages.

Original Source

Url : http://www.debian.org/security/2005/dsa-707

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-94 Failure to Control Generation of Code ('Code Injection')

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:10180
 
Oval ID: oval:org.mitre.oval:def:10180
Title: MySQL 4.0.23 and earlier, and 4.1.x up to 4.1.10, allows remote authenticated users with INSERT and DELETE privileges to bypass library path restrictions and execute arbitrary libraries by using INSERT INTO to modify the mysql.func table, which is processed by the udf_init function.
Description: MySQL 4.0.23 and earlier, and 4.1.x up to 4.1.10, allows remote authenticated users with INSERT and DELETE privileges to bypass library path restrictions and execute arbitrary libraries by using INSERT INTO to modify the mysql.func table, which is processed by the udf_init function.
Family: unix Class: vulnerability
Reference(s): CVE-2005-0710
Version: 5
Platform(s): Red Hat Enterprise Linux 3
CentOS Linux 3
Red Hat Enterprise Linux 4
CentOS Linux 4
Oracle Linux 4
Product(s):
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:10479
 
Oval ID: oval:org.mitre.oval:def:10479
Title: MySQL 4.0.23 and earlier, and 4.1.x up to 4.1.10, allows remote authenticated users with INSERT and DELETE privileges to execute arbitrary code by using CREATE FUNCTION to access libc calls, as demonstrated by using strcat, on_exit, and exit.
Description: MySQL 4.0.23 and earlier, and 4.1.x up to 4.1.10, allows remote authenticated users with INSERT and DELETE privileges to execute arbitrary code by using CREATE FUNCTION to access libc calls, as demonstrated by using strcat, on_exit, and exit.
Family: unix Class: vulnerability
Reference(s): CVE-2005-0709
Version: 5
Platform(s): Red Hat Enterprise Linux 3
CentOS Linux 3
Red Hat Enterprise Linux 4
CentOS Linux 4
Oracle Linux 4
Product(s):
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:9591
 
Oval ID: oval:org.mitre.oval:def:9591
Title: MySQL 4.0.23 and earlier, and 4.1.x up to 4.1.10, uses predictable file names when creating temporary tables, which allows local users with CREATE TEMPORARY TABLE privileges to overwrite arbitrary files via a symlink attack.
Description: MySQL 4.0.23 and earlier, and 4.1.x up to 4.1.10, uses predictable file names when creating temporary tables, which allows local users with CREATE TEMPORARY TABLE privileges to overwrite arbitrary files via a symlink attack.
Family: unix Class: vulnerability
Reference(s): CVE-2005-0711
Version: 5
Platform(s): Red Hat Enterprise Linux 3
CentOS Linux 3
Red Hat Enterprise Linux 4
CentOS Linux 4
Oracle Linux 4
Product(s):
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 3
Application 90
Os 3
Os 1
Os 7
Os 3
Os 2

OpenVAS Exploits

Date Description
2009-11-17 Name : Mac OS X Version
File : nvt/macosx_version.nasl
2009-10-10 Name : SLES9: Security update for MySQL
File : nvt/sles9p5015996.nasl
2009-10-10 Name : SLES9: Security update for MySQL
File : nvt/sles9p5020865.nasl
2008-09-24 Name : Gentoo Security Advisory GLSA 200503-19 (mysql)
File : nvt/glsa_200503_19.nasl
2008-09-04 Name : FreeBSD Ports: mysql-server
File : nvt/freebsd_mysql-server.nasl
2008-09-04 Name : FreeBSD Ports: mysql-server
File : nvt/freebsd_mysql-server0.nasl
2008-01-17 Name : Debian Security Advisory DSA 707-1 (mysql)
File : nvt/deb_707_1.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
14678 MySQL CREATE FUNCTION Arbitrary libc Code Execution

MySQL contains a flaw that may allow a malicious user to load arbitrary libraries. The issue is triggered when an authenticated user with INSERT and DELETE privileges use the CREATE FUNCTION command to specify and load an arbitrary custom library. It is possible that the flaw may allow a remote attacker to execute arbitrary code, resulting in a loss of confidentiality and/or integrity.
14677 MySQL CREATE FUNCTION mysql.func Table Arbitrary Library Injection

MySQL contains a flaw that may allow a malicious user to gain access to unauthorized privileges. The issue is triggered when an authenticated user with INSERT and DELETE privileges bypasses library path restrictions using INSERT INTO modify the mysql.func table. This may allow an attacker to execute arbitrary libraries and gain privileges.
14676 MySQL CREATE TEMPORARY TABLE Symlink Privilege Escalation

10959 MySQL GRANT ALL ON Privilege Escalation

MySQL contains a flaw that may allow a malicious user to gain access to unauthorized privileges. The issue is triggered when that users is given GRANT privileges on a database whose name contains an underscore, i.e. database_name. The underscore is treated as a wildcard; continuing the example, the user would then have GRANT privileges on database1name, databaseZname, etc. This flaw may lead to a loss of confidentiality and/or integrity.

Snort® IPS/IDS

Date Description
2014-01-10 create function access attempt
RuleID : 3528 - Revision : 12 - Type : SERVER-MYSQL
2014-01-10 Microsoft MSN Messenger png overflow
RuleID : 3130-community - Revision : 8 - Type : PUA-OTHER
2014-01-10 Microsoft MSN Messenger png overflow
RuleID : 3130 - Revision : 8 - Type : PUA-OTHER
2014-01-10 create function mysql.func arbitrary library injection attempt
RuleID : 17412 - Revision : 9 - Type : SERVER-MYSQL
2014-01-10 create function libc arbitrary code execution attempt
RuleID : 15952 - Revision : 6 - Type : SERVER-MYSQL

Nessus® Vulnerability Scanner

Date Description
2006-07-05 Name : The remote CentOS host is missing one or more security updates.
File : centos_RHSA-2005-348.nasl - Type : ACT_GATHER_INFO
2006-01-15 Name : The remote Ubuntu host is missing one or more security-related patches.
File : ubuntu_USN-96-1.nasl - Type : ACT_GATHER_INFO
2006-01-15 Name : The remote Ubuntu host is missing one or more security-related patches.
File : ubuntu_USN-32-1.nasl - Type : ACT_GATHER_INFO
2006-01-15 Name : The remote Ubuntu host is missing one or more security-related patches.
File : ubuntu_USN-109-1.nasl - Type : ACT_GATHER_INFO
2005-09-12 Name : The remote Fedora Core host is missing a security update.
File : fedora_2005-304.nasl - Type : ACT_GATHER_INFO
2005-08-18 Name : The remote host is missing a Mac OS X update that fixes various security issues.
File : macosx_SecUpd2005-007.nasl - Type : ACT_GATHER_INFO
2005-08-18 Name : The remote host is missing Sun Security Patch number 120293-02
File : solaris10_x86_120293.nasl - Type : ACT_GATHER_INFO
2005-08-18 Name : The remote host is missing Sun Security Patch number 120292-02
File : solaris10_120292.nasl - Type : ACT_GATHER_INFO
2005-07-13 Name : The remote FreeBSD host is missing one or more security-related updates.
File : freebsd_pkg_01c231cd439311d98bb900065be4b5b6.nasl - Type : ACT_GATHER_INFO
2005-07-13 Name : The remote FreeBSD host is missing one or more security-related updates.
File : freebsd_pkg_619ef337949a11d9b81300d05964249f.nasl - Type : ACT_GATHER_INFO
2005-05-19 Name : The remote Fedora Core host is missing a security update.
File : fedora_2005-305.nasl - Type : ACT_GATHER_INFO
2005-04-14 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-707.nasl - Type : ACT_GATHER_INFO
2005-04-13 Name : The remote Mandrake Linux host is missing one or more security updates.
File : mandrake_MDKSA-2005-070.nasl - Type : ACT_GATHER_INFO
2005-04-06 Name : The remote Red Hat host is missing a security update.
File : redhat-RHSA-2005-348.nasl - Type : ACT_GATHER_INFO
2005-03-29 Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2005-334.nasl - Type : ACT_GATHER_INFO
2005-03-25 Name : The remote host is missing a vendor-supplied security patch
File : suse_SA_2005_019.nasl - Type : ACT_GATHER_INFO
2005-03-23 Name : The remote Mandrake Linux host is missing one or more security updates.
File : mandrake_MDKSA-2005-060.nasl - Type : ACT_GATHER_INFO
2005-03-17 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-200503-19.nasl - Type : ACT_GATHER_INFO
2005-03-11 Name : The remote database server is affected by multiple vulnerabilities.
File : mysql_multiple_flaws4.nasl - Type : ACT_GATHER_INFO
2004-12-09 Name : The remote Fedora Core host is missing a security update.
File : fedora_2004-530.nasl - Type : ACT_GATHER_INFO
2004-11-04 Name : The remote Red Hat host is missing a security update.
File : redhat-RHSA-2004-611.nasl - Type : ACT_GATHER_INFO
2004-10-21 Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2004-569.nasl - Type : ACT_GATHER_INFO
2004-10-21 Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2004-597.nasl - Type : ACT_GATHER_INFO
2004-10-17 Name : The remote database server is affected by multiple vulnerabilities.
File : mysql_multiple_flaws3.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:33:59
  • Multiple Updates