Lucene search
K

Slackware Linux 3.4 - 'netconfig' Temporary File

🗓️ 06 Apr 1998 00:00:00Reported by neonhazeType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 15 Views

netconfig in Slackware Linux 3.4 creates insecure temporary files, allowing symbolic link attacks.

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

netconfig creates the file /tmp/tmpmsg insecurely and follows symbolic links. An attacker can create a symbolic link from /tmp/tmpmsg to any file and wait for root to run the program. This will clober the target file. The file created has permissions -rw-r--r--.

$ ln -s /tmp/tmpmsg /etc/passwd
< wait for root to run netconfig >

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