CVE-2006-0903 json
MySQL 5.0.18 and earlier allows local users to bypass logging mechanisms via SQL queries that contain the NULL character, which are not pro…
published 2006-02-27 20 y ago modified 2026-06-16 4 mo ago also EUVD-2006-0907
- cvss
- 4.6
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- mysql RHEL 5 5.0.45-7.el5
- mysql-test RHEL 5 5.0.45-7.el5
- mysql-bench RHEL 5 5.0.45-7.el5
- mysql-server RHEL 5 5.0.45-7.el5
- mysql RHEL 1 APPLICATION_STACK 5.0.30-1.el4s1.1
- mysql-test RHEL 1 APPLICATION_STACK 5.0.30-1.el4s1.1
- mysql-bench RHEL 1 APPLICATION_STACK 5.0.30-1.el4s1.1
- mysql-server RHEL 1 APPLICATION_STACK 5.0.30-1.el4s1.1
red hat advisories RHSA-2008:0364RHSA-2007:0083RHSA-2006:0544
- mariadb104 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 10.4.30-8.5.46
- lz4 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.8.0-3.5.2
- python-mysqlclient SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.3.14-8.9.2
- mariadb-connector-c SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 3.1.22-2.35.1
- mariadb104 SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 10.4.30-150100.3.5.10
- python-mysqlclient SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 1.4.6-150100.3.3.7
suse advisories SUSE-RU-2023:4991-1SUSE-RU-2023:3956-1
- mariadb openSUSE Tumbleweed 10.6.4-2.1
opensuse advisories openSUSE-SU-2024:11038-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2006-0903 updated
Mysql log file obfuscation
-
Red Hat Application Stack v1 for Enterprise Linux AS (v.4) mysql 5.0.30-1.el4s1.1, mysql-test 5.0.30-1.el4s1.1, mysql-bench 5.0.30-1.el4s1.1, mysql-server 5.0.30-1.el4s1.1 Red Hat Application Stack v1 for Enterprise Linux ES (v.4) mysql 5.0.30-1.el4s1.1, mysql-test 5.0.30-1.el4s1.1, mysql-bench 5.0.30-1.el4s1.1, mysql-server 5.0.30-1.el4s1.1fixed: vendor fix RHSA-2007:0083
-
Red Hat Enterprise Linux (v. 5 server) mysql 5.0.45-7.el5, mysql-test 5.0.45-7.el5, mysql-bench 5.0.45-7.el5, mysql-server 5.0.45-7.el5fixed: vendor fix RHSA-2008:0364
-
Red Hat Enterprise Linux AS version 4 mysql 4.1.20-1.RHEL4.1, mysql-bench 4.1.20-1.RHEL4.1, mysql-server 4.1.20-1.RHEL4.1fixed: vendor fix RHSA-2006:0544
-
Red Hat Enterprise Linux Desktop (v. 5 client) mysql 5.0.45-7.el5, mysql-test 5.0.45-7.el5, mysql-bench 5.0.45-7.el5, mysql-server 5.0.45-7.el5fixed: vendor fix RHSA-2008:0364
-
Red Hat Enterprise Linux Desktop version 4 mysql 4.1.20-1.RHEL4.1, mysql-bench 4.1.20-1.RHEL4.1, mysql-server 4.1.20-1.RHEL4.1fixed: vendor fix RHSA-2006:0544
-
Red Hat Enterprise Linux Desktop Workstation (v. 5 client) mysql 5.0.45-7.el5, mysql-test 5.0.45-7.el5, mysql-bench 5.0.45-7.el5, mysql-server 5.0.45-7.el5fixed: vendor fix RHSA-2008:0364
-
Red Hat Enterprise Linux ES version 4 mysql 4.1.20-1.RHEL4.1, mysql-bench 4.1.20-1.RHEL4.1, mysql-server 4.1.20-1.RHEL4.1 Red Hat Enterprise Linux WS version 4 mysql 4.1.20-1.RHEL4.1, mysql-bench 4.1.20-1.RHEL4.1, mysql-server 4.1.20-1.RHEL4.1fixed: vendor fix RHSA-2006:0544
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-27326)
- Published
Exploit prediction
1.37% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-27326 MySQL 5.0.18 - Query Logging Bypass remote, 2006-02-27
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Technology feeds
References
-
mandriva.com
/security/advisories?name=MDKSA-2006:064
vendor-advisory
-
debian.org
/security/2006/dsa-1079
vendor-advisory
-
ubuntu.com
/usn/usn-274-2
vendor-advisory
-
usn.ubuntu.com
/274-1/
vendor-advisory
-
debian.org
/security/2006/dsa-1071
vendor-advisory
-
redhat.com
/support/errata/RHSA-2007-0083.html
vendor-advisory
-
debian.org
/security/2006/dsa-1073
vendor-advisory
-
redhat.com
/support/errata/RHSA-2008-0364.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2006-0544.html
vendor-advisory
-
secunia.com
/advisories/19034
third-party-advisory, vendor-advisory
- bugs.mysql.com /bug.php?id=17667
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9915
vdb-entry, signature
-
archives.neohapsis.com
/archives/fulldisclosure/2006-02/0653.html
mailing-list
- rst.void.ru /papers/advisory39.txt
-
securityfocus.com
/bid/16850
vdb-entry
-
secunia.com
/advisories/20241
third-party-advisory
-
securitytracker.com
/id?1015693
vdb-entry
-
secunia.com
/advisories/20333
third-party-advisory
-
secunia.com
/advisories/19502
third-party-advisory
-
secunia.com
/advisories/30351
third-party-advisory
-
vupen.com
/english/advisories/2006/0752
vdb-entry
-
secunia.com
/advisories/20253
third-party-advisory
-
secunia.com
/advisories/19814
third-party-advisory
-
secunia.com
/advisories/20625
third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/24966
vdb-entry
Sources
- CVE List CVE-2006-0903
- NVD CVE-2006-0903
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.