Privilege escalation in swtpm



Published: 2020-11-20
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2020-28407
CWE ID CWE-61
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
swtpm
Universal components / Libraries / Libraries used by multiple products

Vendor Stefan Berger

Security Advisory

This security advisory describes one low risk vulnerability.

1) UNIX symbolic link following

Risk: Low

CVSSv3: 3.4 [CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-28407

CWE-ID: CWE-61 - UNIX Symbolic Link (Symlink) Following

Exploit availability: No

Description

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

The vulnerability exists due to a symlink following issue. 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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

swtpm: 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.4.0, 0.4.1, 0.4.2, 0.5.0

CPE External links

https://github.com/stefanberger/swtpm/compare/v0.5.0...v0.5.1
https://security.archlinux.org/advisory/ASA-202011-21

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.