search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Aladdin Ghostscript creates insecure temporary files allowing a local user to create symbolic links to other files

Vulnerability Note VU#227312

Original Release Date: 2001-08-21 | Last Revised: 2001-08-21

Overview

Alladin Ghostscript, a previewer for postscript files, creates temporary files with a predictable names. The creation allows attackers to use symbolic links to overwrite other files on the host.

Description

Alladin Ghostscript is a previewer for postscript files. It creates temporary files using the mktemp() call, which creates files with predictable names based on the process number for the process running Ghostscript. The prior existence and ownership of the temporary file is not checked by the mktemp() call.

Impact

By creating a symbolic link with the appropriate name, an attacker may overwrite any file writable by the user running Ghostscript. This is particularly dangerous for the root account, which could lead to overwriting of system files, including the password file, and raising of the attacker's access privileges.

Solution

Apply vendor patches; see the Systems Affected section below.

Vendor Information

227312
 

CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

Dr. Werner Fink of SuSE first reported this vulnerability.

This document was last modified by Tim Shimeall.

Other Information

CVE IDs: CVE-2000-1162
Severity Metric: 4.05
Date Public: 2000-11-22
Date First Published: 2001-08-21
Date Last Updated: 2001-08-21 13:59 UTC
Document Revision: 11

Sponsored by CISA.