nday
CVE-2006-0903

MySQL 5.0.18 and earlier allows local users to bypass logging mechanisms via SQL queries that…Title composed by nday; the CVE record has none.

A public PoC appeared on the day of disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: exploitdb. Not in CISA KEV.

tags accesslocalno authentication required exploitationExploit-DB productMySQL product typedatabase
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

local
AV:L in AV:L/AC:L/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:L/AC:L/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
Exploit-DB
Exploit-DB entries 27326
MySQL
CPE names NVD's analysts give as vulnerable: a:mysql:mysql, a:oracle:mysql
database
CPE names NVD's analysts give as vulnerable: a:mysql:mysql, a:oracle:mysqlthe product type of MySQL in nday's product registry

CVSS 2.0 has no user-interaction metric, so “no user interaction” and “remote, unauthenticated” are never assigned from a CVSS 2.0 vector.

stage
POC
disclosed
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2006-02-27T23:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2006-02-27, date only
ITWexploited
no record yet
KEVKEV
no record yet

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.

Original text of the CVE record (cvelist), shown as published.

Event log

2006-02-27date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “MySQL 5.0.18 - Query Logging Bypass” (EDB-27326). Verified by Exploit-DB.

src exploitdb 27326 · nday , bulk import · raw
{
  "id": 25092,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/27326",
  "occurred_at": "2006-02-27T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "27326",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/27326",
    "file": "exploits/linux/remote/27326.txt",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "MySQL 5.0.18 - Query Logging Bypass",
    "author": "1dt.w0lf",
    "edb_id": 27326,
    "cve_ids": [
      "CVE-2006-0903"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2006-02-27",
    "date_updated": "2013-08-04",
    "date_published": "2006-02-27"
  }
}
+DISdisclosed

CVE record published by redhat.

src cvelist · nday , bulk import · raw
{
  "id": 89313,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2006-0903",
  "occurred_at": "2006-02-27T23:00:00Z",
  "observed_at": "2026-11-13T05:35:44.026125Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2006-02-27T23:00:00.000Z",
    "assigner_short_name": "redhat"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.