Microsoft Agent ActiveX URL memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.4$0-$5k0.00

Summaryinfo

A vulnerability marked as critical has been reported in Microsoft Agent. Affected by this issue is some unknown functionality of the component ActiveX URL Handler. This manipulation causes memory corruption. This vulnerability is handled as CVE-2007-3040. Additionally, an exploit exists. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in Microsoft Agent (the affected version is unknown). It has been declared as critical. Affected by this vulnerability is an unknown code of the component ActiveX URL Handler. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

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.

The bug was discovered 09/11/2007. The weakness was released 09/11/2007 by Yamata Li (Agent) with iDefense (Website). The advisory is shared at microsoft.com. This vulnerability is known as CVE-2007-3040 since 06/05/2007. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are unknown but a public exploit is available.

It is possible to download the exploit at saintcorporation.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 26017 (MS07-051: Vulnerability in Microsoft Agent Could Allow Remote Code Execution (938827)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Windows : Microsoft Bulletins and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 90408 (Microsoft Agent Could Allow Remote Code Execution (MS07-051)).

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at microsoft.com. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published immediately after the disclosure of the vulnerability. Attack attempts may be identified with Snort ID 12451. In this case the pattern A|00|g|00|e|00|n|00|t|00|.|00|C|00|o|00|n|00|t|00|r|00|o|00|l|00| is used for detection. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 5521.

The vulnerability is also documented in the databases at X-Force (35752), Tenable (26017), SecurityFocus (BID 25566†), OSVDB (36934†) and Secunia (SA26753†). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Vendor

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.4

VulDB Base Score: 7.3
VulDB Temp Score: 6.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 26017
Nessus Name: MS07-051: Vulnerability in Microsoft Agent Could Allow Remote Code Execution (938827)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Saint ID: exploit_info/microsoft_agent_url
Saint Name: Microsoft Agent crafted URL vulnerability

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: microsoft.com

Snort ID: 12451
Snort Message: WEB-ACTIVEX Microsoft Agent Control ActiveX function call unicode access
Snort Pattern: 🔍
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

ISS Proventia IPS: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

06/05/2007 🔍
09/11/2007 +98 days 🔍
09/11/2007 +0 days 🔍
09/11/2007 +0 days 🔍
09/11/2007 +0 days 🔍
09/11/2007 +0 days 🔍
09/11/2007 +0 days 🔍
09/11/2007 +0 days 🔍
09/11/2007 +0 days 🔍
09/11/2007 +0 days 🔍
09/12/2007 +0 days 🔍
09/12/2007 +0 days 🔍
09/19/2007 +7 days 🔍
06/08/2025 +6472 days 🔍

Sourcesinfo

Vendor: microsoft.com

Advisory: microsoft.com
Researcher: Yamata Li (Agent)
Organization: iDefense
Status: Confirmed

CVE: CVE-2007-3040 (🔍)
GCVE (CVE): GCVE-0-2007-3040
GCVE (VulDB): GCVE-100-3301

OVAL: 🔍
IAVM: 🔍

CERT: 🔍
X-Force: 35752 - Microsoft Agent ActiveX control buffer overflow, High Risk
SecurityFocus: 25566 - Microsoft Agent agentdpv.dll ActiveX Control Malformed URL Stack Buffer Overflow Vulnerability
Secunia: 26753
OSVDB: 36934 - Microsoft Agent URL Handling Remote Code Execution
SecurityTracker: 1018677
Vulnerability Center: 16031 - [MS07-051] Microsoft Windows 2000 Agent ActiveX Control Vulnerability Allows Code Execution and DoS, Medium
Vupen: ADV-2007-3113

scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 09/19/2007 09:00
Updated: 06/08/2025 05:52
Changes: 09/19/2007 09:00 (107), 07/25/2019 16:49 (2), 03/15/2021 17:57 (3), 01/13/2025 03:45 (15), 06/08/2025 05:52 (2)
Complete: 🔍
Cache ID: 216:842:103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!