Vulnerabilities > CVE-2009-2121 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Google Chrome

047910
CVSS 9.3 - CRITICAL
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
google
CWE-119
critical
nessus

Summary

Buffer overflow in the browser kernel in Google Chrome before 2.0.172.33 allows remote HTTP servers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted response.

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 familyWindows
NASL idGOOGLE_CHROME_2_0_172_33.NASL
descriptionThe version of Google Chrome installed on the remote host is earlier than 2.0.172.33. Such versions are reportedly affected by multiple issues : - A buffer overflow caused by handling unspecified HTTP responses. This could lead to a denial of service or execution of arbitrary code. (CVE-2009-2121) - A denial of service caused by SSL renegotiation. This could cause the browser to crash.
last seen2020-06-01
modified2020-06-02
plugin id39492
published2009-06-23
reporterThis script is Copyright (C) 2009-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/39492
titleGoogle Chrome < 2.0.172.33 Multiple Vulnerabilities
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(39492);
  script_version("1.15");
  script_cvs_date("Date: 2018/11/15 20:50:27");

  script_cve_id("CVE-2009-2121");
  script_bugtraq_id(35462, 35463);
  script_xref(name:"Secunia", value:"35548");

  script_name(english:"Google Chrome < 2.0.172.33 Multiple Vulnerabilities");
  script_summary(english:"Checks version number of Google Chrome");

  script_set_attribute(attribute:"synopsis", value:
"The remote host contains a web browser that is affected by multiple
vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of Google Chrome installed on the remote host is earlier
than 2.0.172.33.  Such versions are reportedly affected by multiple
issues :

  - A buffer overflow caused by handling unspecified HTTP
    responses.  This could lead to a denial of service or
    execution of arbitrary code. (CVE-2009-2121)

  - A denial of service caused by SSL renegotiation.  This could
    cause the browser to crash.");
  script_set_attribute(attribute:"see_also", value:"https://bugs.chromium.org/p/chromium/issues/detail?id=13226");
  # https://chromereleases.googleblog.com/2009/06/stable-beta-update-security-fix.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?fe07ffbf");
  script_set_attribute(attribute:"solution", value:"Upgrade to Google Chrome 2.0.172.33 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
  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_cwe_id(119);

  script_set_attribute(attribute:"patch_publication_date", value:"2009/06/22");
  script_set_attribute(attribute:"plugin_publication_date", value:"2009/06/23");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:google:chrome");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

  script_copyright("This script is Copyright (C) 2009-2018 Tenable Network Security, Inc.");

  script_dependencies("google_chrome_installed.nasl");
  script_require_keys("SMB/Google_Chrome/Installed");

  exit(0);
}

include("google_chrome_version.inc");

get_kb_item_or_exit("SMB/Google_Chrome/Installed");

installs = get_kb_list("SMB/Google_Chrome/*");
google_chrome_check_version(installs:installs, fix:'2.0.172.33', severity:SECURITY_HOLE);

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 35462 CVE(CAN) ID: CVE-2009-2121 Google Chrome是Google发布的开源WEB浏览器。 Google Chrome在处理HTTP服务器的响应时存在缓冲区溢出漏洞。如果用户受骗访问了恶意网站并从服务器接收到了包含有超长分块编码块大小的响应报文,就会在memmove()中触发溢出,导致浏览器崩溃或执行任意代码。 Google Chrome 2.0.172.33 厂商补丁: Google ------ 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: <a href="http://src.chromium.org/viewvc/chrome/trunk/src/net/http/http_chunked_decoder.cc?r1=18687&r2=18686" target="_blank" rel=external nofollow>http://src.chromium.org/viewvc/chrome/trunk/src/net/http/http_chunked_decoder.cc?r1=18687&r2=18686</a> <a href="http://src.chromium.org/viewvc/chrome/trunk/src/net/http/http_chunked_decoder_unittest.cc?r1=18687&r2=18686" target="_blank" rel=external nofollow>http://src.chromium.org/viewvc/chrome/trunk/src/net/http/http_chunked_decoder_unittest.cc?r1=18687&r2=18686</a> <a href="http://code.google.com/p/chromium/issues/detail?id=14508" target="_blank" rel=external nofollow>http://code.google.com/p/chromium/issues/detail?id=14508</a>
idSSV:11698
last seen2017-11-19
modified2009-06-24
published2009-06-24
reporterRoot
sourcehttps://www.seebug.org/vuldb/ssvid-11698
titleGoogle Chrome HTTP响应处理缓冲区溢出漏洞