CVE-2005-2938
CVSS7.2
发布时间 :2005-11-18 01:03:00
修订时间 :2011-03-10 00:00:00
NMCOP    

[原文]Unquoted Windows search path vulnerability in iTunesHelper.exe in iTunes 4.7.1.30 and iTunes 5 for Windows might allow local users to gain privileges via a malicious C:\program.exe file.


[CNNVD]APPLE iTunes非上市Windows搜索路径漏洞(CNNVD-200511-263)

        iTunes 是Apple的一款iPod及mp3等格式文件的播放器软件。
        iTunes 4.7.1.30 中的iTunesHelper.exe和 iTunes 5 Windows版,存在非上市Windows搜索路径漏洞,这可能允许本地用户通过恶意的c:\program.exe文件获得权限。

- CVSS (基础分值)

CVSS分值: 7.2 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

- CWE (弱点类目)

CWE-264 [权限、特权与访问控制]

- CPE (受影响的平台与产品)

cpe:/a:apple:itunes:4.7.1.30
cpe:/a:apple:itunes:5.0::windowsApple iTunes 5.0 Windows

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-2938
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-2938
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200511-263
(官方数据源) CNNVD

- 其它链接及资源

http://www.vupen.com/english/advisories/2005/2443
(VENDOR_ADVISORY)  VUPEN  ADV-2005-2443
http://www.idefense.com/application/poi/display?id=340&type=vulnerabilities
(VENDOR_ADVISORY)  IDEFENSE  20051115 Multiple Vendor Insecure Call to CreateProcess() Vulnerability
http://securitytracker.com/id?1015222
(UNKNOWN)  SECTRACK  1015222

- 漏洞信息

APPLE iTunes非上市Windows搜索路径漏洞
高危 未知
2005-11-18 00:00:00 2006-06-12 00:00:00
本地  
        iTunes 是Apple的一款iPod及mp3等格式文件的播放器软件。
        iTunes 4.7.1.30 中的iTunesHelper.exe和 iTunes 5 Windows版,存在非上市Windows搜索路径漏洞,这可能允许本地用户通过恶意的c:\program.exe文件获得权限。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:
        http://www.apple.com/itunes/download/

- 漏洞信息 (F41659)

iDEFENSE Security Advisory 2005-11-15.2 (PacketStormID:F41659)
2005-11-20 00:00:00
iDefense Labs  idefense.com
advisory
windows
CVE-2005-2936,CVE-2005-2937,CVE-2005-2938,CVE-2005-2939,CVE-2005-2940
[点击下载]

iDEFENSE Security Advisory 11.15.05 - The Microsoft Windows API includes the CreateProcess() function as a means to create a new process and it's primary thread. CreateProcessAsUser() is similar but allows for the process to be run in the security context of a particular user.

Multiple Vendor Insecure Call to CreateProcess() Vulnerability

iDEFENSE Security Advisory 11.15.05
www.idefense.com/application/poi/display?id=340&type=vulnerabilities
November 15, 2005

I. BACKGROUND

The Microsoft Windows API includes the CreateProcess() function as a
means to create a new process and it's primary thread.
CreateProcessAsUser() is similar but allows for the process to be run in
the security context of a particular user.

II. DESCRIPTION

The format of the CreateProcess() function is as follows:

BOOL CreateProcess(
  LPCTSTR lpApplicationName,
  LPTSTR lpCommandLine,
  LPSECURITY_ATTRIBUTES lpProcessAttributes,
  LPSECURITY_ATTRIBUTES lpThreadAttributes,
  BOOL bInheritHandles,
  DWORD dwCreationFlags,
  LPVOID lpEnvironment,
  LPCTSTR lpCurrentDirectory,
  LPSTARTUPINFO lpStartupInfo,
  LPPROCESS_INFORMATION lpProcessInformation
);

The 'lpApplicationName' variable contains the name of the module to be
executed. However, this can be a NULL value, in which case, the module
name to be executed will be the first white space-delimited token in the
lpCommandLine string.

It is a known issue, that if lpApplicationName contains a NULL value and
the full module path in the lpCommandLine variable contains white space
and is not enclosed in quotation marks, it is possible that an alternate
application will be executed. Consider the following scenario:

   CreateProcess(
      NULL,
      c:\program files\sub dir\program.exe,
      ...
   );

In this case, the system will successively expand the string when
interpreting the file path, until a module is encountered to execute.
The string used in the above example would be interpreted as follows:

   c:\program.exe files\sub dir\program name
   c:\program files\sub.exe dir\program name
   c:\program files\sub dir\program.exe

Therefore, if a file named program.exe existed in the c:\ directory, it
would be executed instead of the intended application. This is a known
issue, discussed directly in the API documentation:

http://msdn.microsoft.com/library/en-us/dllproc/base/createprocessasuser.asp

III. ANALYSIS

Despite the fact that this is a known issue, several popular
applications, insecurely call the CreateProcess() and
CreateProcessAsUser() functions. This creates a scenario whereby
arbitrary code could be executed. In the scenario detailed above, if an
attacker were able to install arbitrary code in a file at
c:\program.exe, when the vulnerable application was launched, the code
would be executed. The arbitrary code would generally be executed under
the privileges of the executing user but could also be launched with
elevated privilegs if an insecure call were made CreateProcessAsUser()
using elevated privileges. This attack would involve some form of social
engineering or need to be combined with another attack to first get the
arbitrary code installed in the correct location.

IV. DETECTION

The following applications have been confirmed to be vulnerable:

Vendor:                RealNetworks
Application:     RealPlayer 10.5
Files:                realplay.exe
                            realjbox.exe
                           
Vendor:                Kaspersky
Application:     Kaspersky Anti-Virus for Windows File Servers 5.0 
(English) - Installation File
Files:                kav5.0trial_winfsen.exe

Vendor:                Apple
Application:     iTunes 4.7.1.30
Files:                iTunesHelper.exe

Vendor:                VMWare
Application:     VMWare Workstation 5.0.0 build-13124
Files:                VMwareTray.exe
                            VMwareUser.exe
                           
Vendor:                Microsoft
Application:     Microsoft Antispyware 1.0.509 (Beta 1)
Files:                GIANTAntiSpywareMain.exe
                            gcASNotice.exe
                            gcasServ.exe
                            gcasSWUpdater.exe
                            GIANTAntiSpywareUpdater.exe

Note: The vulnerability in Microsoft Antispyware was previously
discussed on the Full-Disclosure mailing list
(http://lists.grok.org.uk/pipermail/full-disclosure/2005-May/033909.html)
but remains unpatched.

V. WORKAROUND

Ensure that unexpected files are not stored in locations that can be
used for this attack. Windows XP SP2 will alert a user of the existence
of a file named c:\program.exe when it first boots, however, any path
containing white space where a vulnerable application is stored could be
used in this attack.

VI. VENDOR RESPONSE

The following vendor responses have been provided.

Apple:

"Due to the way iTunes 5 launches its helper application, multiple
system paths are searched for which program to run. This may allow a
malicious user on the local system to create an environment where an
alternate program will be executed by iTunes. iTunes 6 addresses this
issue and can be obtained from http://www.apple.com/itunes/download/.
Credit to iDEFENSE for reporting this issue to us."

Kaspersky:

"We are currently looking into the problem, and it seems that this is
not present in the current version of KAV for File Servers."

Microsoft:

"Microsoft has confirmed that the Beta 2 version of its Antispyware
product, targeted for release later this year, will address the issue
reported by iDEFENSE."

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
following names to this issue.

RealNetworks RealPlayer 10.5
  CAN-2005-2936

Kaspersky Anti-Virus 5.0
  CAN-2005-2937

Apple iTunes 4.7.1.30
  CAN-2005-2938

VMWare Workstation 5.0.0 build-13124
  CAN-2005-2939

Microsoft Antispyware 1.0.509 (Beta 1)
  CAN-2005-2940

Theses are candidates for inclusion in the CVE list
(http://cve.mitre.org), which standardizes names for security problems.

VIII. DISCLOSURE TIMELINE

09/19/2005  Initial vendor notification
11/15/2005  Coordinated public disclosure

IX. CREDIT

The discoverer of this vulnerability wishes to remain anonymous.

Get paid for vulnerability research
http://www.idefense.com/poi/teams/vcp.jsp

Free tools, research and upcoming events
http://labs.idefense.com

X. LEGAL NOTICES

Copyright     

- 漏洞信息

20988
Apple iTunes iTunesHelper.exe Path Subversion Local Privilege Escalation
Local Access Required Input Manipulation
Loss of Integrity Upgrade
Vendor Verified

- 漏洞描述

- 时间线

2005-11-15 Unknow
Unknow Unknow

- 解决方案

Upgrade to version 6 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站