Vulnerabilities > CVE-2007-2238 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Microsoft Intelligent Application Gateway 2007
Attack vector
NETWORK Attack complexity
MEDIUM Privileges required
NONE Confidentiality impact
COMPLETE Integrity impact
COMPLETE Availability impact
COMPLETE Summary
Multiple stack-based buffer overflows in the Whale Client Components ActiveX control (WhlMgr.dll), as used in Microsoft Intelligent Application Gateway (IAG) before 3.7 SP2, allow remote attackers to execute arbitrary code via long arguments to the (1) CheckForUpdates or (2) UpdateComponents methods.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
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.
Exploit-Db
description | Microsoft Whale Intelligent Application Gateway ActiveX Control Buffer Overflow. CVE-2007-2238. Remote exploit for windows platform |
id | EDB-ID:16608 |
last seen | 2016-02-02 |
modified | 2010-05-09 |
published | 2010-05-09 |
reporter | metasploit |
source | https://www.exploit-db.com/download/16608/ |
title | Microsoft Whale Intelligent Application Gateway ActiveX Control Buffer Overflow |
Metasploit
description | This module exploits a stack buffer overflow in Microsoft Whale Intelligent Application Gateway Whale Client. When sending an overly long string to CheckForUpdates() method of WhlMgr.dll (3.1.502.64) an attacker may be able to execute arbitrary code. |
id | MSF:EXPLOIT/WINDOWS/BROWSER/MSWHALE_CHECKFORUPDATES |
last seen | 2020-06-10 |
modified | 2017-10-05 |
published | 2009-04-15 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/browser/mswhale_checkforupdates.rb |
title | Microsoft Whale Intelligent Application Gateway ActiveX Control Buffer Overflow |
Nessus
NASL family | Windows |
NASL id | WHALE_CLIENT_ACTIVEX_3_7_SP2_OVERFLOWS.NASL |
description | The version of the Whale Client Components ActiveX control, a component of Microsoft Whale Intelligent Application Gateway product and installed on the remote Windows host, reportedly contains multiple stack-based buffer overflows that can be triggered using long arguments to the |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 38734 |
published | 2009-05-11 |
reporter | This script is Copyright (C) 2009-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/38734 |
title | Microsoft Whale Client Components ActiveX (WhlMgr.dll) Multiple Method Overflows |
code |
|
Packetstorm
data source | https://packetstormsecurity.com/files/download/82980/mswhale_checkforupdates.rb.txt |
id | PACKETSTORM:82980 |
last seen | 2016-12-05 |
published | 2009-11-26 |
reporter | MC |
source | https://packetstormsecurity.com/files/82980/Microsoft-Whale-Intelligent-Application-Gateway-ActiveX-Control-Buffer-Overflow.html |
title | Microsoft Whale Intelligent Application Gateway ActiveX Control Buffer Overflow |
Seebug
bulletinFamily exploit description BUGTRAQ ID: 34532 CVE ID:CVE-2007-2238 CNCVE ID:CNCVE-20072238 Microsoft Intelligent Application Gateway是一款智能应用程序网关,提供SSL VPN功能。 Microsoft Whale Intelligent Application Gateway Whale客户端组件ActiveX控件存在缓冲区溢出,远程攻击者可以利用漏洞以应用程序权限执行任意指令。 WhlMgr.dll文件提供的控件处理CheckForUpdates()和UpdateComponents()方法存在栈缓冲区溢出,构建恶意WEB页,诱使用户访问,可导致以应用程序权限执行任意指令。 Microsoft Intelligent Application Gateway 2007 3.7 可下载使用如下安全补丁: Microsoft Intelligent Application Gateway 2007 3.7 Microsoft Microsoft Whale Communications Intelligent Application Gateway 2007 Service Pack 2 <a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=e69dfd1d-d333 target=_blank rel=external nofollow>http://www.microsoft.com/downloads/details.aspx?FamilyID=e69dfd1d-d333</a> -4c27-9246-279ada224317&displaylang=en id SSV:5070 last seen 2017-11-19 modified 2009-04-21 published 2009-04-21 reporter Root title Microsoft IAG 2007 ActiveX控件栈缓冲区溢出漏洞 bulletinFamily exploit description BUGTRAQ ID: 34532 CVE(CAN) ID: CVE-2007-2238 Microsoft的Intelligent Application Gateway(IAG)2007是全面的远程访问网关,提供基于SSL的应用程序访问、保护和端点安全管理。 IAG所使用的Whale客户端组件(由WhlMgr.dll文件提供)没有正确地验证对CheckForUpdates()和 UpdateComponents()方式所传送的输入参数。如果用户受骗访问了恶意网页并向上述方式提供了超长输入参数的话,就可以触发栈溢出,导致执行任意代码。 Microsoft Intelligent Application Gateway 2007 3.7 临时解决方法: * 在IE中禁用Whale客户端组件ActiveX控件,为以下CLSID设置kill bit: {8D9563A9-8D5F-459B-87F2-BA842255CB9A} 或将以下文本保存为.REG文件并导入: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{8D9563A9-8D5F-459B-87F2-BA842255CB9A}] "Compatibility Flags"=dword:00000400 厂商补丁: Microsoft --------- 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: <a href=http://technet.microsoft.com/en-us/library/dd282918(printer).aspx target=_blank rel=external nofollow>http://technet.microsoft.com/en-us/library/dd282918(printer).aspx</a> id SSV:5062 last seen 2017-11-19 modified 2009-04-16 published 2009-04-16 reporter Root title Microsoft IAG 2007 ActiveX控件栈溢出漏洞