Microsoft Windows Active Directory LDAP Query 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.
5.7$0-$5k0.00

Summaryinfo

A vulnerability classified as problematic was found in Microsoft Windows. Affected is an unknown function of the component Active Directory. Executing a manipulation as part of LDAP Query can lead to memory corruption. This vulnerability appears as CVE-2007-0040. There is no available exploit. Upgrading the affected component is advised.

Detailsinfo

A vulnerability classified as problematic was found in Microsoft Windows (Operating System) (version unknown). This vulnerability affects an unknown function of the component Active Directory. The manipulation as part of a LDAP Query 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. CVE summarizes:

The LDAP service in Windows Active Directory in Microsoft Windows 2000 Server SP4, Server 2003 SP1 and SP2, Server 2003 x64 Edition and SP2, and Server 2003 for Itanium-based Systems SP1 and SP2 allows remote attackers to execute arbitrary code via a crafted LDAP request with an unspecified number of "convertible attributes."

The bug was discovered 07/10/2007. The weakness was presented 07/10/2007 by Neel Mehta (ERNE) with Microsoft as MS07-039 as confirmed bulletin (Technet). The advisory is available at microsoft.com. This vulnerability was named CVE-2007-0040 since 01/03/2007. The attack needs to approached within the local network. No form of authentication is required for a successful exploitation. The technical details are unknown and an exploit is not available.

It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 25699 (MS07-039: Vulnerability in Windows Active Directory Could Allow Remote Code Execution (926122) (uncredentialed check)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Windows and running in the context r. The commercial vulnerability scanner Qualys is able to test this issue with plugin 90403 (Windows Active Directory Multiple Remote Code Execution Vulnerabilities (MS07-039)).

Upgrading eliminates this vulnerability. Applying the patch MS07-039 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 12069. In this case the pattern 0 is used for detection. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 9005.

The vulnerability is also documented in the databases at X-Force (35179), Tenable (25699), SecurityFocus (BID 24800†), OSVDB (35960†) and Secunia (SA26002†). See VDB-3180, VDB-3181, VDB-3182 and VDB-3179 for similar entries. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Vendor

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 5.7

VulDB Base Score: 6.3
VulDB Temp Score: 5.7
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: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 25699
Nessus Name: MS07-039: Vulnerability in Windows Active Directory Could Allow Remote Code Execution (926122) (uncredentialed check)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Patch: MS07-039

Snort ID: 12069
Snort Message: EXPLOIT Microsoft Windows Active Directory Crafted LDAP ModifyRequest
Snort Pattern: 🔍
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

PaloAlto IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

01/03/2007 🔍
07/10/2007 +188 days 🔍
07/10/2007 +0 days 🔍
07/10/2007 +0 days 🔍
07/10/2007 +0 days 🔍
07/10/2007 +0 days 🔍
07/10/2007 +0 days 🔍
07/10/2007 +0 days 🔍
07/10/2007 +0 days 🔍
07/10/2007 +0 days 🔍
07/11/2007 +0 days 🔍
07/11/2007 +0 days 🔍
07/18/2007 +7 days 🔍
01/05/2025 +6381 days 🔍

Sourcesinfo

Vendor: microsoft.com
Product: microsoft.com

Advisory: MS07-039
Researcher: Neel Mehta (ERNE)
Organization: Microsoft
Status: Confirmed

CVE: CVE-2007-0040 (🔍)
GCVE (CVE): GCVE-0-2007-0040
GCVE (VulDB): GCVE-100-3178

OVAL: 🔍

CERT: 🔍
X-Force: 35179
SecurityFocus: 24800 - Microsoft Windows Active Directory LDAP Request Validation Remote Code Execution Vulnerability
Secunia: 26002
OSVDB: 35960 - Microsoft Windows Active Directory LDAP Service Convertible Attribute Remote Code Execution
SecurityTracker: 1018355
Vulnerability Center: 15584 - [MS07-039] Microsoft Active Directory Buffer Overflows Vulnerability Allows Remote Code Execution, High
Vupen: ADV-2007-2481

See also: 🔍

Entryinfo

Created: 07/18/2007 16:23
Updated: 01/05/2025 13:48
Changes: 07/18/2007 16:23 (102), 07/21/2019 16:39 (2), 01/05/2025 13:48 (17)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!