发布时间 :2004-07-07 00:00:00
修订时间 :2017-07-10 21:30:08

[原文]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)


- CVSS (基础分值)

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

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

cpe:/o:mandrakesoft:mandrake_linux:10.0MandrakeSoft Mandrake Linux 10.0
cpe:/o:mandrakesoft:mandrake_linux:9.2MandrakeSoft Mandrake Linux 9.2

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


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(UNKNOWN)  XF  xpcd-svga-pcdopen-bo(16236)

- 漏洞信息

XPCD xpcd-svga本地缓冲区溢出漏洞
中危 边界条件错误
2004-07-07 00:00:00 2005-10-20 00:00:00

- 公告与补丁

        # chmod 755 xpcd-svga

- 漏洞信息 (F33411)

dsa-508.txt (PacketStormID:F33411)
2004-05-25 00:00:00
Matt Zimmerman

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.

Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 508-1                                        Matt Zimmerman
May 22nd, 2004                
- --------------------------------------------------------------------------

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:
      Size/MD5 checksum:      706 4fb68483cbb6d45728f47e5c61b3eaff
      Size/MD5 checksum:    14077 f0e7c9e426744ccf0bcfbce07197bfb3
      Size/MD5 checksum:   103104 59bf5b8d0466ecb3c58ed1fffcdf499e

  Alpha architecture:
      Size/MD5 checksum:    81078 d10c02b66de2e1e290a83ddbe18ff81e
      Size/MD5 checksum:    13400 7769c2706e18e506e8a3a965f04de689

  ARM architecture:
      Size/MD5 checksum:    68000 81c4f72e248c901f023d888fc7af3222
      Size/MD5 checksum:    11864 0d7af30d338c299f446082133d7cd934

  Intel IA-32 architecture:
      Size/MD5 checksum:    64238 cfa0b813d7fda7c9b5dbe66700d3d13f
      Size/MD5 checksum:    11708 280a130ec6054eca1f8f3b4be94b9744
      Size/MD5 checksum:    20822 5cb42524e3ce21f35bc43aa5ef7f9967

  Intel IA-64 architecture:
      Size/MD5 checksum:    97682 249299d45d8a1539799969d2eb82ecf9
      Size/MD5 checksum:    15310 4218754ba8daa1991e67ea7dada45c0a

  HP Precision architecture:
      Size/MD5 checksum:    73370 b009527a9708c81afe5e21ae4956eeea
      Size/MD5 checksum:    12848 16e72f99d8b65635eeedbae7b014582b

  Motorola 680x0 architecture:
      Size/MD5 checksum:    62626 45a7e74314164cfbf6de164da91331f6
      Size/MD5 checksum:    11488 6c68962e1cc32a221ebe11357790f21e

  Big endian MIPS architecture:
      Size/MD5 checksum:    73488 43e5783d423f3054a57b55d95bd0d214
      Size/MD5 checksum:    12594 72855f1617071135eebee4c12867a26a

  Little endian MIPS architecture:
      Size/MD5 checksum:    73164 9d006b85dc71297638479002a0260fe0
      Size/MD5 checksum:    12558 ccffee63fc2c8c35e5a87ce0cb450a37

  PowerPC architecture:
      Size/MD5 checksum:    68436 752053140f35df568c14c8abc5f2e7ef
      Size/MD5 checksum:    11896 fbbd067d762d0d6f7ba4e2a92dd67397

  IBM S/390 architecture:
      Size/MD5 checksum:    69600 60c613113c20c8bf80b1a9d44836697b
      Size/MD5 checksum:    12486 8b63fbf6feeaaf4a3b1c64674bcfca9b

  Sun Sparc architecture:
      Size/MD5 checksum:    72736 db142879397f6e3723641acee424f3b5
      Size/MD5 checksum:    11780 3acbff9fae774d384aa8546048a2ea40

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

- ---------------------------------------------------------------------------------
For apt-get: deb stable/updates main
For dpkg-ftp: dists/stable/updates/main
Mailing list:
Package info: `apt-cache show <pkg>' and<pkg>
Version: GnuPG v1.2.4 (GNU/Linux)


- 漏洞信息

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: &lt;;.

- 解决方案

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

- 相关参考