Sun MySQL up to 5.0.4 Installation mysql_install_db privileges management
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.7 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Vendor
Name
Version
License
Support
- end of life (old version)
Website
- Vendor: https://www.oracle.com/sun/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 5.7
VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Privileges managementCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: dev.mysql.com
Timeline
05/07/2005 🔍05/17/2005 🔍
05/17/2005 🔍
05/17/2005 🔍
05/17/2005 🔍
05/17/2005 🔍
05/19/2005 🔍
05/19/2005 🔍
05/22/2005 🔍
05/30/2005 🔍
08/24/2005 🔍
07/02/2025 🔍
Sources
Vendor: oracle.comAdvisory: 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
Entry
Created: 05/30/2005 14:42Updated: 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.
No comments yet. Languages: en.
Please log in to comment.