SHARE
Facebook X Pinterest WhatsApp

Caldera Security Advisory SA-1998.36: screen /tmp file race problem

Written By
thumbnail
Web Webster
Web Webster
Dec 11, 1998

Topic: screen /tmp file race problem
Advisory issue date: 25 November 1998

I. Problem Description

This is a problem present in screen 3.7.4. When a user uses ^A
> in screen to save whatever he has cut, the file
/tmp/screen-exchange is created. This file contains whatever was in
the cut buffer at the time. This can be exploited if a normal user
links /tmp/screen-exchange to a sensetive file, such as
/etc/passwdr. Whenever root uses ^A > to save his buffer to
file, whatever file /tmp/screen-exchange is linked to, is
overwritten.

II. Impact

Description:

When the root user uses screen critical files may be
overwritten.

Vulnerable Systems:

OpenLinux 1.0, 1.1, 1.2, 1.3 systems using a screen package
prior to screen-3.7.4-2.

III. Solution

Workaround:

Do not use screen and remove the screen package until the fixed
package can be installed.

Correction:

The proper solution is to upgrade to the screen-3.7.4-2
package.

They can be found on Caldera’s FTP site at: ftp://ftp.caldera.com/pub/OpenLinux/updates/1.3/008/RPMS

The corresponding source code can be found at: ftp://ftp.caldera.com/pub/OpenLinux/updates/1.3/008/SRPMS

The MD5 checksums (from the “md5sum” command) for these packages
are:

        5510280cd7d597115253a32b5b9b1a64  RPMS/screen-3.7.4-2.i386.rpm
        973bcbc995c9301fc9534abe18d18c1f  SRPMS/screen-3.7.4-2.src.rpm

Upgrade with the following commands:

rpm -q screen && rpm -U screen-3.7.4-2.i386.rpm

IV. References

This and other Caldera security resources are located at:
http://www.caldera.com/news/security/index.html

Additional documentation on this problem can be found in
http://www.geek-girl.com/bugtraq/1998_3/0204.html

This security fix closes Caldera’s internal Problem Report
4084.

thumbnail
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Recommended for you...

A Thorough Approach to Improve the Privacy and Security of Your Linux PC
Damien
Oct 24, 2024
Several Russian Maintainers Removed From Linux Kernel Due To Compliance Concerns
Senthil Kumar
Oct 23, 2024
OpenSSH Splits Again: New Authentication Binary Unveiled
Bobby Borisov
Oct 16, 2024
13 Best Free and Open Source Anti-Malware Tools
webmaster
Oct 14, 2024
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.