Improper link resolution before file access ('link following') in Linux kernel - CVE-2007-4998

 

Improper link resolution before file access ('link following') in Linux kernel - CVE-2007-4998

Published: January 31, 2008 / Updated: November 15, 2008


Vulnerability identifier: #VU95745
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2007-4998
CWE-ID: CWE-59
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

The vulnerability allows a local user to execute arbitrary code.

cp, when running with an option to preserve symlinks on multiple OSes, allows local, user-assisted attackers to overwrite arbitrary files via a symlink attack using crafted directories containing multiple source files that are copied to the same destination.


How to mitigate CVE-2007-4998

Install update from vendor's repository.

Sources