Description
The feh_unique_filename function in utils.c in feh 1.11.2 and earlier might allow local users to create arbitrary files via a symlink attack on a /tmp/feh_ temporary file, a different vulnerability than CVE-2011-0702.
The feh_unique_filename function in utils.c in feh 1.11.2 and earlier might allow local users to create arbitrary files via a symlink attack on a /tmp/feh_ temporary file, a different vulnerability than CVE-2011-0702.
| Vendor | Product | Version | Platform |
|---|---|---|---|
| feh project | feh | <= 1.11.2 | – |
| feh project | feh | 1.3.5 | – |
| feh project | feh | 1.4 | – |
| feh project | feh | 1.4.1 | – |
| feh project | feh | 1.4.2 | – |
| feh project | feh | 1.4.3 | – |
| feh project | feh | 1.5 | – |
| feh project | feh | 1.6 | – |
| feh project | feh | 1.6.1 | – |
| feh project | feh | 1.7 | – |
| feh project | feh | 1.8 | – |
| feh project | feh | 1.9 | – |
| feh project | feh | 1.10 | – |
| feh project | feh | 1.10.1 | – |
| feh project | feh | 1.11 | – |
| feh project | feh | 1.11.1 | – |
CWE-59 Improper Link Resolution Before File Access
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.
| Scope | Impact |
|---|---|
| Confidentiality, Integrity, Access Control | Read Files or Directories, Modify Files or Directories, Bypass Protection Mechanism An attacker may be able to traverse the file system to unintended locations and read or overwrite the contents of unexpected files. If the files are used for a security mechanism then an attacker may be able to bypass the mechanism. |
| Other | Execute Unauthorized Code or Commands Windows simple shortcuts, sometimes referred to as soft links, can be exploited remotely since a .LNK file can be uploaded like a normal file. This can enable remote execution. |
All 1,885 CWE-59 CVEs, with trend and prevention
Source: MITRE CWE catalog · cwe.mitre.org