Vulnerabilities > CVE-2012-0882 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in multiple products

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN

Summary

Buffer overflow in yaSSL, as used in MySQL 5.5.20 and possibly other versions including 5.5.x before 5.5.22 and 5.1.x before 5.1.62, allows remote attackers to execute arbitrary code via unspecified vectors, as demonstrated by VulnDisco Pack Professional 9.17. NOTE: as of 20120224, this disclosure has no actionable information. However, because the module author is a reliable researcher, the issue is being assigned a CVE identifier for tracking purposes. NOTE: due to lack of details, it is not clear whether this issue is a duplicate of CVE-2012-0492 or another CVE.

Vulnerable Configurations

Part Description Count
Application
Oracle
86
Application
Mysql
6

Common Attack Pattern Enumeration and Classification (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.

Nessus

  • NASL familyDatabases
    NASL idMYSQL_5_1_62.NASL
    descriptionThe version of MySQL 5.1 installed on the remote host is earlier than 5.1.62. It is, therefore, affected by the following vulnerabilities : - An error exists related to the included yaSSL component that could allow arbitrary code execution. (CVE-2012-0882) - Errors exist related to
    last seen2020-06-01
    modified2020-06-02
    plugin id58802
    published2012-04-19
    reporterThis script is Copyright (C) 2012-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/58802
    titleMySQL 5.1 < 5.1.62 Multiple Vulnerabilities
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(58802);
      script_version("1.11");
      script_cvs_date("Date: 2018/11/15 20:50:21");
      script_cve_id(
        "CVE-2012-0882",
        "CVE-2012-1688",
        "CVE-2012-1690",
        "CVE-2012-1703",
        "CVE-2012-2102"
      );
      script_bugtraq_id(51925, 52931, 53058, 53067, 53074);
    
      script_name(english:"MySQL 5.1 < 5.1.62 Multiple Vulnerabilities");
      script_summary(english:"Checks version of MySQL server");
    
      script_set_attribute(
        attribute:"synopsis",
        value:"The remote database server is affected by multiple vulnerabilities."
      );
      script_set_attribute(
        attribute:"description",
        value:
    "The version of MySQL 5.1 installed on the remote host is earlier
    than 5.1.62. It is, therefore, affected by the following
    vulnerabilities :
    
      - An error exists related to the included yaSSL
        component that could allow arbitrary code execution.
        (CVE-2012-0882)
    
      - Errors exist related to 'Server Optimizer',
        'Server DML', 'Partition' and, in combination with
        InnoDB, 'HANDLER READ NEXT' that could allow denial of
        service attacks. (CVE-2012-1688, CVE-2012-1690,
        CVE-2012-1703, CVE-2012-2102)"
      );
      script_set_attribute(attribute:"see_also", value:"https://www.oracle.com/technetwork/topics/security/cpuapr2012-366314.html");
      # https://eromang.zataz.com/2012/04/10/oracle-mysql-innodb-bugs-13510739-and-63775-dos-demo/
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4225df87");
      script_set_attribute(attribute:"see_also", value:"http://dev.mysql.com/doc/refman/5.1/en/news-5-1-62.html");
      # https://eromang.zataz.com/2012/04/10/oracle-mysql-innodb-bugs-13510739-and-63775-dos-demo/
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4225df87");
      script_set_attribute(attribute:"see_also", value:"https://www.openwall.com/lists/oss-security/2012/02/24/2");
      script_set_attribute(attribute:"solution", value:"Upgrade to MySQL version 5.1.62 or later.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2012/04/17");
      script_set_attribute(attribute:"patch_publication_date", value:"2012/03/21");
      script_set_attribute(attribute:"plugin_publication_date", value:"2012/04/19");
    
      script_set_attribute(attribute:"plugin_type", value:"remote");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:mysql:mysql");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Databases");
    
      script_copyright(english:"This script is Copyright (C) 2012-2018 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("mysql_version.nasl", "mysql_login.nasl");
      script_require_keys("Settings/ParanoidReport");
      script_require_ports("Services/mysql", 3306);
    
      exit(0);
    }
    
    include("mysql_version.inc");
    
    mysql_check_version(fixed:'5.1.62', min:'5.1', severity:SECURITY_WARNING);
    
  • NASL familyJunos Local Security Checks
    NASL idJUNIPER_SPACE_JSA10601.NASL
    descriptionAccording to its self-reported version number, the remote Junos Space version is prior to 13.1R1. It is, therefore, affected by multiple vulnerabilities related to the installed MySQL version.
    last seen2020-06-01
    modified2020-06-02
    plugin id80193
    published2014-12-22
    reporterThis script is Copyright (C) 2014-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/80193
    titleJuniper Junos Space < 13.1R1 MySQL Multiple Vulnerabilities (JSA10601)
  • NASL familyDatabases
    NASL idMYSQL_5_5_22.NASL
    descriptionThe version of MySQL 5.5 installed on the remote host is earlier than 5.5.22. It is, therefore, affected by the following vulnerabilities : - An error exists related to the included yaSSL component that could allow arbitrary code execution. (CVE-2012-0882) - Errors exist related to
    last seen2020-06-01
    modified2020-06-02
    plugin id58661
    published2012-04-11
    reporterThis script is Copyright (C) 2012-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/58661
    titleMySQL 5.5 < 5.5.22 Multiple Vulnerabilities