Improper Privilege Management in TrouSerS - CVE-2020-24330
Published: August 13, 2022
Vulnerability identifier: #VU66471
CSH Severity: Low
CVSS v4: 8.5 [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]
CVE-ID: CVE-2020-24330
CWE-ID: CWE-269
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to escalate privileges.
The vulnerability exists due to the tcsd daemon is started with root privileges instead of tss user and fails to drop them after successful start. A local user can abuse such behavior and escalate privileges on the system.
Affected software
TrouSerS
Cloud Pak for Security (CP4S)
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
SUSE Linux Enterprise Server
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server for SAP
openEuler
Fedora
trousers-debugsource
trousers-debuginfo
trousers
libtspi1-debuginfo-32bit
libtspi1-debuginfo
libtspi1
libtspi1-32bit
trousers-devel
trousers-help
trousers (Red Hat package)
Cloud Pak for Security (CP4S)
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
SUSE Linux Enterprise Server
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server for SAP
openEuler
Fedora
trousers-debugsource
trousers-debuginfo
trousers
libtspi1-debuginfo-32bit
libtspi1-debuginfo
libtspi1
libtspi1-32bit
trousers-devel
trousers-help
trousers (Red Hat package)
How to mitigate CVE-2020-24330
Install updates from vendor's website.
TrouSerS - update to 0.3.15
Cloud Pak for Security (CP4S) - update to 1.8.0.0
trousers-debugsource - addressed in versions 0.3.13-3.3.1, 0.3.14-150000.3.3.1
trousers-debuginfo - addressed in versions 0.3.13-3.3.1, 0.3.14-150000.3.3.1
trousers - addressed in versions 0.3.13-3.3.1, 0.3.14-150000.3.3.1
libtspi1-debuginfo-32bit - update to 0.3.13-3.3.1
libtspi1-debuginfo - addressed in versions 0.3.13-3.3.1, 0.3.14-150000.3.3.1
libtspi1 - addressed in versions 0.3.13-3.3.1, 0.3.14-150000.3.3.1
libtspi1-32bit - update to 0.3.13-3.3.1
trousers - update to 0.3.14-4.fc33
trousers - update to 0.3.14-5
trousers-devel - update to 0.3.14-5
trousers-debuginfo - update to 0.3.14-5
trousers-help - update to 0.3.14-5
trousers-debugsource - update to 0.3.14-5
trousers-devel - update to 0.3.14-150000.3.3.1
trousers (Red Hat package) - update to 0.3.15-1.el8
Cloud Pak for Security (CP4S) - update to 1.8.0.0
trousers-debugsource - addressed in versions 0.3.13-3.3.1, 0.3.14-150000.3.3.1
trousers-debuginfo - addressed in versions 0.3.13-3.3.1, 0.3.14-150000.3.3.1
trousers - addressed in versions 0.3.13-3.3.1, 0.3.14-150000.3.3.1
libtspi1-debuginfo-32bit - update to 0.3.13-3.3.1
libtspi1-debuginfo - addressed in versions 0.3.13-3.3.1, 0.3.14-150000.3.3.1
libtspi1 - addressed in versions 0.3.13-3.3.1, 0.3.14-150000.3.3.1
libtspi1-32bit - update to 0.3.13-3.3.1
trousers - update to 0.3.14-4.fc33
trousers - update to 0.3.14-5
trousers-devel - update to 0.3.14-5
trousers-debuginfo - update to 0.3.14-5
trousers-help - update to 0.3.14-5
trousers-debugsource - update to 0.3.14-5
trousers-devel - update to 0.3.14-150000.3.3.1
trousers (Red Hat package) - update to 0.3.15-1.el8
External References
- https://bugzilla.suse.com/show_bug.cgi?id=1164472
- https://sourceforge.net/p/trousers/mailman/message/37015817/
- https://seclists.org/oss-sec/2020/q2/att-135/tcsd_fixes.patch
- http://www.openwall.com/lists/oss-security/2020/08/14/1
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SSDL7COIFCZQMUBNAASNMKMX7W5JUHRD/