[UNIX] Dangerous Temp File Creation During Netscape 6 Installation
From: support@securiteam.comDate: 09/01/01
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: support@securiteam.com To: list@securiteam.com Subject: [UNIX] Dangerous Temp File Creation During Netscape 6 Installation Message-Id: <20010901171822.21A57138BF@mail.der-keiler.de> Date: Sat, 1 Sep 2001 19:18:22 +0200 (CEST)
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
When was the last time you checked your server's security?
How about a monthly report?
http://www.AutomatedScanning.com - Know that you're safe.
- - - - - - - - -
Dangerous Temp File Creation During Netscape 6 Installation
------------------------------------------------------------------------
SUMMARY
A security flaw in the way Netscape 6 installs on UNIX machines allows
local users to overwrite any other system file whenever the installation
process is done by the root user.
DETAILS
Vulnerable systems:
Netscape version 6.01a (Solaris)
During installation of Netscape 6.01a for Solaris 2.7/8 Sparc, the file
/tmp/admin.3842 is created with mode 644. If this package is installed by
root in multi-user mode, a malicious user could use this to overwrite
system files etc.
Here is the dangerous code:
# grep tmp ns6install
cat >/tmp/admin.$$ <<EOF
/usr/sbin/pkgrm -n -a /tmp/admin.$$ ${pkg}.* 2>&1
/usr/sbin/pkgadd -n -a /tmp/admin.$$ -d `pwd` $pkg 2>&1
#
Workaround:
A temporary workaround would be to shut the system down into single user
mode, clean out /tmp and then install.
ADDITIONAL INFORMATION
The information has been provided by <mailto:lwc@Vapid.dhs.org> Larry W.
Cashdollar.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|