Privilege dropping in Tenshi - CVE-2017-11746

 

Privilege dropping in Tenshi - CVE-2017-11746

Published: April 25, 2018


Vulnerability identifier: #VU12170
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-2017-11746
CWE-ID: CWE-271
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Inverse Path
Affected software:
Tenshi

Detailed vulnerability description

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The weakness exists due to creating a tenshi.pid file after dropping privileges to a non-root account. A local attacker can kill arbitrary processes by leveraging access to this non-root account for tenshi.pid modification before a root script executes a "kill `cat /pathname/tenshi.pid`" command.

How to mitigate CVE-2017-11746

Update to version 0.16.

Sources