CVE-2006-0903 Security feature bypass in n/a

Medium 4.6 Published Updated

Local users can bypass MySQL logging mechanisms by injecting NULL characters into SQL queries, hiding their activities from audit trails.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2006-0903?

CVE-2006-0903 is a medium-severity vulnerability in Mysql Mysql, published on 27 Feb 2006. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2006-0903?

It affects 2 products.

Products include Mysql Mysql, Oracle Mysql.

How do I fix CVE-2006-0903?

Upgrade to a fixed version.

Is CVE-2006-0903 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-0903 exists.

Public exploit code: 1 Exploit-DB entry.

All Mysql Mysql vulnerabilities

Sources

Also known as GHSA-4qqq-9pg4-j3vh.

Is CVE-2006-0903 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free