CVE-2003-1023
CVSS7.5
发布时间 :2004-01-20 00:00:00
修订时间 :2016-10-17 22:39:04
NMCOS    

[原文]Stack-based buffer overflow in vfs_s_resolve_symlink of vfs/direntry.c for Midnight Commander (mc) 4.6.0 and earlier, and possibly later versions, allows remote attackers to execute arbitrary code during symlink conversion.


[CNNVD]Midnight Commander虚拟文件系统符号链接缓冲区溢出漏洞(CNNVD-200401-049)

        
        Midnight Commander是一个UNIX系统下使用的文件管理工具。
        Midnight Commander使用未初始化的缓冲区处理VFS的符号连接,本地攻击者利用这个漏洞可以进行缓冲区溢出攻击。
        攻击者可以构建特殊的文档,诱使其他高级用户使用Midnight Commander打开时,可触发溢出,精心构建文档数据可能提升权限。
        

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

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

cpe:/a:midnight_commander:midnight_commander:4.5.55
cpe:/a:midnight_commander:midnight_commander:4.5.52
cpe:/a:midnight_commander:midnight_commander:4.6

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

oval:org.mitre.oval:def:822Midnight Commander vfs_s_resolve_symlink BO
*OVAL详细的描述了检测该漏洞的方法,你可以从相关的OVAL定义中找到更多检测该漏洞的技术细节。

- 官方数据库链接

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

- 其它链接及资源

ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2004-014.0.txt
(UNKNOWN)  CALDERA  CSSA-2004-014.0
ftp://patches.sgi.com/support/free/security/advisories/20040201-01-U.asc
(UNKNOWN)  SGI  20040201-01-U
ftp://patches.sgi.com/support/free/security/advisories/20040202-01-U.asc
(UNKNOWN)  SGI  20040202-01-U
http://archive.cert.uni-stuttgart.de/bugtraq/2003/09/msg00309.html
(UNKNOWN)  BUGTRAQ  20030919 uninitialized buffer in midnight commander
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000833
(UNKNOWN)  CONECTIVA  CLA-2004:833
http://fedoranews.org/updates/FEDORA-2004-058.shtml
(UNKNOWN)  FEDORA  FEDORA-2004-058
http://marc.info/?l=bugtraq&m=108118433222764&w=2
(UNKNOWN)  BUGTRAQ  20040405 [OpenPKG-SA-2004.009] OpenPKG Security Advisory (mc)
http://rhn.redhat.com/errata/RHSA-2004-034.html
(UNKNOWN)  REDHAT  RHSA-2004:034
http://rhn.redhat.com/errata/RHSA-2004-035.html
(UNKNOWN)  REDHAT  RHSA-2004:035
http://security.gentoo.org/glsa/glsa-200403-09.xml
(VENDOR_ADVISORY)  GENTOO  GLSA-200403-09
http://www.debian.org/security/2004/dsa-424
(UNKNOWN)  DEBIAN  DSA-424
http://www.mandriva.com/security/advisories?name=MDKSA-2004:007
(UNKNOWN)  MANDRAKE  MDKSA-2004:007
http://www.redhat.com/archives/fedora-legacy-announce/2004-May/msg00002.html
(UNKNOWN)  FEDORA  FLSA:1224
http://www.securityfocus.com/bid/8658
(VENDOR_ADVISORY)  BID  8658
http://xforce.iss.net/xforce/xfdb/13247
(VENDOR_ADVISORY)  XF  midnight-commander-vfssresolvesymlink-bo(13247)

- 漏洞信息

Midnight Commander虚拟文件系统符号链接缓冲区溢出漏洞
高危 边界条件错误
2004-01-20 00:00:00 2005-10-20 00:00:00
远程  
        
        Midnight Commander是一个UNIX系统下使用的文件管理工具。
        Midnight Commander使用未初始化的缓冲区处理VFS的符号连接,本地攻击者利用这个漏洞可以进行缓冲区溢出攻击。
        攻击者可以构建特殊的文档,诱使其他高级用户使用Midnight Commander打开时,可触发溢出,精心构建文档数据可能提升权限。
        

- 公告与补丁

        厂商补丁:
        Midnight Commander
        ------------------
        目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:
        
        http://www.ibiblio.org/mc/

- 漏洞信息

2595
Midnight Commander VFS Symlink Overflow
Local Access Required Input Manipulation, Race Condition
Loss of Integrity
Vendor Verified

- 漏洞描述

Unknown or Incomplete

- 时间线

2003-09-24 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Midnight Commander Virtual File System Symlink Buffer Overflow Vulnerability
Boundary Condition Error 8658
Yes No
2003-09-19 12:00:00 2009-07-11 11:56:00
Discovery of this vulnerability has been credited to Ilya Teterin <alienhard@mail.ru>.

- 受影响的程序版本

SGI ProPack 2.4
SGI ProPack 2.3
Midnight Commander Midnight Commander 4.6
+ OpenPKG OpenPKG 2.0
+ OpenPKG OpenPKG 1.3
+ OpenPKG OpenPKG Current
+ Red Hat Enterprise Linux AS 3
+ Red Hat Enterprise Linux AS 2.1 IA64
+ Red Hat Enterprise Linux AS 2.1
+ Red Hat Fedora Core1
+ RedHat Enterprise Linux ES 3
+ RedHat Enterprise Linux ES 2.1 IA64
+ RedHat Enterprise Linux ES 2.1
+ RedHat Enterprise Linux WS 3
+ RedHat Enterprise Linux WS 2.1 IA64
+ RedHat Enterprise Linux WS 2.1
+ RedHat Linux 9.0 i386
+ S.u.S.E. Linux Personal 9.0
+ S.u.S.E. Linux Personal 8.2
Midnight Commander Midnight Commander 4.5.55
+ Conectiva Linux 9.0
+ Conectiva Linux 8.0
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0
+ Mandriva Linux Mandrake 9.2 amd64
+ Mandriva Linux Mandrake 9.2
+ Mandriva Linux Mandrake 9.1 ppc
+ Mandriva Linux Mandrake 9.1
+ Mandriva Linux Mandrake 9.0
+ S.u.S.E. Linux 8.1
+ S.u.S.E. Linux 8.0
Midnight Commander Midnight Commander 4.5.52
Midnight Commander Midnight Commander 4.5.51
+ SCO OpenLinux Server 3.1.1
+ SCO OpenLinux Workstation 3.1.1
Gentoo Linux 1.4 _rc3
Gentoo Linux 1.4 _rc2
Gentoo Linux 1.4 _rc1
Gentoo Linux 1.4
Gentoo Linux 1.2
Gentoo Linux 1.1 a
Gentoo Linux 0.7
Gentoo Linux 0.5

- 漏洞讨论

Midnight Commander has been reported prone to a buffer overflow vulnerability, when handling symlinks in virtual file system(VFS), specifically in tar and cpio VFS procedures.

The issue presents itself, reportedly due to an un-initialized buffer being used when Midnight Commander is handling symlinks in the virtual file system code layer.

An attacker may reportedly trigger this issue, using malicious tar archives as an attack vector; to overflow the bounds of an insufficient buffer in stack based memory.

- 漏洞利用

A demonstration proof-of-concept exploit is in the wild.

- 解决方案

SGI has released an advisory 20040202-01-U to address this and other issues in SGI ProPack 2.4. Please see the referenced advisory for more information. Fixes are available below.

Debian has released an advisory (DSA 424-1) to address this issue. Please see referenced advisory for further details regarding the application of relevant fixes.

Red Hat has released advisory RHSA-2004:034-01 to address this issue.

Mandrake has released an advisory (MDKSA-2004:007) that includes updates for this issue.

RedHat Fedora has released advisory FEDORA-2004-058 to address this issue.

SGI has released an advisory 20040201-01-U with a patch to address this and other issues. Please see the referenced advisory for more information.

SCO Openlinux advisory CSSA-2004-014.0 advisory has been released dealing with this issue.

Gentoo has released advisory GLSA 200403-09 to address this issue. To
update the system, enter the following commands:
# emerge sync

# emerge -pv ">=app-misc/mc-4.6.0-r5"
# emerge ">=app-misc/mc-4.6.0-r5"

Conectiva has released advisory CLA-2004:833 and fixes to address this issue.

OpenPKG has released advisory OpenPKG-SA-2004.009 to address this issue.

Red Hat Fedora Legacy has released advisory FLSA:1224 dealing with this issue for Red Hat Linux 8.0, 7.3 and 7.2. Please see the referenced advisory for more information.

Fixes:


SGI ProPack 2.3

SGI ProPack 2.4

Midnight Commander Midnight Commander 4.5.51

Midnight Commander Midnight Commander 4.5.55

Midnight Commander Midnight Commander 4.6

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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