CVE-2004-0402
CVSS4.6
发布时间 :2004-07-07 00:00:00
修订时间 :2008-09-10 15:26:14
NMCOPS    

[原文]Buffer overflow in xpcd-svga in xpcd before 2.08, and possibly other versions, may allow local users to execute arbitrary code.


[CNNVD]XPCD xpcd-svga本地缓冲区溢出漏洞(CNNVD-200407-005)

        
        xpcd是一款Linux系统下的相片光盘浏览工具。
        xpcd-svga工具中的pcd_open函数在拷贝用户提供的数据到缓冲区时缺少充分检查,本地攻击者可以利用这个漏洞以进程权限在系统上执行任意指令。
        目前没有详细漏洞细节提供。
        

- CVSS (基础分值)

CVSS分值: 4.6 [中等(MEDIUM)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/o:mandrakesoft:mandrake_linux:9.2::amd64
cpe:/o:mandrakesoft:mandrake_linux:10.0::amd64
cpe:/o:mandrakesoft:mandrake_linux:9.2MandrakeSoft Mandrake Linux 9.2
cpe:/a:xpcd:xpcd:2.08
cpe:/o:mandrakesoft:mandrake_linux:10.0MandrakeSoft Mandrake Linux 10.0

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.securityfocus.com/bid/10403
(VENDOR_ADVISORY)  BID  10403
http://www.debian.org/security/2004/dsa-508
(VENDOR_ADVISORY)  DEBIAN  DSA-508
http://xforce.iss.net/xforce/xfdb/16236
(VENDOR_ADVISORY)  XF  xpcd-svga-pcdopen-bo(16236)
http://www.mandriva.com/security/advisories?name=MDKSA-2004:053
(UNKNOWN)  MANDRAKE  MDKSA-2004:053

- 漏洞信息

XPCD xpcd-svga本地缓冲区溢出漏洞
中危 边界条件错误
2004-07-07 00:00:00 2005-10-20 00:00:00
本地  
        
        xpcd是一款Linux系统下的相片光盘浏览工具。
        xpcd-svga工具中的pcd_open函数在拷贝用户提供的数据到缓冲区时缺少充分检查,本地攻击者可以利用这个漏洞以进程权限在系统上执行任意指令。
        目前没有详细漏洞细节提供。
        

- 公告与补丁

        临时解决方法:
        如果您不能立刻安装补丁或者升级,CNNVD建议您采取以下措施以降低威胁:
        # chmod 755 xpcd-svga
        厂商补丁:
        Debian
        ------
        
        http://www.debian.org/security/2004/dsa-508

- 漏洞信息 (F33411)

dsa-508.txt (PacketStormID:F33411)
2004-05-25 00:00:00
Matt Zimmerman  debian.org
advisory,arbitrary
linux,debian
CVE-2004-0402
[点击下载]

Debian Security Advisory DSA 508-1 - Jaguar discovered a vulnerability in one component of xpcd, a PhotoCD viewer. xpcd-svga, part of xpcd which uses svgalib to display graphics on the console, would copy user-supplied data of arbitrary length into a fixed-size buffer in the pcd_open function.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 508-1                     security@debian.org
http://www.debian.org/security/                             Matt Zimmerman
May 22nd, 2004                          http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : xpcd
Vulnerability  : buffer overflow
Problem-Type   : local
Debian-specific: no
CVE Ids        : CAN-2004-0402

Jaguar discovered a vulnerability in one component of xpcd, a PhotoCD
viewer.  xpcd-svga, part of xpcd which uses svgalib to display
graphics on the console, would copy user-supplied data of arbitrary
length into a fixed-size buffer in the pcd_open function.

For the current stable distribution (woody) this problem has been
fixed in version 2.08-8woody2.

For the unstable distribution (sid), this problem will be fixed soon.

We recommend that you update your xpcd package.

Upgrade Instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.

Debian GNU/Linux 3.0 alias woody
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/x/xpcd/xpcd_2.08-8woody1.dsc
      Size/MD5 checksum:      706 4fb68483cbb6d45728f47e5c61b3eaff
    http://security.debian.org/pool/updates/main/x/xpcd/xpcd_2.08-8woody1.diff.gz
      Size/MD5 checksum:    14077 f0e7c9e426744ccf0bcfbce07197bfb3
    http://security.debian.org/pool/updates/main/x/xpcd/xpcd_2.08.orig.tar.gz
      Size/MD5 checksum:   103104 59bf5b8d0466ecb3c58ed1fffcdf499e

  Alpha architecture:

    http://security.debian.org/pool/updates/main/x/xpcd/xpcd_2.08-8woody2_alpha.deb
      Size/MD5 checksum:    81078 d10c02b66de2e1e290a83ddbe18ff81e
    http://security.debian.org/pool/updates/main/x/xpcd/xpcd-gimp_2.08-8woody2_alpha.deb
      Size/MD5 checksum:    13400 7769c2706e18e506e8a3a965f04de689

  ARM architecture:

    http://security.debian.org/pool/updates/main/x/xpcd/xpcd_2.08-8woody2_arm.deb
      Size/MD5 checksum:    68000 81c4f72e248c901f023d888fc7af3222
    http://security.debian.org/pool/updates/main/x/xpcd/xpcd-gimp_2.08-8woody2_arm.deb
      Size/MD5 checksum:    11864 0d7af30d338c299f446082133d7cd934

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/x/xpcd/xpcd_2.08-8woody1_i386.deb
      Size/MD5 checksum:    64238 cfa0b813d7fda7c9b5dbe66700d3d13f
    http://security.debian.org/pool/updates/main/x/xpcd/xpcd-gimp_2.08-8woody1_i386.deb
      Size/MD5 checksum:    11708 280a130ec6054eca1f8f3b4be94b9744
    http://security.debian.org/pool/updates/main/x/xpcd/xpcd-svga_2.08-8woody1_i386.deb
      Size/MD5 checksum:    20822 5cb42524e3ce21f35bc43aa5ef7f9967

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/x/xpcd/xpcd_2.08-8woody1_ia64.deb
      Size/MD5 checksum:    97682 249299d45d8a1539799969d2eb82ecf9
    http://security.debian.org/pool/updates/main/x/xpcd/xpcd-gimp_2.08-8woody1_ia64.deb
      Size/MD5 checksum:    15310 4218754ba8daa1991e67ea7dada45c0a

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/x/xpcd/xpcd_2.08-8woody2_hppa.deb
      Size/MD5 checksum:    73370 b009527a9708c81afe5e21ae4956eeea
    http://security.debian.org/pool/updates/main/x/xpcd/xpcd-gimp_2.08-8woody2_hppa.deb
      Size/MD5 checksum:    12848 16e72f99d8b65635eeedbae7b014582b

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/x/xpcd/xpcd_2.08-8woody1_m68k.deb
      Size/MD5 checksum:    62626 45a7e74314164cfbf6de164da91331f6
    http://security.debian.org/pool/updates/main/x/xpcd/xpcd-gimp_2.08-8woody1_m68k.deb
      Size/MD5 checksum:    11488 6c68962e1cc32a221ebe11357790f21e

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/x/xpcd/xpcd_2.08-8woody1_mips.deb
      Size/MD5 checksum:    73488 43e5783d423f3054a57b55d95bd0d214
    http://security.debian.org/pool/updates/main/x/xpcd/xpcd-gimp_2.08-8woody1_mips.deb
      Size/MD5 checksum:    12594 72855f1617071135eebee4c12867a26a

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/x/xpcd/xpcd_2.08-8woody1_mipsel.deb
      Size/MD5 checksum:    73164 9d006b85dc71297638479002a0260fe0
    http://security.debian.org/pool/updates/main/x/xpcd/xpcd-gimp_2.08-8woody1_mipsel.deb
      Size/MD5 checksum:    12558 ccffee63fc2c8c35e5a87ce0cb450a37

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/x/xpcd/xpcd_2.08-8woody1_powerpc.deb
      Size/MD5 checksum:    68436 752053140f35df568c14c8abc5f2e7ef
    http://security.debian.org/pool/updates/main/x/xpcd/xpcd-gimp_2.08-8woody1_powerpc.deb
      Size/MD5 checksum:    11896 fbbd067d762d0d6f7ba4e2a92dd67397

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/x/xpcd/xpcd_2.08-8woody1_s390.deb
      Size/MD5 checksum:    69600 60c613113c20c8bf80b1a9d44836697b
    http://security.debian.org/pool/updates/main/x/xpcd/xpcd-gimp_2.08-8woody1_s390.deb
      Size/MD5 checksum:    12486 8b63fbf6feeaaf4a3b1c64674bcfca9b

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/x/xpcd/xpcd_2.08-8woody1_sparc.deb
      Size/MD5 checksum:    72736 db142879397f6e3723641acee424f3b5
    http://security.debian.org/pool/updates/main/x/xpcd/xpcd-gimp_2.08-8woody1_sparc.deb
      Size/MD5 checksum:    11780 3acbff9fae774d384aa8546048a2ea40

  These files will probably be moved into the stable distribution on
  its next revision.

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAsEljArxCt0PiXR4RAiLRAJ9pztFKOUg4GnPcPP1/CyijUSuY9wCg036C
kG8D1AoxJlkEQiJdhaFwgPg=
=suC4
-----END PGP SIGNATURE-----
    

- 漏洞信息

6407
xpcd/libpcd Image Error Overflow
Local Access Required Input Manipulation
Loss of Integrity
Exploit Unknown

- 漏洞描述

A local overflow exists in xpcd. The pcd_open function fails to validate user input resulting in a buffer overflow. With a specially crafted request, an attacker can cause arbitrary code execution resulting in a loss of integrity.

- 时间线

2004-05-22 2004-05-22
Unknow Unknow

- 解决方案

The author has ceased development on xpcd. Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

XPCD XPCD-SVGA Buffer Overflow Vulnerability
Boundary Condition Error 10403
No Yes
2004-05-23 12:00:00 2009-07-12 05:16:00
Credited by Debian to "Jaguar".

- 受影响的程序版本

xpcd xpcd 2.0 8
+ 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 10.0 AMD64
Mandriva Linux Mandrake 10.0
Mandriva Linux Mandrake 9.2 amd64
Mandriva Linux Mandrake 9.2

- 漏洞讨论

The xpcd-svga utility is susceptible to a locally exploitable buffer overflow condition. According to the report, xpcd-svga copies untrusted data into a buffer of predefined size without bounds checking. The procedure where this occurs is "pcd_open()", suggesting that the source of the data may be in the image file or photo disk.

- 漏洞利用

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com &lt;mailto:vuldb@securityfocus.com&gt;.

- 解决方案

Debian has issued an advisory (DSA 508-1) and fixes. See referenced advisory for more information.

Mandrakelinux has issued an advisory (MDKSA-2004:053) and fixes. See the referenced advisory for more information.


Mandriva Linux Mandrake 10.0

Mandriva Linux Mandrake 10.0 AMD64

Mandriva Linux Mandrake 9.2

Mandriva Linux Mandrake 9.2 amd64

- 相关参考

     

     

    关于SCAP中文社区

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

    版权声明

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