Vulnerabilities > CVE-2002-0070 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Microsoft 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 Windows Shell (used as the Windows Desktop) allows local and possibly remote attackers to execute arbitrary code via a custom URL handler that has not been removed for an application that has been improperly uninstalled.

Vulnerable Configurations

Part Description Count
OS
Microsoft
5

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 : Microsoft Bulletins
NASL idSMB_NT_MS02-014.NASL
descriptionThe Windows shell of the remote host has an unchecked buffer that can be exploited by a local attacker to run arbitrary code on this host.
last seen2020-06-01
modified2020-06-02
plugin id11307
published2003-03-02
reporterThis script is Copyright (C) 2003-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/11307
titleMS02-014: Unchecked buffer in Windows Shell (313829)
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
 script_id(11307);
 script_version("1.36");
 script_cvs_date("Date: 2018/11/15 20:50:29");

 script_cve_id("CVE-2002-0070");
 script_bugtraq_id(4248);
 script_xref(name:"CERT", value:"152867");
 script_xref(name:"MSFT", value:"MS02-014");
 script_xref(name:"MSKB", value:"313829");

 script_name(english:"MS02-014: Unchecked buffer in Windows Shell (313829)");
 script_summary(english:"Checks for MS Hotfix Q216840");

 script_set_attribute(attribute:"synopsis", value:"A local user can elevate privileges.");
 script_set_attribute(attribute:"description", value:
"The Windows shell of the remote host has an unchecked buffer that can
be exploited by a local attacker to run arbitrary code on this host.");
 script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2002/ms02-014");
 script_set_attribute(attribute:"solution", value:"Microsoft has released a set of patches for Windows NT and 2000.");
 script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C");
 script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
 script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
 script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/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:"vuln_publication_date", value:"2002/03/07");
 script_set_attribute(attribute:"patch_publication_date", value:"2002/03/07");
 script_set_attribute(attribute:"plugin_publication_date", value:"2003/03/02");

 script_set_attribute(attribute:"plugin_type", value:"local");
 script_set_attribute(attribute:"cpe", value:"cpe:/o:microsoft:windows");
 script_end_attributes();

 script_category(ACT_GATHER_INFO);
 script_copyright(english:"This script is Copyright (C) 2003-2018 Tenable Network Security, Inc.");
 script_family(english:"Windows : Microsoft Bulletins");

 script_dependencies("smb_hotfixes.nasl", "ms_bulletin_checks_possible.nasl");
 script_require_keys("SMB/MS_Bulletin_Checks/Possible");
 script_require_ports(139, 445, "Host/patch_management_checks");

 exit(0);
}

#

include("smb_hotfixes.inc");
include("smb_hotfixes_fcheck.inc");
include("misc_func.inc");

get_kb_item_or_exit("SMB/MS_Bulletin_Checks/Possible");

bulletin = 'MS02-014';
kb = '313829';

kbs = make_list(kb);
if (get_kb_item("Host/patch_management_checks")) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_HOLE);

if ( hotfix_check_sp(nt:7, win2k:3) <= 0 ) exit(0);
if ( hotfix_check_sp(win2k:3) > 0 )
{
 if ( hotfix_missing(name:"839645") == 0 ) exit(0);
}


if ( hotfix_missing(name:kb) > 0 && hotfix_missing(name:"841356") > 0 )
	 {
 set_kb_item(name:"SMB/Missing/"+bulletin, value:TRUE);
 hotfix_add_report(bulletin:bulletin, kb:kb);
 hotfix_security_hole();
 }


Oval

  • accepted2011-05-16T04:01:05.213-04:00
    classvulnerability
    contributors
    • nameChristine Walzer
      organizationThe MITRE Corporation
    • nameChristine Walzer
      organizationThe MITRE Corporation
    • nameAnna Min
      organizationBigFix, Inc
    • nameSudhir Gandhe
      organizationTelos
    • nameShane Shaffer
      organizationG2, Inc.
    descriptionBuffer overflow in Windows Shell (used as the Windows Desktop) allows local and possibly remote attackers to execute arbitrary code via a custom URL handler that has not been removed for an application that has been improperly uninstalled.
    familywindows
    idoval:org.mitre.oval:def:147
    statusaccepted
    submitted2003-10-10T12:00:00.000-04:00
    titleWindows 2000 Shell Buffer Overflow
    version68
  • accepted2008-03-24T04:00:18.579-04:00
    classvulnerability
    contributors
    • nameMatthew Burton
      organizationThe MITRE Corporation
    • nameMatthew Burton
      organizationThe MITRE Corporation
    • nameMatthew Burton
      organizationThe MITRE Corporation
    • nameJonathan Baker
      organizationThe MITRE Corporation
    definition_extensions
    commentMicrosoft Windows NT is installed
    ovaloval:org.mitre.oval:def:36
    descriptionBuffer overflow in Windows Shell (used as the Windows Desktop) allows local and possibly remote attackers to execute arbitrary code via a custom URL handler that has not been removed for an application that has been improperly uninstalled.
    familywindows
    idoval:org.mitre.oval:def:18
    statusaccepted
    submitted2004-09-15T12:00:00.000-04:00
    titleWindows NT Shell Buffer Overflow
    version71

Seebug

bulletinFamilyexploit
descriptionCVE ID: CVE-2002-0070 Windows Shell 负责提供 Windows 使用者介面的基本架构, 例如 Windows 桌面, 也提供其他重要的功能辅助定义及掌握使用者的电脑使用情形, 包括使用的档案及目录, 提供开启档案该使用哪个应用程式等. Windows Shell 在一个帮助寻找系统上未被完全移除的应用程式功能存在未充分检查缓冲区的瑕疵, 这一个未经检查的缓冲区可以被攻击者用来进行缓冲区越位(Buffer Overrun)攻击, 原则上这个漏洞不能经由远端攻击, 但可以被网页及 HTML 格式的电子邮件攻击. 如果使用者安装应用程式後移除一些含有自订 URL 处理器的应用程式, 而程序中并没有完全的移除应用程式时, 那麽攻击者便可以利用网页以及 HTML 格式的电子邮件造成缓冲区越位(Buffer Overrun), 导致 Windows Shell 停止运作, 或以使用者的权限执行任意程式码. Windows NT4 Windows 2000 Windows XP Windows 2003 参考 Microsoft Security Bulletin MS02-014 安装 Microsoft Hotfix 或最新版本的 Service Pack.
idSSV:3628
last seen2017-11-19
modified2008-07-16
published2008-07-16
reporterRoot
titleMS02-014:Windows Shell 未检查缓冲器 - NT4