MS KB2269637: Insecure Library Loading Could Allow Remote Code Execution

high Nessus Plugin ID 48762

Synopsis

The remote Windows host may be vulnerable to code execution attacks.

Description

The remote host is missing Microsoft KB2264107 or an associated registry change, which provides a mechanism for mitigating binary planting or DLL preloading attacks.

Insecurely implemented applications look in their current working directory when resolving DLL dependencies. If a malicious DLL with the same name as a required DLL is located in the application's current working directory, the malicious DLL will be loaded.

A remote attacker could exploit this issue by tricking a user into accessing a vulnerable application via a network share or WebDAV folder where a malicious DLL resides, resulting in arbitrary code execution.

Solution

Microsoft has released a set of patches for Windows XP, 2003, Vista, 2008, 7, and 2008 R2 :

Please note this update provides a method of mitigating a class of vulnerabilities rather than fixing any specific vulnerabilities.
Additionally, these patches must be used in conjunction with the 'CWDIllegalInDllSearch' registry setting to have any effect. These protections could be applied in a way that breaks functionality in existing applications. Refer to the Microsoft advisory for more information.

See Also

https://www.nessus.org/u?60ac3d10

https://www.nessus.org/u?7f185eaa

Plugin Details

Severity: High

ID: 48762

File Name: smb_kb2269637.nasl

Version: 1.21

Type: local

Agent: windows

Family: Windows

Published: 8/26/2010

Updated: 7/26/2023

Supported Sensors: Nessus Agent, Nessus

Risk Information

CVSS Score Rationale: Score based on analysis of the vendor advisory.

CVSS v2

Risk Factor: High

Base Score: 9.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS Score Source: manual

Vulnerability Information

CPE: cpe:/o:microsoft:windows

Required KB Items: SMB/Registry/Enumerated, SMB/WindowsVersion

Patch Publication Date: 8/24/2010

Vulnerability Publication Date: 8/18/2010

Reference Information

MSKB: 2269637