CVE Vulnerabilities

CVE-2009-1893

Improper Link Resolution Before File Access ('Link Following')

Published: Jul 17, 2009 | Modified: Feb 13, 2023
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
6.9 MEDIUM
AV:L/AC:M/Au:N/C:C/I:C/A:C
RedHat/V2
5.6 MODERATE
AV:L/AC:L/Au:N/C:N/I:P/A:C
RedHat/V3
Ubuntu

The configtest function in the Red Hat dhcpd init script for DHCP 3.0.1 in Red Hat Enterprise Linux (RHEL) 3 allows local users to overwrite arbitrary files via a symlink attack on an unspecified temporary file, related to the dhcpd -t command.

Weakness

The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Affected Software

Name Vendor Start Version End Version
Enterprise_linux Redhat 3.0 (including) 3.0 (including)
Red Hat Enterprise Linux 3 RedHat dhcp-7:3.0.1-10.2_EL3 *

Potential Mitigations

  • Follow the principle of least privilege when assigning access rights to entities in a software system.
  • Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

References