Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Gentoo Local Security Checks >> [GLSA-200410-18] Ghostscript: Insecure temporary file use in multiple scripts


Vulnerability Assessment Details

[GLSA-200410-18] Ghostscript: Insecure temporary file use in multiple scripts

Vulnerability Assessment Summary
Ghostscript: Insecure temporary file use in multiple scripts

Detailed Explanation for this Vulnerability Assessment
The remote host is affected by the vulnerability described in GLSA-200410-18
(Ghostscript: Insecure temporary file use in multiple scripts)


The pj-gs.sh, ps2epsi, pv.sh and sysvlp.sh scripts create temporary files
in world-writeable directories with predictable names.

Impact

A local attacker could create symbolic links in the temporary files
directory, pointing to a valid file somewhere on the filesystem. When an
affected script is called, this would result in the file to be overwritten
with the rights of the user running the script, which could be the root
user.

Workaround

There is no known workaround at this time.

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0967


Solution:
Ghostscript users on all architectures except PPC should upgrade to the
latest version:
# emerge sync
# emerge -pv ">=app-text/ghostscript-7.07.1-r7"
# emerge ">=app-text/ghostscript-7.07.1-r7"
Ghostscript users on the PPC architecture should upgrade to the latest
stable version on their architecture:
# emerge sync
# emerge -pv ">=app-text/ghostscript-7.05.6-r2"
# emerge ">=app-text/ghostscript-7.05.6-r2"


Network Security Threat Level: Medium


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2005 Michel Arboi

Cables, Connectors

Dell/Samsung 8GB SERVER Memory Module 2Rx8 PC3-12800U DDR3 M378B1G73QH0-CK0
$44.0
Dell/Samsung 8GB SERVER Memory Module 2Rx8 PC3-12800U DDR3 M378B1G73QH0-CK0 pictureHP - 15.6" Touch-Screen Laptop - Intel Core i5 - 8GB Memory - 1TB Hard Drive ...
$679.99
HP - 15.6LOT OF 5: SK HYNIX 4GB 2Rx8 PC3-12800S DDR3 1600MHz SODIMM MEMORY
$75.0
LOT OF 5: SK HYNIX 4GB 2Rx8 PC3-12800S DDR3 1600MHz SODIMM MEMORY pictureHP 16GB 2Rx4 PC3-12800R DDR3 1600MHz ECC RAM 672631-B21/672612-081/684031-001
$67.2
HP 16GB 2Rx4 PC3-12800R DDR3 1600MHz ECC RAM 672631-B21/672612-081/684031-001 picture


Discussions

No Discussions have been posted on this vulnerability.