Sun MySQL up to 5.1.11 mysql_real_escape_string Multibyte SQL Statement sql injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Sun MySQL up to 5.1.11. It has been declared as critical. Affected by this vulnerability is the function mysql_real_escape_string. Such manipulation as part of Multibyte SQL Statement leads to sql injection.
This vulnerability is listed as CVE-2006-2753. The attack may be performed from remote. There is no available exploit.
It is recommended to upgrade the affected component.
Details
A vulnerability, which was classified as critical, has been found in Sun MySQL up to 5.1.11 (Database Software). Affected by this issue is the function mysql_real_escape_string. The manipulation as part of a Multibyte SQL Statement leads to a sql injection vulnerability. Using CWE to declare the problem leads to CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. CVE summarizes:
SQL injection vulnerability in MySQL 4.1.x before 4.1.20 and 5.0.x before 5.0.22 allows context-dependent attackers to execute arbitrary SQL commands via crafted multibyte encodings in character sets such as SJIS, BIG5, and GBK, which are not properly handled when the mysql_real_escape function is used to escape the input.
The bug was discovered 05/31/2006. The weakness was presented 06/02/2006 by Josh Berkus and Tom Lane (Website). The advisory is shared for download at dev.mysql.com. This vulnerability is handled as CVE-2006-2753 since 06/01/2006. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1505.
It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 21706 (GLSA-200606-13 : MySQL: SQL Injection), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 19235 (MySQL Multibyte Encoding SQL Injection 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 6 days after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (26875), Tenable (21706), SecurityFocus (BID 18219†), OSVDB (25987†) and Secunia (SA20712†). VulDB is the best source for vulnerability data and more expert information about this specific topic.
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: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
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: Sql injectionCWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
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: 21706
Nessus Name: GLSA-200606-13 : MySQL: SQL Injection
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 56924
OpenVAS Name: Debian Security Advisory DSA 1092-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/31/2006 🔍06/01/2006 🔍
06/01/2006 🔍
06/01/2006 🔍
06/01/2006 🔍
06/02/2006 🔍
06/02/2006 🔍
06/03/2006 🔍
06/04/2006 🔍
06/08/2006 🔍
06/12/2006 🔍
06/16/2006 🔍
06/19/2019 🔍
Sources
Vendor: oracle.comAdvisory: dev.mysql.com
Researcher: Josh Berkus, Tom Lane
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2006-2753 (🔍)
GCVE (CVE): GCVE-0-2006-2753
GCVE (VulDB): GCVE-100-2288
OVAL: 🔍
X-Force: 26875 - MySQL ASCII escaping SQL injection, Medium Risk
SecurityFocus: 18219 - MySQL Mysql_real_escape Function SQL Injection Vulnerability
Secunia: 20712 - Ubuntu update for mysql-dfsg, Moderately Critical
OSVDB: 25987 - MySQL Multibyte Encoding SQL Injection Filter Bypass
SecurityTracker: 1016216
Vulnerability Center: 11751 - MySQL SQL Injection Vulnerability in mysql_real_escape_string Function, Medium
Vupen: ADV-2006-2105
Entry
Created: 06/12/2006 12:50Updated: 06/19/2019 19:01
Changes: 06/12/2006 12:50 (103), 06/19/2019 19:01 (1)
Complete: 🔍
Cache ID: 216:01E:103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.