SGMLtools Temporary File Permission Vulnerability

BID:2506

Info

SGMLtools Temporary File Permission Vulnerability

Bugtraq ID: 2506
Class: Origin Validation Error
CVE:
Remote: No
Local: Yes
Published: Mar 14 2001 12:00AM
Updated: Mar 14 2001 12:00AM
Credit: This vulnerability was first announced to Bugtraq in a RedHat Security Advisory on March 14, 2001.
Vulnerable: Cees De Groot SGMLtools 1.0.9
+ MandrakeSoft Corporate Server 1.0.1
+ Mandriva Linux Mandrake 7.2
+ Mandriva Linux Mandrake 7.1
+ Mandriva Linux Mandrake 6.1
+ Mandriva Linux Mandrake 6.0
+ Redhat Linux 7.0 i386
+ Redhat Linux 7.0 alpha
+ Redhat Linux 6.2 sparc
+ Redhat Linux 6.2 i386
+ Redhat Linux 6.2 alpha
+ Wirex Immunix OS 7.0 -Beta
+ Wirex Immunix OS 7.0
+ Wirex Immunix OS 6.2
Cees De Groot SGMLtools 1.0.7
+ Redhat Linux 5.2 sparc
+ Redhat Linux 5.2 i386
+ Redhat Linux 5.2 alpha
Not Vulnerable:

Discussion

SGMLtools Temporary File Permission Vulnerability

SGMLtools was originally written by Cees de Groot. The SGMLtools package is designed to give users a customizable document markup and maintenance interface.

The package contains a vulnerability that could allow file reading, and potentially appending or overwriting. While manipulating documents, the package creates files in the /tmp directory with insecure permissions. This makes it possible to read, and potentially write to the files while the SGMLtools program is still being used, which could result in the contents being written to the being created.

This problem makes it possible for a malicious local user to read the contents of a file being created with SGMLtools, and potentially overwrite and corrupt the documents of other users.

Exploit / POC

SGMLtools Temporary File Permission Vulnerability

To exploit this vulnerability, an attacker must monitor the /tmp file system and the process table for a user of the affected program. Once a user executes the program, the attacker can read and potentially write to the file in the /tmp directory.

Solution / Fix

SGMLtools Temporary File Permission Vulnerability

Solution:
Upgrades available:


Cees De Groot SGMLtools 1.0.7

Cees De Groot SGMLtools 1.0.9

References

SGMLtools Temporary File Permission Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report