UNIX symbolic link following in storeBackup - CVE-2020-7040

 

UNIX symbolic link following in storeBackup - CVE-2020-7040

Published: January 29, 2020 / Updated: May 4, 2021


Vulnerability identifier: #VU24715
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-2020-7040
CWE-ID: CWE-61
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Free Software Foundation
Affected software:
storeBackup

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a symlink following issue within the storeBackup.pl in storeBackup, as software relies on the /tmp/storeBackup.lock pathname. A local user can create a specially crafted symbolic link to a critical file on the system and overwrite it with privileges of the application.

Successful exploitation of this vulnerability may result in privilege escalation.


How to mitigate CVE-2020-7040

Install update from vendor's website.

Sources