Sun MySQL up to 4.1.10 udf_init 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.
5.9$0-$5k0.00

Summaryinfo

A vulnerability marked as critical has been reported in Sun MySQL. The affected element is the function udf_init. The manipulation leads to code injection. This vulnerability is documented as CVE-2005-0709. The attack can be initiated remotely. Additionally, an exploit exists. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, has been found in Sun MySQL (Database Software). This issue affects the function udf_init. The manipulation with an unknown input leads to a code injection vulnerability. Using CWE to declare the problem leads to CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. Impacted is confidentiality, and integrity. The summary by CVE is:

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.

The weakness was released 03/11/2005 by Stefano Di Paola with isec (Website). It is possible to read the advisory at secunia.com. The identification of this vulnerability is CVE-2005-0709 since 03/11/2005. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known. The attack technique deployed by this issue is T1059 according to MITRE ATT&CK.

After immediately, there has been an exploit disclosed. The exploit is available at securityfocus.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $25k-$100k. 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 l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 117956 (CentOS Security Update for MySQL (CESA-2005:348)).

Upgrading to version 4.0.24 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at mysql.com. 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. Attack attempts may be identified with Snort ID 3528.

The vulnerability is also documented in the databases at Exploit-DB (25209), Tenable (21926), SecurityFocus (BID 12781†), OSVDB (14678†) and Secunia (SA14547†). Entries connected to this vulnerability are available at VDB-1272, VDB-24584 and VDB-24583. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Support

  • end of life (old version)

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 5.9

VulDB Base Score: 6.5
VulDB Temp Score: 5.9
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Code injection
CWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

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

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Upgrade: MySQL 4.0.24
Patch: mysql.com

Snort ID: 3528

Timelineinfo

03/11/2005 🔍
03/11/2005 +0 days 🔍
03/11/2005 +0 days 🔍
03/11/2005 +0 days 🔍
03/11/2005 +0 days 🔍
03/11/2005 +0 days 🔍
03/11/2005 +0 days 🔍
03/21/2005 +9 days 🔍
04/05/2005 +15 days 🔍
05/02/2005 +27 days 🔍
07/05/2006 +429 days 🔍
01/27/2025 +6781 days 🔍

Sourcesinfo

Vendor: oracle.com

Advisory: secunia.com
Researcher: Stefano Di Paola
Organization: isec
Status: Confirmed

CVE: CVE-2005-0709 (🔍)
GCVE (CVE): GCVE-0-2005-0709
GCVE (VulDB): GCVE-100-1271

OVAL: 🔍

SecurityFocus: 12781 - MySQL AB MySQL Multiple Remote Vulnerabilities
Secunia: 14547 - MySQL Two Vulnerabilities, Less Critical
OSVDB: 14678 - MySQL CREATE FUNCTION Arbitrary libc Code Execution
SecurityTracker: 1013415
Vulnerability Center: 7300

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/21/2005 09:41
Updated: 01/27/2025 11:32
Changes: 03/21/2005 09:41 (95), 07/01/2019 17:08 (3), 06/20/2024 02:35 (17), 01/27/2025 11:32 (2)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!