portage-ng / portage / app-admin / tenshi / 0.18
portage-ng glsa
1 advisory reference app-admin/tenshi · none place version 0.18 in a vulnerable range
▸ GLSA 201804-18 tenshi: Privilege escalation this version unaffected normal local 2018-04-22

Gentoo's tenshi ebuild is vulnerable to privilege escalation due to the way pid files are handled.

Announced
2018-04-22
Revised
2018-04-22
Access
local
Bugs
#626654
Advisory
https://security.gentoo.org/glsa/201804-18

Affected packages

PackageArchVulnerableUnaffected
app-admin/tenshi*< 0.17>= 0.17

Background

A log monitoring program, designed to watch one or more log files for lines matching user defined regular expressions and report on the matches.

Description

It was discovered that the tenshi ebuild creates a tenshi.pid file after dropping privileges to a non-root account.

Impact

A local attacker could escalate privileges to root or kill arbitrary processes.

Workaround

There is no known workaround at this time.

Resolution

All tenshi users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/tenshi-0.17"

References