CVE-2006-0903
Summary
| CVE | CVE-2006-0903 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2006-02-27 23:02:00 UTC |
| Updated | 2025-04-03 01:03:51 UTC |
| Description | MySQL 5.0.18 and earlier allows local users to bypass logging mechanisms via SQL queries that contain the NULL character, which are not properly handled by the mysql_real_query function. NOTE: this issue was originally reported for the mysql_query function, but the vendor states that since mysql_query expects a null character, this is not an issue for mysql_query. |
Risk And Classification
Primary CVSS: v2.0 4.6 from [email protected]
AV:L/AC:L/Au:N/C:P/I:P/A:P
EPSS: 0.002420000 probability, percentile 0.475490000 (date 2026-04-16)
Problem Types: NVD-CWE-Other | n/a
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
LowAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:L/AC:L/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Mysql | Mysql | 4.1.0 | All | All | All |
| Application | Mysql | Mysql | 4.1.10 | All | All | All |
| Application | Mysql | Mysql | 4.1.12 | All | All | All |
| Application | Mysql | Mysql | 4.1.13 | All | All | All |
| Application | Mysql | Mysql | 4.1.14 | All | All | All |
| Application | Mysql | Mysql | 4.1.15 | All | All | All |
| Application | Mysql | Mysql | 4.1.3 | All | All | All |
| Application | Mysql | Mysql | 4.1.8 | All | All | All |
| Application | Mysql | Mysql | 5.0.1 | All | All | All |
| Application | Mysql | Mysql | 5.0.10 | All | All | All |
| Application | Mysql | Mysql | 5.0.15 | All | All | All |
| Application | Mysql | Mysql | 5.0.16 | All | All | All |
| Application | Mysql | Mysql | 5.0.17 | All | All | All |
| Application | Mysql | Mysql | 5.0.2 | All | All | All |
| Application | Mysql | Mysql | 5.0.4 | All | All | All |
| Application | Mysql | Mysql | 5.0.5 | All | All | All |
| Application | Oracle | Mysql | 3.23 | All | All | All |
| Application | Oracle | Mysql | 3.23.0 | alpha | All | All |
| Application | Oracle | Mysql | 3.23.1 | All | All | All |
| Application | Oracle | Mysql | 3.23.10 | All | All | All |
| Application | Oracle | Mysql | 3.23.11 | All | All | All |
| Application | Oracle | Mysql | 3.23.12 | All | All | All |
| Application | Oracle | Mysql | 3.23.13 | All | All | All |
| Application | Oracle | Mysql | 3.23.14 | All | All | All |
| Application | Oracle | Mysql | 3.23.15 | All | All | All |
| Application | Oracle | Mysql | 3.23.16 | All | All | All |
| Application | Oracle | Mysql | 3.23.17 | All | All | All |
| Application | Oracle | Mysql | 3.23.18 | All | All | All |
| Application | Oracle | Mysql | 3.23.19 | All | All | All |
| Application | Oracle | Mysql | 3.23.2 | All | All | All |
| Application | Oracle | Mysql | 3.23.20 | beta | All | All |
| Application | Oracle | Mysql | 3.23.21 | All | All | All |
| Application | Oracle | Mysql | 3.23.22 | All | All | All |
| Application | Oracle | Mysql | 3.23.23 | All | All | All |
| Application | Oracle | Mysql | 3.23.24 | All | All | All |
| Application | Oracle | Mysql | 3.23.25 | All | All | All |
| Application | Oracle | Mysql | 3.23.26 | All | All | All |
| Application | Oracle | Mysql | 3.23.27 | All | All | All |
| Application | Oracle | Mysql | 3.23.28 | gamma | All | All |
| Application | Oracle | Mysql | 3.23.29 | All | All | All |
| Application | Oracle | Mysql | 3.23.3 | All | All | All |
| Application | Oracle | Mysql | 3.23.30 | All | All | All |
| Application | Oracle | Mysql | 3.23.31 | All | All | All |
| Application | Oracle | Mysql | 3.23.32 | All | All | All |
| Application | Oracle | Mysql | 3.23.33 | All | All | All |
| Application | Oracle | Mysql | 3.23.34 | All | All | All |
| Application | Oracle | Mysql | 3.23.35 | All | All | All |
| Application | Oracle | Mysql | 3.23.36 | All | All | All |
| Application | Oracle | Mysql | 3.23.37 | All | All | All |
| Application | Oracle | Mysql | 3.23.38 | All | All | All |
| Application | Oracle | Mysql | 3.23.39 | All | All | All |
| Application | Oracle | Mysql | 3.23.4 | All | All | All |
| Application | Oracle | Mysql | 3.23.40 | All | All | All |
| Application | Oracle | Mysql | 3.23.41 | All | All | All |
| Application | Oracle | Mysql | 3.23.42 | All | All | All |
| Application | Oracle | Mysql | 3.23.43 | All | All | All |
| Application | Oracle | Mysql | 3.23.44 | All | All | All |
| Application | Oracle | Mysql | 3.23.45 | All | All | All |
| Application | Oracle | Mysql | 3.23.46 | All | All | All |
| Application | Oracle | Mysql | 3.23.47 | All | All | All |
| Application | Oracle | Mysql | 3.23.48 | All | All | All |
| Application | Oracle | Mysql | 3.23.49 | All | All | All |
| Application | Oracle | Mysql | 3.23.5 | All | All | All |
| Application | Oracle | Mysql | 3.23.50 | All | All | All |
| Application | Oracle | Mysql | 3.23.51 | All | All | All |
| Application | Oracle | Mysql | 3.23.52 | All | All | All |
| Application | Oracle | Mysql | 3.23.53 | All | All | All |
| Application | Oracle | Mysql | 3.23.54 | All | All | All |
| Application | Oracle | Mysql | 3.23.55 | All | All | All |
| Application | Oracle | Mysql | 3.23.56 | All | All | All |
| Application | Oracle | Mysql | 3.23.57 | All | All | All |
| Application | Oracle | Mysql | 3.23.58 | All | All | All |
| Application | Oracle | Mysql | 3.23.59 | All | All | All |
| Application | Oracle | Mysql | 3.23.6 | All | All | All |
| Application | Oracle | Mysql | 3.23.7 | All | All | All |
| Application | Oracle | Mysql | 3.23.8 | All | All | All |
| Application | Oracle | Mysql | 3.23.9 | All | All | All |
| Application | Oracle | Mysql | 4.0.0 | All | All | All |
| Application | Oracle | Mysql | 4.0.1 | All | All | All |
| Application | Oracle | Mysql | 4.0.10 | All | All | All |
| Application | Oracle | Mysql | 4.0.11 | All | All | All |
| Application | Oracle | Mysql | 4.0.11 | gamma | All | All |
| Application | Oracle | Mysql | 4.0.12 | All | All | All |
| Application | Oracle | Mysql | 4.0.13 | All | All | All |
| Application | Oracle | Mysql | 4.0.14 | All | All | All |
| Application | Oracle | Mysql | 4.0.15 | All | All | All |
| Application | Oracle | Mysql | 4.0.16 | All | All | All |
| Application | Oracle | Mysql | 4.0.17 | All | All | All |
| Application | Oracle | Mysql | 4.0.18 | All | All | All |
| Application | Oracle | Mysql | 4.0.19 | All | All | All |
| Application | Oracle | Mysql | 4.0.2 | All | All | All |
| Application | Oracle | Mysql | 4.0.20 | All | All | All |
| Application | Oracle | Mysql | 4.0.21 | All | All | All |
| Application | Oracle | Mysql | 4.0.23 | All | All | All |
| Application | Oracle | Mysql | 4.0.24 | All | All | All |
| Application | Oracle | Mysql | 4.0.25 | All | All | All |
| Application | Oracle | Mysql | 4.0.26 | All | All | All |
| Application | Oracle | Mysql | 4.0.27 | All | All | All |
| Application | Oracle | Mysql | 4.0.3 | All | All | All |
| Application | Oracle | Mysql | 4.0.4 | All | All | All |
| Application | Oracle | Mysql | 4.0.5 | All | All | All |
| Application | Oracle | Mysql | 4.0.5a | All | All | All |
| Application | Oracle | Mysql | 4.0.6 | All | All | All |
| Application | Oracle | Mysql | 4.0.7 | All | All | All |
| Application | Oracle | Mysql | 4.0.7 | gamma | All | All |
| Application | Oracle | Mysql | 4.0.8 | All | All | All |
| Application | Oracle | Mysql | 4.0.8 | gamma | All | All |
| Application | Oracle | Mysql | 4.0.9 | All | All | All |
| Application | Oracle | Mysql | 4.0.9 | gamma | All | All |
| Application | Oracle | Mysql | 4.1.0 | alpha | All | All |
| Application | Oracle | Mysql | 4.1.11 | All | All | All |
| Application | Oracle | Mysql | 4.1.16 | All | All | All |
| Application | Oracle | Mysql | 4.1.17 | All | All | All |
| Application | Oracle | Mysql | 4.1.18 | All | All | All |
| Application | Oracle | Mysql | 4.1.19 | All | All | All |
| Application | Oracle | Mysql | 4.1.2 | alpha | All | All |
| Application | Oracle | Mysql | 4.1.3 | beta | All | All |
| Application | Oracle | Mysql | 4.1.4 | All | All | All |
| Application | Oracle | Mysql | 4.1.5 | All | All | All |
| Application | Oracle | Mysql | 4.1.6 | All | All | All |
| Application | Oracle | Mysql | 4.1.7 | All | All | All |
| Application | Oracle | Mysql | 4.1.9 | All | All | All |
| Application | Oracle | Mysql | 5.0.0 | alpha | All | All |
| Application | Oracle | Mysql | 5.0.11 | All | All | All |
| Application | Oracle | Mysql | 5.0.12 | All | All | All |
| Application | Oracle | Mysql | 5.0.13 | All | All | All |
| Application | Oracle | Mysql | 5.0.14 | All | All | All |
| Application | Oracle | Mysql | 5.0.18 | All | All | All |
| Application | Oracle | Mysql | 5.0.3 | beta | All | All |
| Application | Oracle | Mysql | 5.0.6 | All | All | All |
| Application | Oracle | Mysql | 5.0.7 | All | All | All |
| Application | Oracle | Mysql | 5.0.8 | All | All | All |
| Application | Oracle | Mysql | 5.0.9 | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| rst.void.ru/papers/advisory39.txt | af854a3a-2127-422b-91ae-364da2661108 | rst.void.ru | |
| Red Hat update for mysql - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| MySQL Query Logging Bypass Security Issue - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| rhn.redhat.com | Red Hat Support | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | |
| Debian -- Security Information -- DSA-1073-1 mysql-dfsg-4.1 | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | |
| Webmail : Solution de messagerie professionnelle - OVHcloud- OVH | af854a3a-2127-422b-91ae-364da2661108 | www.vupen.com | |
| Debian update for mysql - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| Debian update for mysql-dfsg - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| Support | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | |
| Debian -- Security Information -- DSA-1071-1 mysql | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | |
| usn/usn-274-2 - Ubuntu: Linux for human beings | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | |
| Advisories - Mandriva Linux | af854a3a-2127-422b-91ae-364da2661108 | www.mandriva.com | |
| rhn.redhat.com | Red Hat Support | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | |
| Debian -- Security Information -- DSA-1079-1 mysql-dfsg | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | |
| Secunia - Advisories - Mandriva update for MySQL | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| IBM X-Force Exchange | af854a3a-2127-422b-91ae-364da2661108 | exchange.xforce.ibmcloud.com | |
| USN-274-1: MySQL vulnerability | Ubuntu security notices | af854a3a-2127-422b-91ae-364da2661108 | usn.ubuntu.com | |
| SecurityTracker.com Archives - MySQL Query Bug Lets Remote Users Bypass Query Logging | af854a3a-2127-422b-91ae-364da2661108 | securitytracker.com | |
| Debian update for mysql-dfsg - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| Repository / Oval Repository | af854a3a-2127-422b-91ae-364da2661108 | oval.cisecurity.org | |
| Red Hat update for mysql - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| MySQL Query Logging Bypass Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| archives.neohapsis.com/archives/fulldisclosure/2006-02/0653.html | af854a3a-2127-422b-91ae-364da2661108 | archives.neohapsis.com | |
| MySQL Bugs: #17667: An attacker has the opportunity to bypass query logging. | af854a3a-2127-422b-91ae-364da2661108 | bugs.mysql.com | |
| Ubuntu update for MySQL - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
| Organization | Published | Contributor | Statement |
|---|---|---|---|
| Red Hat | 2006-09-19 | Mark J Cox | Red Hat is aware of this issue and is tracking it via the following bug for Red Hat Enterprise Linux 2.1 and 3: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=194613 The Red Hat Security Response Team has rated this issue as having low security impact, a future update may address this flaw. More information regarding issue severity can be found here: http://www.redhat.com/security/updates/classification/ This issue has been fixed for Red Hat Enterprise Linux 4 in RHSA-2006:0544. |
There are currently no legacy QID mappings associated with this CVE.