Sun MySQL up to 5.0.4 Installation mysql_install_db privileges management

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.7$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, has been found in Sun MySQL. Affected by this vulnerability is an unknown functionality of the file mysql_install_db of the component Installation. Performing a manipulation results in privileges management. This vulnerability is known as CVE-2005-1636. Access to the local network is required for this attack. Furthermore, an exploit is available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability classified as problematic has been found in Sun MySQL (Database Software). This affects an unknown functionality of the file mysql_install_db of the component Installation. The manipulation with an unknown input leads to a privileges management vulnerability. CWE is classifying the issue as CWE-269. The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

mysql_install_db in MySQL 4.1.x before 4.1.12 and 5.x up to 5.0.4 creates the mysql_install_db.X file with a predictable filename and insecure permissions, which allows local users to execute arbitrary SQL commands by modifying the file s contents.

The bug was discovered 05/07/2005. The weakness was published 05/19/2005 by Eric Romang (Website). The advisory is shared at zataz.net. This vulnerability is uniquely identified as CVE-2005-1636 since 05/17/2005. The attack can only be done within the local network. No form of authentication is needed for exploitation. Technical details and a exploit are known. MITRE ATT&CK project uses the attack technique T1068 for this issue.

After before and not just, there has been an exploit disclosed. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 10 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 20963 , which helps to determine the existence of the flaw in a target environment. It is . The commercial vulnerability scanner Qualys is able to test this issue with plugin 19689 (MySQL mysql_install_db Insecure Temporary File Creation Vulnerability).

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at dev.mysql.com. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 4 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (20656), Tenable (20963), SecurityFocus (BID 13660†), OSVDB (16689†) and Secunia (SA17080†). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

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.3
VulDB Meta Temp Score: 5.7

VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Privileges management
CWE: CWE-269 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 20963
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 55164
OpenVAS Name: Debian Security Advisory DSA 783-1 (mysql-dfsg-4.1)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Patch: dev.mysql.com

Timelineinfo

05/07/2005 🔍
05/17/2005 +10 days 🔍
05/17/2005 +0 days 🔍
05/17/2005 +0 days 🔍
05/17/2005 +0 days 🔍
05/17/2005 +0 days 🔍
05/19/2005 +2 days 🔍
05/19/2005 +0 days 🔍
05/22/2005 +2 days 🔍
05/30/2005 +8 days 🔍
08/24/2005 +86 days 🔍
07/02/2025 +7252 days 🔍

Sourcesinfo

Vendor: oracle.com

Advisory: zataz.net
Researcher: Eric Romang
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2005-1636 (🔍)
GCVE (CVE): GCVE-0-2005-1636
GCVE (VulDB): GCVE-100-1485

OVAL: 🔍

X-Force: 20656
SecurityFocus: 13660 - MySQL mysql_install_db Insecure Temporary File Creation Vulnerability
Secunia: 17080 - Red Hat update for mysql, Less Critical
OSVDB: 16689 - MySQL mysql_install_db Symlink Arbitrary File Overwrite
Vulnerability Center: 8038 - Symlink Attack in MySql < 4.0.12 and 5.0 - 5.0.4 via 'mysql_install_db\x27, Medium

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

Entryinfo

Created: 05/30/2005 14:42
Updated: 07/02/2025 16:43
Changes: 05/30/2005 14:42 (85), 07/03/2019 07:40 (6), 03/11/2021 11:41 (3), 07/02/2025 16:43 (18)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!