GLSA 201804-18: tenshi: Privilege escalation

Severity:normal
Title:tenshi: Privilege escalation
Date:04/22/2018
Bugs: #626654
ID:201804-18

Synopsis

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

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.

Affected packages

Package Vulnerable Unaffected Architecture(s)
app-admin/tenshi < 0.17 >= 0.17 All supported architectures

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

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201804-18.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!