CVE-2005-3278
CVSS7.2
发布时间 :2005-10-23 06:02:00
修订时间 :2008-09-05 16:53:56
NMCOPS    

[原文]Integer overflow in the openpsfile function in gsinterf.c for Jan Kybic BitMap Viewer (BMV) 1.2 allows local users to execute arbitrary code via a PostScript (PS) file containing a large number of pages value, which leads to a resultant buffer overflow.


[CNNVD]BMV PostScript 文件处理整数溢出漏洞(CNNVD-200510-190)

        Jan Kybic BitMap Viewer 是一款位图管理工具。
        Jan Kybic BitMap Viewer (BMV) 1.2的gsinterf.c中的openpsfile函数存在整数溢出。本地用户可以借助含有大量pages值的PostScript (PS)文件,造成缓冲区溢出,从而执行任意代码。

- CVSS (基础分值)

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

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

产品及版本信息(CPE)暂不可用

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/22815
(UNKNOWN)  XF  bmv-openpsfile-overflow(22815)
http://www.osvdb.org/20118
(UNKNOWN)  OSVDB  20118
http://securitytracker.com/id?1015086
(UNKNOWN)  SECTRACK  1015086
http://secunia.com/advisories/17266
(VENDOR_ADVISORY)  SECUNIA  17266
http://felinemenace.org/advisories/bmv_advisory.txt
(VENDOR_ADVISORY)  MISC  http://felinemenace.org/advisories/bmv_advisory.txt
http://www.securityfocus.com/bid/15153
(UNKNOWN)  BID  15153
http://www.debian.org/security/2006/dsa-981
(UNKNOWN)  DEBIAN  DSA-981
http://secunia.com/advisories/19029
(UNKNOWN)  SECUNIA  19029

- 漏洞信息

BMV PostScript 文件处理整数溢出漏洞
高危 缓冲区溢出
2005-10-23 00:00:00 2005-10-24 00:00:00
远程  
        Jan Kybic BitMap Viewer 是一款位图管理工具。
        Jan Kybic BitMap Viewer (BMV) 1.2的gsinterf.c中的openpsfile函数存在整数溢出。本地用户可以借助含有大量pages值的PostScript (PS)文件,造成缓冲区溢出,从而执行任意代码。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:
        BMV BMV 1.2
        Debian bmv_1.2-14.3_i386.deb
        Debian GNU/Linux 3.0 (woody)
        http://security.debian.org/pool/updates/main/b/bmv/bmv_1.2-14.3_i386.deb
        Debian bmv_1.2-17sarge1_i386.deb
        Debian GNU/Linux 3.1 (sarge)
        http://security.debian.org/pool/updates/main/b/bmv/bmv_1.2-17sarge1_i386.deb

- 漏洞信息 (F44327)

Debian Linux Security Advisory 981-1 (PacketStormID:F44327)
2006-03-03 00:00:00
Debian  debian.org
advisory,overflow,arbitrary
linux,debian
CVE-2005-3278
[点击下载]

Debian Security Advisory DSA 981-1 - felinemalice discovered an integer overflow in BMV, a post script viewer for SVGAlib, that may lead to the execution of arbitrary code through specially crafted Postscript files.

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

- ---------------------------------------------------------------------------
Debian Security Advisory DSA 981-1                     security@debian.org
http://www.debian.org/security/                         Moritz Muehlenhoff
February 26th, 2006                     http://www.debian.org/security/faq
- ---------------------------------------------------------------------------

Package        : bmv
Vulnerability  : integer overflow
Problem-Type   : local(remote)
Debian-specific: no
CVE ID         : CVE-2005-3278
Debian Bug     : 335497

"felinemalice" discovered an integer overflow in BMV, a post script viewer
for SVGAlib, that may lead to the execution of arbitrary code through
specially crafted Postscript files.

For the old stable distribution (woody) this problem has been fixed in
version 1.2-14.3.

For the stable distribution (sarge) this problem has been fixed in
version 1.2-17sarge1.

For the unstable distribution (sid) this problem has been fixed in
version 1.2-18.

We recommend that you upgrade your bmv 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/b/bmv/bmv_1.2-14.3.dsc
      Size/MD5 checksum:      565 1898d7719bc8b5c0c5de50107d52ba3a
    http://security.debian.org/pool/updates/main/b/bmv/bmv_1.2-14.3.diff.gz
      Size/MD5 checksum:    14144 34d0323edc6916afcef9496205c54be4
    http://security.debian.org/pool/updates/main/b/bmv/bmv_1.2.orig.tar.gz
      Size/MD5 checksum:    50755 40c881800edac6b1d2ce75ea8da6e6b4

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/b/bmv/bmv_1.2-14.3_i386.deb
      Size/MD5 checksum:    21932 19eba9d127882013b807744c866d89d9


Debian GNU/Linux 3.1 alias sarge
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/b/bmv/bmv_1.2-17sarge1.dsc
      Size/MD5 checksum:      569 3f041ac1b04a613eef6164f657ef7a14
    http://security.debian.org/pool/updates/main/b/bmv/bmv_1.2-17sarge1.diff.gz
      Size/MD5 checksum:    13051 90f228f3dadc268c9d1e16d986c10484
    http://security.debian.org/pool/updates/main/b/bmv/bmv_1.2.orig.tar.gz
      Size/MD5 checksum:    50755 40c881800edac6b1d2ce75ea8da6e6b4

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/b/bmv/bmv_1.2-17sarge1_i386.deb
      Size/MD5 checksum:    24246 ee390b0280d154d7a7ccef558d7ecca8


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

- ---------------------------------------------------------------------------------
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.4.2 (GNU/Linux)

iD8DBQFEBq0BW5ql+IAeqTIRAhh7AJ9BpvOblSho9PwUiFeVXVz8E/45DACgh/1G
SW53gd7IXDCjJfofxbBoc40=
=rwWd
-----END PGP SIGNATURE-----

    

- 漏洞信息

20118
BMV PS File Page Handling openpsfile() Function Local Overflow
Local Access Required Input Manipulation
Loss of Integrity
Exploit Unknown

- 漏洞描述

A local overflow exists in BMV. BMV fails to allocate memory to store the file offsets of each page in a PS file resulting in a integer overflow. With a specially crafted postscript file an attacker can execute arbitrary code resulting in a loss of integrity.

- 时间线

2005-10-20 Unknow
Unknow Unknow

- 解决方案

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

- 相关参考

- 漏洞作者

- 漏洞信息

BMV PostScript File Handling Integer Overflow Vulnerability
Boundary Condition Error 15153
Yes No
2005-10-20 12:00:00 2006-05-31 07:17:00
Discovery is credited to felinemenace.

- 受影响的程序版本

Debian Linux 3.1 sparc
Debian Linux 3.1 s/390
Debian Linux 3.1 ppc
Debian Linux 3.1 mipsel
Debian Linux 3.1 mips
Debian Linux 3.1 m68k
Debian Linux 3.1 ia-64
Debian Linux 3.1 ia-32
Debian Linux 3.1 hppa
Debian Linux 3.1 arm
Debian Linux 3.1 amd64
Debian Linux 3.1 alpha
Debian Linux 3.1
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
BMV BMV 1.2
+ 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

- 漏洞讨论

BMV is prone to an integer-overflow vulnerability.

This issue arises when the application handles a malformed PostScript file.

A successful attack may result in arbitrary code execution leading to unauthorized access. Reports indicate that on some distributions, BMV is installed setuid root by default. This may allow an attacker to gain superuser privileges by exploiting this issue.

- 漏洞利用

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

- 解决方案

Debian advisory DSA-981-1 is available to address this issue. Please see the referenced advisory for more information.

Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com


BMV BMV 1.2

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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