Vulnerabilities > CVE-2007-2931 - Improper Input Validation vulnerability in Microsoft MSN Messenger and Windows Live Messenger

047910
CVSS 9.3 - CRITICAL
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
microsoft
CWE-20
critical
nessus
exploit available

Summary

Heap-based buffer overflow in Microsoft MSN Messenger 6.2, 7.0, and 7.5, and Live Messenger 8.0 allows user-assisted remote attackers to execute arbitrary code via unspecified vectors involving video conversation handling in Web Cam and video chat sessions.

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Server Side Include (SSI) Injection
    An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
  • Cross Zone Scripting
    An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security. In a zone-based model, pages belong to one of a set of zones corresponding to the level of privilege assigned to that page. Pages in an untrusted zone would have a lesser level of access to the system and/or be restricted in the types of executable content it was allowed to invoke. In a cross-zone scripting attack, a page that should be assigned to a less privileged zone is granted the privileges of a more trusted zone. This can be accomplished by exploiting bugs in the browser, exploiting incorrect configuration in the zone controls, through a cross-site scripting attack that causes the attackers' content to be treated as coming from a more trusted page, or by leveraging some piece of system functionality that is accessible from both the trusted and less trusted zone. This attack differs from "Restful Privilege Escalation" in that the latter correlates to the inadequate securing of RESTful access methods (such as HTTP DELETE) on the server, while cross-zone scripting attacks the concept of security zones as implemented by a browser.
  • Cross Site Scripting through Log Files
    An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
  • Command Line Execution through SQL Injection
    An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.

Exploit-Db

descriptionMicrosoft MSN Messenger 8.0 Video Conversation Buffer Overflow Vulnerability. CVE-2007-2931. Remote exploit for windows platform
idEDB-ID:30537
last seen2016-02-03
modified2007-08-28
published2007-08-28
reporterwushi
sourcehttps://www.exploit-db.com/download/30537/
titleMicrosoft MSN Messenger <= 8.0 - Video Conversation Buffer Overflow Vulnerability

Nessus

NASL familyWindows : Microsoft Bulletins
NASL idSMB_NT_MS07-054.NASL
descriptionThe remote host is running MSN Messenger or Windows Live Messenger. The version of Messenger used on the remote host is vulnerable to a remote buffer overflow in the way it handles webcam and video chat sessions. An attacker may exploit this vulnerability to execute arbitrary code on the remote host.
last seen2020-06-01
modified2020-06-02
plugin id26019
published2007-09-11
reporterThis script is Copyright (C) 2007-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/26019
titleMS07-054: Vulnerability in MSN Messenger and Windows Live Messenger Could Allow Remote Code Execution (942099)

Oval

accepted2011-02-21T04:00:48.844-05:00
classvulnerability
contributors
  • nameRobert L. Hollis
    organizationThreatGuard, Inc.
  • nameJosh Turpin
    organizationSymantec Corporation
definition_extensions
  • commentMicrosoft Windows 2000 SP4 or later is installed
    ovaloval:org.mitre.oval:def:229
  • commentMSN Messenger 6.2 is installed
    ovaloval:org.mitre.oval:def:2187
  • commentMSN Messenger 7.0 is installed
    ovaloval:org.mitre.oval:def:2047
  • commentMicrosoft Windows 2000 is installed
    ovaloval:org.mitre.oval:def:85
  • commentMSN Messenger 6.2 is installed
    ovaloval:org.mitre.oval:def:2187
  • commentMSN Messenger 7.0 is installed
    ovaloval:org.mitre.oval:def:2047
  • commentMSN Messenger 7.5 is installed
    ovaloval:org.mitre.oval:def:2087
  • commentMSN Messenger 8.0 is installed
    ovaloval:org.mitre.oval:def:2209
descriptionHeap-based buffer overflow in Microsoft MSN Messenger 6.2, 7.0, and 7.5, and Live Messenger 8.0 allows user-assisted remote attackers to execute arbitrary code via unspecified vectors involving video conversation handling in Web Cam and video chat sessions.
familywindows
idoval:org.mitre.oval:def:2063
statusaccepted
submitted2007-09-25T05:47:58
titleVulnerability in MSN Messenger and Windows Live Messenger Could Allow Remote Code Execution
version23

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 25461 CVE(CAN) ID: CVE-2007-2931 MSN Messenger是微软发布的非常流行的即时通讯聊天工具。 MSN VIDEO处理用户请求时存在缓冲区溢出漏洞,远程攻击者可能利用此漏洞控制用户系统。 MSN VIDEO的协议分为两个大部分:webcam和video conversation,其中webcam带有一个9个字节的头: (UDP header)9d 49 e1 8e 4a 09 be 09 0a ( payload) 第1、2个字节代表payload长度(0x499d &amp; 2047 = 413),后面的payload长度就为413了。 同时也代表报文类型(0x499d &gt;&gt; 11 &amp; 7 = 1),1代表video内容,2、3为ack/syn。 下面4个字节代表时间戳,第7个字节(0xbe)是完整的frame的序号,同一个frame的不同packet部分,这字节应该相同,这可以作为拼包的重要依据。 第8个字节非常重要,,0x09表明这是组成一个完整的frame的第10个payload,如果为01,代表为第二部分,以此类推。问题就出在这里,在所有7.x版本里,都没有检查这1个字节,当这个字节的值大于等于0x83的时候,就会产生堆溢出。 Microsoft MSN Messenger 7.5 Microsoft MSN Messenger 7.0 Microsoft MSN Messenger 6.2 Microsoft Windows Messenger 8.0 临时解决方法: 如果您不能立刻安装补丁或者升级,SEBUG建议您采取以下措施以降低威胁: * 不要加入任何视频聊天。 厂商补丁: Microsoft --------- Microsoft已经为此发布了一个安全公告(MS07-054)以及相应补丁: MS07-054:Vulnerability in MSN Messenger and Windows Live Messenger Could Allow Remote Code Execution (942099) 链接:<a href="http://www.microsoft.com/technet/security/Bulletin/MS07-054.mspx?pf=true" target="_blank">http://www.microsoft.com/technet/security/Bulletin/MS07-054.mspx?pf=true</a>
idSSV:2208
last seen2017-11-19
modified2007-09-12
published2007-09-12
reporterRoot
sourcehttps://www.seebug.org/vuldb/ssvid-2208
titleMSN Messenger视频对话堆溢出漏洞(MS07-054)