CVE-2004-0967
CVSS7.2
发布时间 :2005-02-09 00:00:00
修订时间 :2016-10-17 22:50:18
NMCOS    

[原文]The (1) pj-gs.sh, (2) ps2epsi, (3) pv.sh, and (4) sysvlp.sh scripts in the ESP Ghostscript (espgs) package in Trustix Secure Linux 1.5 through 2.1, and other operating systems, allow local users to overwrite files via a symlink attack on temporary files.


[CNNVD]GhostScript不安全临时文件创建漏洞(CNNVD-200502-017)

        GhostScript 是一个 PostScript 语言解释器。
        Trustix Secure Linux 1.5至2.1以及其他操作系统的ESP Ghostscript (espgs)数据包中的(1) pj-gs.sh、(2) ps2epsi、(3) pv.sh和(4) sysvlp.sh脚本,可让本地用户通过象征性的链接攻击临时文件,从而覆盖这些文件。

- CVSS (基础分值)

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

- CWE (弱点类目)

CWE-59 [在文件访问前对链接解析不恰当(链接跟随)]

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

cpe:/a:aladdin_enterprises:ghostscript:5.10.10
cpe:/a:aladdin_enterprises:ghostscript:7.0.6
cpe:/a:aladdin_enterprises:ghostscript:7.0.5
cpe:/a:aladdin_enterprises:ghostscript:7.0.7
cpe:/a:aladdin_enterprises:ghostscript:4.3
cpe:/a:aladdin_enterprises:ghostscript:7.0.4
cpe:/a:aladdin_enterprises:ghostscript:5.50
cpe:/a:aladdin_enterprises:ghostscript:6.51
cpe:/a:aladdin_enterprises:ghostscript:6.52
cpe:/a:aladdin_enterprises:ghostscript:6.53
cpe:/a:aladdin_enterprises:ghostscript:5.10cl
cpe:/a:aladdin_enterprises:ghostscript:5.50.8_7
cpe:/a:aladdin_enterprises:ghostscript:5.10.10::mdk
cpe:/a:aladdin_enterprises:ghostscript:5.10.10_1
cpe:/a:aladdin_enterprises:ghostscript:4.3.2
cpe:/a:aladdin_enterprises:ghostscript:5.10.10_1::mdk
cpe:/a:aladdin_enterprises:ghostscript:5.10.16
cpe:/a:aladdin_enterprises:ghostscript:5.10.15
cpe:/a:aladdin_enterprises:ghostscript:5.50.8
cpe:/a:aladdin_enterprises:ghostscript:5.10.12cl

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

oval:org.mitre.oval:def:10284The (1) pj-gs.sh, (2) ps2epsi, (3) pv.sh, and (4) sysvlp.sh scripts in the ESP Ghostscript (espgs) package in Trustix Secure Linux 1.5 throu...
*OVAL详细的描述了检测该漏洞的方法,你可以从相关的OVAL定义中找到更多检测该漏洞的技术细节。

- 官方数据库链接

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

- 其它链接及资源

ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2006.19/SCOSA-2006.19.txt
(UNKNOWN)  SCO  SCOSA-2006.19
ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2006.23/SCOSA-2006.23.txt
(UNKNOWN)  SCO  SCOSA-2006.23
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=136321
(UNKNOWN)  CONFIRM  http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=136321
http://marc.info/?l=bugtraq&m=109900135814990&w=2
(UNKNOWN)  UBUNTU  USN-3-1
http://www.redhat.com/support/errata/RHSA-2005-081.html
(UNKNOWN)  REDHAT  RHSA-2005:081
http://www.securityfocus.com/bid/11285
(VENDOR_ADVISORY)  BID  11285
http://www.trustix.org/errata/2004/0050
(UNKNOWN)  TRUSTIX  2004-0050
http://xforce.iss.net/xforce/xfdb/17583
(VENDOR_ADVISORY)  XF  script-temporary-file-overwrite(17583)

- 漏洞信息

GhostScript不安全临时文件创建漏洞
高危 设计错误
2005-02-09 00:00:00 2007-01-24 00:00:00
本地  
        GhostScript 是一个 PostScript 语言解释器。
        Trustix Secure Linux 1.5至2.1以及其他操作系统的ESP Ghostscript (espgs)数据包中的(1) pj-gs.sh、(2) ps2epsi、(3) pv.sh和(4) sysvlp.sh脚本,可让本地用户通过象征性的链接攻击临时文件,从而覆盖这些文件。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复这个安全问题,补丁下载链接:
        Aladdin Enterprises Ghostscript 7.0 5
        Trustix ghostscript-7.05.6-7tr.i586.rpmTrustix Secure Linux 2.0
        ftp://ftp.trustix.org/pub/trustix/updates/
        Trustix ghostscript-cups-7.05.6-7tr.i586.rpmTrustix Secure Linux 2.0
        ftp://ftp.trustix.org/pub/trustix/updates/
        Aladdin Enterprises Ghostscript 7.0 7
        Trustix ghostscript-7.07.1-4tr.i586.rpmTrustix Secure Linux 2.1 & Enterprise Server 2
        ftp://ftp.trustix.org/pub/trustix/updates/
        Trustix ghostscript-cups-7.07.1-4tr.i586.rpmTrustix Secure Linux 2.1 & Enterprise Server 2
        ftp://ftp.trustix.org/pub/trustix/updates/

- 漏洞信息

11069
Ghostscript Multiple Scripts Symlink Arbitrary File Overwrite
Local Access Required Race Condition
Loss of Integrity
Exploit Public

- 漏洞描述

Ghostscript contains a flaw that may allow a malicious user to overwrite arbitrary files. The issue is due to multiple scripts creating temporary files with predictable names in world-writeable directories. It is possible that the flaw may allow a malicious user to overwrite arbitrary files, resulting in a loss of integrity.

- 时间线

2004-09-30 Unknow
2004-09-30 Unknow

- 解决方案

Contact your vendor for an appropriate upgrade. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

- 漏洞信息

GhostScript Insecure Temporary File Creation Vulnerability
Design Error 11285
No Yes
2004-09-30 12:00:00 2006-05-10 07:59:00
Trustix security engineers are credited with the discovery of this vulnerability.

- 受影响的程序版本

SCO Unixware 7.1.4
SCO Open Server 6.0
SCO Open Server 5.0.7
RedHat Enterprise Linux WS 3
RedHat Enterprise Linux ES 3
RedHat Desktop 3.0
Red Hat Enterprise Linux AS 3
Aladdin Enterprises Ghostscript 7.0 7
Aladdin Enterprises Ghostscript 7.0 6
Aladdin Enterprises Ghostscript 7.0 5
+ Gentoo Linux 1.4 _rc3
+ Gentoo Linux 1.4 _rc3
+ Gentoo Linux 1.4 _rc2
+ Gentoo Linux 1.4 _rc2
+ MandrakeSoft Corporate Server 2.1
+ MandrakeSoft Corporate Server 2.1
+ Mandriva Linux Mandrake 9.1 ppc
+ Mandriva Linux Mandrake 9.1 ppc
+ Mandriva Linux Mandrake 9.1
+ Mandriva Linux Mandrake 9.1
+ Mandriva Linux Mandrake 9.0
+ Mandriva Linux Mandrake 9.0
+ RedHat Linux 9.0 i386
+ RedHat Linux 8.0
+ RedHat Linux 8.0
Aladdin Enterprises Ghostscript 7.0 4
+ OpenPKG OpenPKG 1.1
Aladdin Enterprises Ghostscript 6.53
+ Mandriva Linux Mandrake 8.2 ppc
+ Mandriva Linux Mandrake 8.2
+ Mandriva Linux Mandrake 8.2
Aladdin Enterprises Ghostscript 6.52
+ HP Secure OS software for Linux 1.0
+ HP Secure OS software for Linux 1.0
+ RedHat Linux 7.3 i386
+ RedHat Linux 7.2 ia64
+ RedHat Linux 7.2 ia64
+ RedHat Linux 7.2 i386
+ RedHat Linux 7.2 i386
+ RedHat Linux 7.1 ia64
+ RedHat Linux 7.1 ia64
+ RedHat Linux 7.1 i386
+ RedHat Linux 7.1 i386
+ RedHat Linux 7.1 alpha
+ RedHat Linux 7.1 alpha
+ RedHat Linux 7.0 sparc
+ RedHat Linux 7.0 sparc
+ RedHat Linux 7.0 i386
+ RedHat Linux 7.0 i386
+ RedHat Linux 7.0 alpha
+ RedHat Linux 7.0 alpha
+ RedHat Linux 6.2 sparc
+ RedHat Linux 6.2 sparc
+ RedHat Linux 6.2 i386
+ RedHat Linux 6.2 i386
+ RedHat Linux 6.2 alpha
+ RedHat Linux 6.2 alpha
Aladdin Enterprises Ghostscript 6.51
+ Caldera OpenLinux Server 3.1.1
+ Caldera OpenLinux Server 3.1.1
+ Caldera OpenLinux Server 3.1
+ Caldera OpenLinux Server 3.1
+ Caldera OpenLinux Workstation 3.1.1
+ Caldera OpenLinux Workstation 3.1.1
+ Caldera OpenLinux Workstation 3.1
+ Caldera OpenLinux Workstation 3.1
+ Sun Linux 5.0.5
Aladdin Enterprises Ghostscript 5.50.8 _7
+ RedHat Linux 7.0 i386
Aladdin Enterprises Ghostscript 5.50.8
Aladdin Enterprises Ghostscript 5.50
+ HP Secure OS software for Linux 1.0
+ RedHat Linux 7.1 ia64
+ RedHat Linux 7.1 ia64
+ RedHat Linux 7.1 i386
+ RedHat Linux 7.1 i386
+ RedHat Linux 7.1 alpha
+ RedHat Linux 7.1 alpha
+ RedHat Linux 7.0 J i386
+ RedHat Linux 7.0 J i386
+ RedHat Linux 7.0 sparc
+ RedHat Linux 7.0 sparc
+ RedHat Linux 7.0 i386
+ RedHat Linux 7.0 i386
+ RedHat Linux 7.0 alpha
+ RedHat Linux 7.0 alpha
+ RedHat Linux 6.2 sparc
+ RedHat Linux 6.2 sparc
+ RedHat Linux 6.2 i386
+ RedHat Linux 6.2 i386
+ RedHat Linux 6.2 alpha
+ RedHat Linux 6.2 alpha
Aladdin Enterprises Ghostscript 5.10.16
Aladdin Enterprises Ghostscript 5.10.15
+ Caldera OpenLinux Desktop 2.3
+ Caldera OpenLinux Desktop 2.3
+ Caldera OpenLinux eBuilder 3.0
+ SCO eDesktop 2.4
+ SCO eDesktop 2.4
+ SCO eServer 2.3
+ SCO eServer 2.3
Aladdin Enterprises Ghostscript 5.10.12 cl
+ Conectiva Linux 5.1
+ Conectiva Linux 5.0
+ Conectiva Linux 5.0
+ Conectiva Linux 4.2
+ Conectiva Linux 4.2
+ Conectiva Linux 4.1
+ Conectiva Linux 4.1
+ Conectiva Linux 4.0 es
+ Conectiva Linux 4.0 es
+ Conectiva Linux 4.0
+ Conectiva Linux 4.0
Aladdin Enterprises Ghostscript 5.10.10 mdk
+ Mandriva Linux Mandrake 7.2
+ Mandriva Linux Mandrake 7.1
+ Mandriva Linux Mandrake 7.1
+ Mandriva Linux Mandrake 7.0
+ Mandriva Linux Mandrake 7.0
+ Mandriva Linux Mandrake 6.1
+ Mandriva Linux Mandrake 6.1
+ Mandriva Linux Mandrake 6.0
+ Mandriva Linux Mandrake 6.0
Aladdin Enterprises Ghostscript 5.10.10 -1 mdk
+ Mandriva Linux Mandrake 7.2
+ Mandriva Linux Mandrake 7.1
+ Mandriva Linux Mandrake 7.1
+ Mandriva Linux Mandrake 7.0
+ Mandriva Linux Mandrake 7.0
+ Mandriva Linux Mandrake 6.1
+ Mandriva Linux Mandrake 6.1
+ Mandriva Linux Mandrake 6.0
+ Mandriva Linux Mandrake 6.0
Aladdin Enterprises Ghostscript 5.10.10 -1
Aladdin Enterprises Ghostscript 5.10.10
+ Debian Linux 2.2 sparc
+ Debian Linux 2.2 sparc
+ Debian Linux 2.2 powerpc
+ Debian Linux 2.2 powerpc
+ Debian Linux 2.2 arm
+ Debian Linux 2.2 arm
+ Debian Linux 2.2 alpha
+ Debian Linux 2.2 alpha
+ Debian Linux 2.2 68k
+ Debian Linux 2.2 68k
+ Debian Linux 2.2
+ Debian Linux 2.2
+ Mandriva Linux Mandrake 7.2
+ Mandriva Linux Mandrake 7.2
+ Mandriva Linux Mandrake 7.1
+ Mandriva Linux Mandrake 7.1
+ Mandriva Linux Mandrake 7.0
+ Mandriva Linux Mandrake 7.0
+ Mandriva Linux Mandrake 6.1
+ Mandriva Linux Mandrake 6.0
+ Mandriva Linux Mandrake 6.0
Aladdin Enterprises Ghostscript 5.10 cl
+ Conectiva Linux 5.1
+ Conectiva Linux 5.0
+ Conectiva Linux 5.0
+ Conectiva Linux 4.2
+ Conectiva Linux 4.2
+ Conectiva Linux 4.1
+ Conectiva Linux 4.1
+ Conectiva Linux 4.0 es
+ Conectiva Linux 4.0 es
+ Conectiva Linux 4.0
+ Conectiva Linux 4.0
Aladdin Enterprises Ghostscript 4.3.2
Aladdin Enterprises Ghostscript 4.3
+ HP Secure OS software for Linux 1.0
+ RedHat Linux 5.2 sparc
+ RedHat Linux 5.2 sparc
+ RedHat Linux 5.2 i386
+ RedHat Linux 5.2 i386
+ RedHat Linux 5.2 alpha
+ RedHat Linux 5.2 alpha

- 漏洞讨论


Ghostscript creates temporary files in an insecure manor. This issue is likely due to a design error that causes the application to fail to verify the presence of a file before writing to it.

An attacker may leverage this issue to overwrite arbitrary files with the privileges of an unsuspecting user that activates the vulnerable application. Reportedly, this issue is unlikely to facilitate privilege escalation.

- 漏洞利用

No exploit is required to leverage this issue.

- 解决方案

Please see the referenced vendor advisories for further information on obtaining and applying fixes.


Aladdin Enterprises Ghostscript 7.0 5

Aladdin Enterprises Ghostscript 7.0 7

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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