CVE Vulnerabilities

CVE-2009-1297

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

Published: Oct 23, 2009 | Modified: Oct 30, 2018
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
4.4 MEDIUM
AV:L/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
4.6 MODERATE
AV:L/AC:L/Au:N/C:P/I:P/A:P
RedHat/V3
Ubuntu

iscsi_discovery in open-iscsi in SUSE openSUSE 10.3 through 11.1 and SUSE Linux Enterprise (SLE) 10 SP2 and 11, and other operating systems, allows local users to overwrite arbitrary files via a symlink attack on an unspecified temporary file that has a predictable name.

Weakness

The software 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
Suse_linux Novell 10 10
Suse_linux Novell 11 11
Opensuse Opensuse 10.3 10.3
Opensuse Opensuse 11.1 11.1
Open-iscsi Ubuntu hardy *
Open-iscsi Ubuntu intrepid *
Open-iscsi Ubuntu jaunty *
Open-iscsi Ubuntu karmic *
Open-iscsi Ubuntu upstream *

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