ID CVE-2010-1850
Summary Buffer overflow in MySQL 5.0 through 5.0.91 and 5.1 before 5.1.47 allows remote authenticated users to execute arbitrary code via a COM_FIELD_LIST command with a long table name.
References
Vulnerable Configurations
  • cpe:2.3:a:mysql:mysql:5.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.5.0.21:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.5.0.21:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.10:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.10:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.15:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.15:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.16:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.16:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.17:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.17:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.20:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.20:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.24:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.24:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.45b:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.45b:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.82:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.82:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.84:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.84:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.87:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.87:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.0:alpha:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.0:alpha:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.3:beta:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.3:beta:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.7:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.8:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.8:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.9:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.9:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.11:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.11:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.12:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.12:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.13:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.13:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.14:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.14:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.18:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.18:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.19:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.19:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.21:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.21:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.22:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.22:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.23:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.23:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.27:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.27:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.33:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.33:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.37:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.37:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.41:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.41:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.45:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.45:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.51:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.51:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.67:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.67:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.75:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.75:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.77:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.77:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.81:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.81:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.83:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.83:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.85:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.85:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.86:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.86:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.88:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.88:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.89:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.89:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.90:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.90:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.91:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.91:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.23:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.23:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.31:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.31:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.32:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.32:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.34:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.34:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.37:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.37:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.7:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.8:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.9:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.10:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.10:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.11:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.11:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.12:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.12:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.13:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.13:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.14:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.14:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.15:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.15:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.16:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.16:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.17:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.17:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.30:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.30:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.33:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.33:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.35:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.35:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.36:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.36:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.38:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.38:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.39:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.39:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.40:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.40:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.41:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.41:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.42:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.42:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.43:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.43:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.44:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.44:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.45:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.45:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.46:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.46:*:*:*:*:*:*:*
CVSS
Base: 6.0 (as of 05-01-2018 - 02:29)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK MEDIUM SINGLE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:M/Au:S/C:P/I:P/A:P
oval via4
  • accepted 2013-04-29T04:09:18.827-04:00
    class vulnerability
    contributors
    • name Aharon Chernin
      organization SCAP.com, LLC
    • name Dragos Prisaca
      organization G2, Inc.
    definition_extensions
    • comment The operating system installed on the system is Red Hat Enterprise Linux 5
      oval oval:org.mitre.oval:def:11414
    • comment The operating system installed on the system is CentOS Linux 5.x
      oval oval:org.mitre.oval:def:15802
    • comment Oracle Linux 5.x
      oval oval:org.mitre.oval:def:15459
    description Buffer overflow in MySQL 5.0 through 5.0.91 and 5.1 before 5.1.47 allows remote authenticated users to execute arbitrary code via a COM_FIELD_LIST command with a long table name.
    family unix
    id oval:org.mitre.oval:def:10846
    status accepted
    submitted 2010-07-09T03:56:16-04:00
    title Buffer overflow in MySQL 5.0 through 5.0.91 and 5.1 before 5.1.47 allows remote authenticated users to execute arbitrary code via a COM_FIELD_LIST command with a long table name.
    version 18
  • accepted 2013-11-11T04:02:15.123-05:00
    class vulnerability
    contributors
    • name J. Daniel Brown
      organization DTCC
    • name Maria Kedovskaya
      organization ALTX-SOFT
    definition_extensions
    • comment MySQL 5.0 is installed
      oval oval:org.mitre.oval:def:8282
    • comment MySQL 5.1 is installed
      oval oval:org.mitre.oval:def:8297
    description Buffer overflow in MySQL 5.0 through 5.0.91 and 5.1 before 5.1.47 allows remote authenticated users to execute arbitrary code via a COM_FIELD_LIST command with a long table name.
    family windows
    id oval:org.mitre.oval:def:6693
    status accepted
    submitted 2010-06-07T17:30:00.000-05:00
    title Oracle MySQL 'COM_FIELD_LIST' Command Buffer Overflow Vulnerability
    version 19
redhat via4
advisories
bugzilla
id 592091
title CVE-2010-1850 mysql: COM_FIELD_LIST table name buffer overflow
oval
AND
  • comment Red Hat Enterprise Linux 5 is installed
    oval oval:com.redhat.rhba:tst:20070331001
  • OR
    • AND
      • comment mysql is earlier than 0:5.0.77-4.el5_5.3
        oval oval:com.redhat.rhsa:tst:20100442002
      • comment mysql is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhsa:tst:20070875012
    • AND
      • comment mysql-bench is earlier than 0:5.0.77-4.el5_5.3
        oval oval:com.redhat.rhsa:tst:20100442010
      • comment mysql-bench is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhsa:tst:20070875018
    • AND
      • comment mysql-devel is earlier than 0:5.0.77-4.el5_5.3
        oval oval:com.redhat.rhsa:tst:20100442008
      • comment mysql-devel is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhsa:tst:20070875014
    • AND
      • comment mysql-server is earlier than 0:5.0.77-4.el5_5.3
        oval oval:com.redhat.rhsa:tst:20100442006
      • comment mysql-server is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhsa:tst:20070875016
    • AND
      • comment mysql-test is earlier than 0:5.0.77-4.el5_5.3
        oval oval:com.redhat.rhsa:tst:20100442004
      • comment mysql-test is signed with Red Hat redhatrelease key
        oval oval:com.redhat.rhsa:tst:20070875020
rhsa
id RHSA-2010:0442
released 2010-05-26
severity Important
title RHSA-2010:0442: mysql security update (Important)
rpms
  • mysql-0:5.0.77-4.el5_5.3
  • mysql-bench-0:5.0.77-4.el5_5.3
  • mysql-devel-0:5.0.77-4.el5_5.3
  • mysql-server-0:5.0.77-4.el5_5.3
  • mysql-test-0:5.0.77-4.el5_5.3
refmap via4
apple APPLE-SA-2010-11-10-1
confirm
mandriva MDVSA-2010:107
sectrack 1024033
suse SUSE-SR:2010:019
ubuntu USN-1397-1
Last major update 05-01-2018 - 02:29
Published 08-06-2010 - 00:30
Last modified 17-12-2019 - 20:26
Back to Top