ID CVE-2008-4037
Summary Microsoft Windows 2000 Gold through SP4, XP Gold through SP3, Server 2003 SP1 and SP2, Vista Gold and SP1, and Server 2008 allows remote SMB servers to execute arbitrary code on a client machine by replaying the NTLM credentials of a client user, as demonstrated by backrush, aka "SMB Credential Reflection Vulnerability." NOTE: some reliable sources report that this vulnerability exists because of an insufficient fix for CVE-2000-0834.
References
Vulnerable Configurations
  • cpe:2.3:o:microsoft:windows:server_2003:sp1
    cpe:2.3:o:microsoft:windows:server_2003:sp1
  • cpe:2.3:o:microsoft:windows:server_2003:sp1:itanium
    cpe:2.3:o:microsoft:windows:server_2003:sp1:itanium
  • cpe:2.3:o:microsoft:windows:server_2003:sp2
    cpe:2.3:o:microsoft:windows:server_2003:sp2
  • cpe:2.3:o:microsoft:windows:server_2003:sp2:itanium
    cpe:2.3:o:microsoft:windows:server_2003:sp2:itanium
  • cpe:2.3:o:microsoft:windows:server_2003:sp2:x64
    cpe:2.3:o:microsoft:windows:server_2003:sp2:x64
  • cpe:2.3:o:microsoft:windows:server_2003:unknown:x64
    cpe:2.3:o:microsoft:windows:server_2003:unknown:x64
  • cpe:2.3:o:microsoft:windows:xp:sp2
    cpe:2.3:o:microsoft:windows:xp:sp2
  • cpe:2.3:o:microsoft:windows:xp:sp2:x64
    cpe:2.3:o:microsoft:windows:xp:sp2:x64
  • cpe:2.3:o:microsoft:windows:xp:sp3
    cpe:2.3:o:microsoft:windows:xp:sp3
  • cpe:2.3:o:microsoft:windows:xp:unknown:x64
    cpe:2.3:o:microsoft:windows:xp:unknown:x64
  • Microsoft Windows 2000 Service Pack 4
    cpe:2.3:o:microsoft:windows_2000:-:sp4
  • Microsoft Windows Server 2008 Itanium
    cpe:2.3:o:microsoft:windows_server_2008:-:-:itanium
  • Windows Server 2008 for 32-bit Systems
    cpe:2.3:o:microsoft:windows_server_2008:-:-:x32
  • Microsoft Windows Server 2008 x64 (64-bit) (intial release)
    cpe:2.3:o:microsoft:windows_server_2008:-:-:x64
  • Microsoft Windows Vista
    cpe:2.3:o:microsoft:windows_vista
  • Microsoft Windows Vista x64 (64-bit)
    cpe:2.3:o:microsoft:windows_vista:-:-:x64
  • Microsoft Windows Vista Service Pack 1 (initial release)
    cpe:2.3:o:microsoft:windows_vista:-:sp1
  • Microsoft Windows Vista Service Pack 1 x64 (64-bit)
    cpe:2.3:o:microsoft:windows_vista:-:sp1:x64
CVSS
Base: 9.3 (as of 13-11-2008 - 11:07)
Impact:
Exploitability:
CWE CWE-287
CAPEC
  • Authentication Abuse
    An attacker obtains unauthorized access to an application, service or device either through knowledge of the inherent weaknesses of an authentication mechanism, or by exploiting a flaw in the authentication scheme's implementation. In such an attack an authentication mechanism is functioning but a carefully controlled sequence of events causes the mechanism to grant access to the attacker. This attack may exploit assumptions made by the target's authentication procedures, such as assumptions regarding trust relationships or assumptions regarding the generation of secret values. This attack differs from Authentication Bypass attacks in that Authentication Abuse allows the attacker to be certified as a valid user through illegitimate means, while Authentication Bypass allows the user to access protected material without ever being certified as an authenticated user. This attack does not rely on prior sessions established by successfully authenticating users, as relied upon for the "Exploitation of Session Variables, Resource IDs and other Trusted Credentials" attack patterns.
  • Exploiting Trust in Client (aka Make the Client Invisible)
    An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
  • Utilizing REST's Trust in the System Resource to Register Man in the Middle
    This attack utilizes a REST(REpresentational State Transfer)-style applications' trust in the system resources and environment to place man in the middle once SSL is terminated. Rest applications premise is that they leverage existing infrastructure to deliver web services functionality. An example of this is a Rest application that uses HTTP Get methods and receives a HTTP response with an XML document. These Rest style web services are deployed on existing infrastructure such as Apache and IIS web servers with no SOAP stack required. Unfortunately from a security standpoint, there frequently is no interoperable identity security mechanism deployed, so Rest developers often fall back to SSL to deliver security. In large data centers, SSL is typically terminated at the edge of the network - at the firewall, load balancer, or router. Once the SSL is terminated the HTTP request is in the clear (unless developers have hashed or encrypted the values, but this is rare). The attacker can utilize a sniffer such as Wireshark to snapshot the credentials, such as username and password that are passed in the clear once SSL is terminated. Once the attacker gathers these credentials, they can submit requests to the web service provider just as authorized user do. There is not typically an authentication on the client side, beyond what is passed in the request itself so once this is compromised, then this is generally sufficient to compromise the service's authentication scheme.
  • Man in the Middle Attack
    This type of attack targets the communication between two components (typically client and server). The attacker places himself in the communication channel between the two components. Whenever one component attempts to communicate with the other (data flow, authentication challenges, etc.), the data first goes to the attacker, who has the opportunity to observe or alter it, and it is then passed on to the other component as if it was never intercepted. This interposition is transparent leaving the two compromised components unaware of the potential corruption or leakage of their communications. The potential for Man-in-the-Middle attacks yields an implicit lack of trust in communication or identify between two components.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
exploit-db via4
  • description MS Windows SMB Authentication Remote Exploit. CVE-2008-4037. Remote exploit for windows platform
    id EDB-ID:20
    last seen 2016-01-31
    modified 2003-04-25
    published 2003-04-25
    reporter Haamed Gheibi
    source https://www.exploit-db.com/download/20/
    title Microsoft Windows SMB - Authentication Remote Exploit
  • description SmbRelay3 NTLM Replay Attack Tool/Exploit (MS08-068). CVE-2008-4037. Remote exploit for windows platform
    file exploits/windows/remote/7125.txt
    id EDB-ID:7125
    last seen 2016-02-01
    modified 2008-11-14
    platform windows
    port
    published 2008-11-14
    reporter Andres Tarasco
    source https://www.exploit-db.com/download/7125/
    title SmbRelay3 NTLM Replay Attack Tool/Exploit MS08-068
    type remote
  • description Microsoft Windows SMB Relay Code Execution. CVE-2008-4037. Remote exploit for windows platform
    id EDB-ID:16360
    last seen 2016-02-01
    modified 2010-09-21
    published 2010-09-21
    reporter metasploit
    source https://www.exploit-db.com/download/16360/
    title Microsoft Windows SMB Relay Code Execution
metasploit via4
description This module will relay SMB authentication requests to another host, gaining access to an authenticated SMB session if successful. If the connecting user is an administrator and network logins are allowed to the target machine, this module will execute an arbitrary payload. To exploit this, the target system must try to authenticate to this module. The easiest way to force a SMB authentication attempt is by embedding a UNC path (\\\SERVER\SHARE) into a web page or email message. When the victim views the web page or email, their system will automatically connect to the server specified in the UNC share (the IP address of the system running this module) and attempt to authenticate. Unfortunately, this module is not able to clean up after itself. The service and payload file listed in the output will need to be manually removed after access has been gained. The service created by this tool uses a randomly chosen name and description, so the services list can become cluttered after repeated exploitation. The SMB authentication relay attack was first reported by Sir Dystic on March 31st, 2001 at @lanta.con in Atlanta, Georgia. On November 11th 2008 Microsoft released bulletin MS08-068. This bulletin includes a patch which prevents the relaying of challenge keys back to the host which issued them, preventing this exploit from working in the default configuration. It is still possible to set the SMBHOST parameter to a third-party host that the victim is authorized to access, but the "reflection" attack has been effectively broken.
id MSF:EXPLOIT/WINDOWS/SMB/SMB_RELAY
last seen 2018-03-07
modified 2017-07-24
published 2010-07-25
reliability Excellent
reporter Rapid7
source https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/smb/smb_relay.rb
title MS08-068 Microsoft Windows SMB Relay Code Execution
msbulletin via4
bulletin_id MS08-068
bulletin_url
date 2008-11-11T00:00:00
impact Remote Code Execution
knowledgebase_id 957097
knowledgebase_url
severity Important
title Vulnerability in SMB Could Allow Remote Code
nessus via4
NASL family Windows : Microsoft Bulletins
NASL id SMB_NT_MS08-068.NASL
description The remote version of Windows contains a version of SMB (Server Message Block) protocol that is vulnerable to a credentials reflection attack. An attacker may exploit this flaw to elevate his privileges and gain control of the remote host.
last seen 2019-02-21
modified 2018-11-15
plugin id 34743
published 2008-11-12
reporter Tenable
source https://www.tenable.com/plugins/index.php?view=single&id=34743
title MS08-068: Vulnerability in SMB Could Allow Remote Code Execution (957097)
oval via4
accepted 2014-03-03T04:01:12.165-05:00
class vulnerability
contributors
  • name Sudhir Gandhe
    organization Secure Elements, Inc.
  • name Dragos Prisaca
    organization Symantec Corporation
  • name Dragos Prisaca
    organization Symantec Corporation
  • name Dragos Prisaca
    organization Symantec Corporation
  • name Dragos Prisaca
    organization Symantec Corporation
  • name Dragos Prisaca
    organization Symantec Corporation
  • name Dragos Prisaca
    organization Symantec Corporation
  • name Dragos Prisaca
    organization Symantec Corporation
  • name Dragos Prisaca
    organization Symantec Corporation
  • name Prashanth A.
    organization SecPod Technologies
  • name Maria Mikhno
    organization ALTX-SOFT
definition_extensions
  • comment Microsoft Windows 2000 SP4 or later is installed
    oval oval:org.mitre.oval:def:229
  • comment Microsoft Windows XP (x86) SP2 is installed
    oval oval:org.mitre.oval:def:754
  • comment Microsoft Windows XP (x86) SP3 is installed
    oval oval:org.mitre.oval:def:5631
  • comment Microsoft Windows Server 2003 SP1 (x64) is installed
    oval oval:org.mitre.oval:def:4386
  • comment Microsoft Windows XP Professional x64 Edition SP1 is installed
    oval oval:org.mitre.oval:def:720
  • comment Microsoft Windows Server 2003 SP1 (x86) is installed
    oval oval:org.mitre.oval:def:565
  • comment Microsoft Windows Server 2003 SP1 for Itanium is installed
    oval oval:org.mitre.oval:def:1205
  • comment Microsoft Windows Server 2003 SP2 (x64) is installed
    oval oval:org.mitre.oval:def:2161
  • comment Microsoft Windows XP x64 Edition SP2 is installed
    oval oval:org.mitre.oval:def:4193
  • comment Microsoft Windows Server 2003 SP2 (x86) is installed
    oval oval:org.mitre.oval:def:1935
  • comment Microsoft Windows Server 2003 (ia64) SP2 is installed
    oval oval:org.mitre.oval:def:1442
  • comment Microsoft Windows Vista x64 Edition is installed
    oval oval:org.mitre.oval:def:2041
  • comment Microsoft Windows Vista (32-bit) is installed
    oval oval:org.mitre.oval:def:1282
  • comment Microsoft Windows Vista (32-bit) Service Pack 1 is installed
    oval oval:org.mitre.oval:def:4873
  • comment Microsoft Windows Server 2008 (32-bit) is installed
    oval oval:org.mitre.oval:def:4870
  • comment Microsoft Windows Vista x64 Edition Service Pack 1 is installed
    oval oval:org.mitre.oval:def:5254
  • comment Microsoft Windows Server 2008 (64-bit) is installed
    oval oval:org.mitre.oval:def:5356
  • comment Microsoft Windows Server 2008 (ia-64) is installed
    oval oval:org.mitre.oval:def:5667
description Microsoft Windows 2000 Gold through SP4, XP Gold through SP3, Server 2003 SP1 and SP2, Vista Gold and SP1, and Server 2008 allows remote SMB servers to execute arbitrary code on a client machine by replaying the NTLM credentials of a client user, as demonstrated by backrush, aka "SMB Credential Reflection Vulnerability." NOTE: some reliable sources report that this vulnerability exists because of an insufficient fix for CVE-2000-0834.
family windows
id oval:org.mitre.oval:def:6012
status accepted
submitted 2008-11-19T14:19:00
title SMB Credential Reflection Vulnerability
version 43
packetstorm via4
data source https://packetstormsecurity.com/files/download/82946/smb_relay.rb.txt
id PACKETSTORM:82946
last seen 2016-12-05
published 2009-11-26
reporter H D Moore
source https://packetstormsecurity.com/files/82946/Microsoft-Windows-SMB-Relay-Code-Execution.html
title Microsoft Windows SMB Relay Code Execution
refmap via4
bid 7385
cert TA08-316A
exploit-db 7125
hp
  • HPSBST02386
  • SSRT080164
misc
ms MS08-068
osvdb 49736
sectrack 1021163
secunia 32633
vupen ADV-2008-3110
saint via4
bid 7385
description Windows SMB credential reflection vulnerability
id win_patch_credreflect
osvdb 49736
title windows_smb_credential_reflection
type client
Last major update 30-10-2012 - 23:03
Published 12-11-2008 - 18:30
Last modified 30-10-2018 - 12:26
Back to Top