Cloudanix VulnDB

CVE-2007-3040

None

CVSS

—

EPSS

54.4%

Published

Sep 12, 2007

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Attend

A very old flaw in an outdated Windows feature could let attackers take over computers simply by getting a user to visit a specially made web page.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Moderate
Impact
Remote Code Execution
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Stack-based buffer overflow in agentdpv.dll within the Microsoft Agent ActiveX control (Agent.Control) allows remote attackers to execute arbitrary code by supplying a crafted URL that overflows a buffer inside the agentsrv.exe service process.

Why it matters to the business

Enables full remote code execution on legacy Windows 2000 systems that remain in use, potentially leading to complete system compromise, data theft, or use as an attack foothold; the absence of patches and end-of-support status for the affected platform increases long-term operational risk and compliance exposure.

How an attack unfolds

An attacker hosts or delivers a web page containing a malicious URL targeting the Agent.Control ActiveX control; when rendered on an unpatched Windows 2000 system the crafted input triggers the stack overflow inside agentsrv.exe, allowing the attacker to redirect execution flow and run arbitrary code with the privileges of the service.

How to fix it

Migrate all systems away from Windows 2000; if migration is impossible in the short term, disable the Microsoft Agent ActiveX control via registry or Group Policy, remove or rename agentdpv.dll, and restrict web content that can instantiate the control.

How to confirm the fix worked

Verify absence of agentdpv.dll version 2.0.0.3425, confirm Microsoft Agent service is disabled or removed, and test that crafted URLs no longer trigger the control or service crashes.

Typical attack path

  1. Attacker crafts malicious URL exploiting the buffer overflow in agentdpv.dll
  2. Malicious URL is delivered via web page, email, or other vector that loads the Agent ActiveX control
  3. Victim system processes the URL in Internet Explorer or another host application
  4. Overflow occurs inside agentsrv.exe enabling code execution
  5. Attacker payload executes, establishing persistence or further actions

How to detect it

Search process execution and crash logs for unexpected agentsrv.exe activity or faults, review web proxy logs for access to pages loading the Agent ActiveX control, and examine file integrity of agentdpv.dll on any remaining Windows 2000 hosts.

  • agentdpv.dll
  • agentsrv.exe
  • Agent.Control

What your security team should do

  • Immediately inventory and decommission any remaining Windows 2000 systems
  • Block or restrict the Agent.Control ActiveX control enterprise-wide
  • Implement web filtering and email attachment controls to prevent delivery of malicious URLs
  • Monitor for agentsrv.exe process anomalies on any legacy hosts that cannot yet be retired

The record

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.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities