CVE Vulnerabilities

CVE-2011-3351

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

Published: Nov 25, 2019 | Modified: Dec 11, 2019
CVSS 3.x
7.1
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS 2.x
6.6 MEDIUM
AV:L/AC:L/Au:N/C:N/I:C/A:C
RedHat/V2
RedHat/V3
Ubuntu
LOW

openvas-scanner before 2011-09-11 creates a temporary file insecurely when generating OVAL system characteristics document with the ovaldi integrated tool enabled. A local attacker could use this flaw to conduct symlink attacks to overwrite arbitrary files on the system.

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
Openvas-scanner Openvas * 2011-09-11 (excluding)
Openvas-server Ubuntu lucid *
Openvas-server Ubuntu maverick *
Openvas-server Ubuntu natty *
Openvas-server Ubuntu oneiric *
Openvas-server Ubuntu precise *
Openvas-server Ubuntu quantal *
Openvas-server Ubuntu raring *
Openvas-server Ubuntu saucy *
Openvas-server Ubuntu trusty *
Openvas-server Ubuntu upstream *
Openvas-server Ubuntu utopic *

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