Lucene search
K

Netscape Communicator 4.5/4.51/4.6/4.61/4.7/4.72/4.73 - '/tmp' Symlink

🗓️ 10 May 2000 00:00:00Reported by fooType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 26 Views

Netscape Communicator prior to version 4.73 is prone to a /tmp file race condition vulnerability.

Code
source: https://www.securityfocus.com/bid/1201/info

Netscape Communicator version 4.73 and prior may be susceptible to a /tmp file race condition when importing certificates. Netscape creates a /tmp file which is world readable and writable in /tmp, without calling stat() or fstat() on the file. As such, it is possible, should a user be able to predict the file name, to cause a symbolic link to be created, and followed elsewhere on the file system. 

Additionally, as the file is created mode 666 prior to being fchmod()'d to 600, there may be a window of opportunity for altering the contents of this file.

This issue has only been demonstrated on the Linux binary, for glibc. The sparc Solaris binary does not behave this way.

Predict the name of the temporary file.
ln -sf /elsewhere /tmp/<tmpfilename>

Alternately, a program which watches for the creation of these temporary files, opens them upon their creation, and alters the contents can be written.

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation