Vulnerabilities > CVE-2007-3040 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Microsoft Windows 2000
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Stack-based buffer overflow in agentdpv.dll 2.0.0.3425 in Microsoft Agent on Windows 2000 SP4 allows remote attackers to execute arbitrary code via a crafted URL to the Agent (Agent.Control) ActiveX control, which triggers an overflow within the Agent Service (agentsrv.exe) process, a different issue than CVE-2007-1205.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | 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 Agent agentdpv.dll ActiveX Control Malformed URL Stack Buffer Overflow Vulnerability. CVE-2007-3040. Remote exploit for windows platform |
id | EDB-ID:30567 |
last seen | 2016-02-03 |
modified | 2007-09-11 |
published | 2007-09-11 |
reporter | Yamata Li |
source | https://www.exploit-db.com/download/30567/ |
title | Microsoft Agent agentdpv.dll ActiveX Control Malformed URL Stack Buffer Overflow Vulnerability |
Nessus
NASL family | Windows : Microsoft Bulletins |
NASL id | SMB_NT_MS07-051.NASL |
description | The remote version of Windows contains a flaw in the Microsoft Agent service that may allow an attacker to execute code on the remote host. To exploit this flaw, an attacker would need to set up a rogue website and lure a victim on the remote host into visiting it. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 26017 |
published | 2007-09-11 |
reporter | This script is Copyright (C) 2007-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/26017 |
title | MS07-051: Vulnerability in Microsoft Agent Could Allow Remote Code Execution (938827) |
code |
|
Oval
accepted | 2007-10-18T21:59:20.077-04:00 | ||||
class | vulnerability | ||||
contributors |
| ||||
definition_extensions |
| ||||
description | Stack-based buffer overflow in agentdpv.dll 2.0.0.3425 in Microsoft Agent on Windows 2000 SP4 allows remote attackers to execute arbitrary code via a crafted URL to the Agent (Agent.Control) ActiveX control, which triggers an overflow within the Agent Service (agentsrv.exe) process, a different issue than CVE-2007-1205. | ||||
family | windows | ||||
id | oval:org.mitre.oval:def:2116 | ||||
status | accepted | ||||
submitted | 2007-09-13T11:17:00 | ||||
title | Agent Remote Code Execution Vulnerability | ||||
version | 36 |
Saint
bid | 25566 |
description | Microsoft Agent crafted URL vulnerability |
id | win_patch_agentver |
osvdb | 36934 |
title | microsoft_agent_url |
type | client |
Seebug
bulletinFamily | exploit |
description | BUGTRAQ ID: 25566 CVE(CAN) ID: CVE-2007-3040 Microsoft Windows是微软发布的非常流行的操作系统。 Windows操作系统所安装的Microsoft Agent ActiveX控件用于使用动画字符引导用户了解如何使用计算机,该ActiveX控件注册如下: 文件:agentdpv.dll ProgID:Agent.Control CLASSID:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F Microsoft Agent控件处理某些特制URL的方式存在栈溢出漏洞,如果用户受骗访问了恶意网页的话攻击者就可以在受影响的系统上远程执行代码。那些帐户被配置为拥有较少系统用户权限的用户比具有管理用户权限的用户受到的影响要小。 Microsoft Windows 2000SP4 临时解决方法: * 阻止在Internet Explorer中运行Agent ActiveX控件,将以下文本粘贴于记事本等文本编辑器中。然后,使用.reg文件扩展名保存文件并双击导入。 Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{D45FD31B-5C6E-11D1-9EC1-00C04FD7081F}] "Compatibility Flags"=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{F5BE8BD2-7DE6-11D0-91FE-00C04FD701A5}] "Compatibility Flags"=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{4BAC124B-78C8-11D1-B9A8-00C04FD97575}] "Compatibility Flags"=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{D45FD31D-5C6E-11D1-9EC1-00C04FD7081F}] "Compatibility Flags"=dword:00000400 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{D45FD31E-5C6E-11D1-9EC1-00C04FD7081F}] "Compatibility Flags"=dword:00000400 * 注销AgentSvr.exe,在命令行处或者在登录或计算机启动脚本中输入下列命令: %windir%\msagent\agentsvr.exe /unregserver * 将Internet Explorer配置为在Internet和本地Intranet安全区域中运行活动脚本之前进行提示。 * 将Internet和本地intranet安全区设置为“高”以在运行ActiveX控件和活动脚本之前要求提示。 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS07-051)以及相应补丁: MS07-051:Vulnerability in Microsoft Agent Could Allow Remote Code Execution (938827) 链接:<a href="http://www.microsoft.com/technet/security/Bulletin/MS07-051.mspx?pf=true" target="_blank">http://www.microsoft.com/technet/security/Bulletin/MS07-051.mspx?pf=true</a> 补丁下载: <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=7cd248ed-d154_4dce-89ef-ceefd2700965&displaylang=en" target="_blank">http://www.microsoft.com/downloads/details.aspx?FamilyId=7cd248ed-d154_4dce-89ef-ceefd2700965&displaylang=en</a> |
id | SSV:2212 |
last seen | 2017-11-19 |
modified | 2007-09-12 |
published | 2007-09-12 |
reporter | Root |
title | Microsoft Agent agentdpv.dll ActiveX控件畸形URL栈溢出漏洞(MS07-051) |
References
- http://secunia.com/advisories/26753
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=592
- http://www.us-cert.gov/cas/techalerts/TA07-254A.html
- http://www.kb.cert.org/vuls/id/716872
- http://www.securityfocus.com/bid/25566
- http://www.osvdb.org/36934
- http://securitytracker.com/id?1018677
- http://securityreason.com/securityalert/3124
- http://www.vupen.com/english/advisories/2007/3113
- https://exchange.xforce.ibmcloud.com/vulnerabilities/35752
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2116
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-051
- http://www.securityfocus.com/archive/1/479096/100/0/threaded