Title: RedHat dhcp Symbolic Link Vulnerability
Severity: LOW
Description:
When configuring a dhcp interface in RedHat Linux 5.0, a script is called at the end that copies /etc/dhcpc/resolv.conf to /etc as shown below:
if [ -f /etc/dhcpc/resolv.conf ]; then
echo "setting up resolv.conf" >> /tmp/dhcplog
cp /etc/dhcpc/resolv.conf /etc
fi
Since the script runs as root, if /tmp/dhcplog is a symbolic link, any file pointed to by the dhcplog symlink be appended by "setting up resolv.conf".
Affected Products:
- RedHat Linux 5.0.0
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.