Sun MySQL up to 4.1.10 Temporary Table code injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability, which was classified as critical, was found in Sun MySQL (Database Software). Affected is an unknown code block of the component Temporary Table Handler. The manipulation with the input value CREATE TEMPORARY TABLE leads to a privilege escalation vulnerability. CWE is classifying the issue as CWE-94. This is going to have an impact on confidentiality, integrity, and availability.

The weakness was disclosed 03/11/2005 by Stefano Di Paola with isec (Website). The advisory is shared for download at This vulnerability is traded as CVE-2005-0709 since 03/11/2005. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known.

It is declared as proof-of-concept. The exploit is shared for download at As 0-day the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 21926 (CentOS 3 : mysql-server (CESA-2005:348)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks and running in the context local. The commercial vulnerability scanner Qualys is able to test this issue with plugin 117956 (CentOS Security Update for MySQL (CESA-2005:348)).

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 4022.

The vulnerability is also documented in the databases at SecurityFocus (BID 12781), X-Force (19658), Secunia (SA14547), Vulnerability Center (SBV-7300) and Tenable (21926). The entries 1271, 24584 and 24583 are pretty similar.





CPE 2.3infoedit

CPE 2.2infoedit


VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍



VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍


Class: Privilege escalation
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 21926
Nessus Name: CentOS 3 : mysql-server (CESA-2005:348)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 53750
OpenVAS Name: Debian Security Advisory DSA 707-1 (mysql)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfoedit

Threat: 🔍
Adversaries: 🔍
Geopolitics: 🔍
Economy: 🔍
Predictions: 🔍
Remediation: 🔍


Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

SourceFire IPS: 🔍
ISS Proventia IPS: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍


01/01/2005 🔍
03/11/2005 +69 days 🔍
03/11/2005 +0 days 🔍
03/11/2005 +0 days 🔍
03/11/2005 +0 days 🔍
03/14/2005 +3 days 🔍
03/21/2005 +7 days 🔍
04/05/2005 +15 days 🔍
05/02/2005 +27 days 🔍
07/05/2006 +429 days 🔍
03/19/2018 +4275 days 🔍
07/01/2019 +469 days 🔍



Researcher: Stefano Di Paola
Organization: isec
Status: Not defined

CVE: CVE-2005-0709 (🔍)

SecurityFocus: 12781 - MySQL AB MySQL Multiple Remote Vulnerabilities
Secunia: 14547 - MySQL Two Vulnerabilities, Less Critical
X-Force: 19658
Vulnerability Center: 7300 - Remote Arbitrary Code Execution in MySQL via CREATE FUNCTION Command, Medium
OSVDB: 14678 - MySQL CREATE FUNCTION Arbitrary libc Code Execution

scip Labs:
See also: 🔍


Created: 03/21/2005 09:41 AM
Updated: 07/01/2019 04:56 PM
Changes: (4) exploit_url countermeasure_date source_osvdb source_osvdb_title
Complete: 🔍


No comments yet. Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!