Executive Summary

Summary
Title mySQL vulnerabilities
Informations
Name USN-96-1 First vendor Publication 2005-03-16
Vendor Ubuntu Last vendor Modification 2005-03-16
Severity (Vendor) N/A Revision N/A

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:L/AC:L/Au:N/C:P/I:P/A:P)
Cvss Base Score 4.6 Attack Range Local
Cvss Impact Score 6.4 Attack Complexity Low
Cvss Expoit Score 3.9 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

A security issue affects the following Ubuntu releases:

Ubuntu 4.10 (Warty Warthog)

The following packages are affected:

mysql-server

The problem can be corrected by upgrading the affected package to version 4.0.20-2ubuntu1.4. In general, a standard system upgrade is sufficient to effect the necessary changes.

Details follow:

Stefano Di Paola discovered three privilege escalation flaws in the MySQL server:

- If an authenticated user had INSERT privileges on the 'mysql' administrative
database, the CREATE FUNCTION command allowed that user to use libc functions
to execute arbitrary code with the privileges of the database server (user
'mysql'). (CAN-2005-0709)

- If an authenticated user had INSERT privileges on the 'mysql' administrative
database, it was possible to load a library located in an arbitrary directory
by using INSERT INTO mysql.func instead of CREATE FUNCTION. This allowed the
user to execute arbitrary code with the privileges of the database server (user
'mysql'). (CAN-2005-0710)

- Temporary files belonging to tables created with CREATE TEMPORARY TABLE were
handled in an insecure way. This allowed any local computer user to overwrite
arbitrary files with the privileges of the database server. (CAN-2005-0711)

Matt Brubeck discovered that the directory /usr/share/mysql/ was owned and writable by the database server user 'mysql'. This directory contains scripts which are usually run by root. This allowed a local attacker who already has mysql privileges to gain full root access by modifying a script and tricking root into executing it.

Original Source

Url : http://www.ubuntu.com/usn/USN-96-1

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 34

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
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-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

Snort® IPS/IDS

Date Description
2014-01-10 create function access attempt
RuleID : 3528 - Revision : 12 - Type : SERVER-MYSQL
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
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 120292-02
File : solaris10_120292.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-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-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

Alert History

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