CERT home
vulnerabilities & fixesevaluations & practicesresearch & analysistraining & education
homesearchFAQsite indexcontact
Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information
 

 View Notes By
Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric

Vulnerability Note VU#964488

ISC inn creates temporary files insecurely

Overview

inn, a network news agent, may be configured on some operating systems to use a publically-writeable directory for its temporary files. This may be exploited to gain access to the news account.

I. Description

inn is distributed on a variety of Linux platforms. The program is written under the assumption that the directory in which it stores temporary files is a private directory. On some platforms, it may be configured to create temporary files in /tmp or /var/tmp, both of which are world-writeable directories. This may leave inn subject to modification of files either by symbolic links, or by direct modification of the temporary files.

II. Impact

By creating a symbolic link named for the temporary file and pointed toward an inn configuration file, an attacker may cause modification of these files (or any other file writable by the news user). Should the attacker manage to control the content of these files, it may be possible to gain access to the news account.

III. Solution

Apply vendor patches; see the Systems Affected section below.

Reconfigure inn to use a non-world-writable temporary directory.

Systems Affected

VendorStatusDate Updated
CalderaVulnerable17-Aug-2001
DebianVulnerable17-Aug-2001
ImmunixVulnerable17-Aug-2001
ISCVulnerable17-Aug-2001
MandrakeSoftVulnerable17-Aug-2001

References


http://www.securityfocus.com/bid/2190
http://www.linuxsecurity.com/advisories/debian_advisory-1098.html
http://www.linuxsecurity.com/advisories/caldera_advisory-1057.html
http://www.linuxsecurity.com/advisories/mandrake_advisory-1038.html

Credit

This vulnerability was first described by Greg Kroah-Hartman.

This document was last modified by Tim Shimeall.

Other Information

Date Public01/10/2001
Date First Published09/27/2001 10:10:31 AM
Date Last Updated09/27/2001
CERT Advisory 
CVE NameCAN-2001-0139
Metric5.40
Document Revision14

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

Copyright 2001 Carnegie Mellon University