Honeyd: Insecure temporary file creation

Security Team  Contact Address

Updated December 12, 2008

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200812-12 / honeyd
Release Date December 12, 2008
Latest Revision December 12, 2008: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
net-analyzer/honeyd < 1.5c-r1 >= 1.5c-r1 All supported architectures

Related bugreports: #237481

Synopsis

An insecure temporary file usage has been reported in Honeyd, possibly leading to symlink attacks.

2.  Impact Information

Background

Honeyd is a small daemon that creates virtual hosts on a network.

Description

Dmitry E. Oboukhov reported an insecure temporary file usage within the "test.sh" script.

Impact

A local attacker could perform symlink attacks and overwrite arbitrary files with the privileges of the user running the application.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Honeyd users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-analyzer/honeyd-1.5c-r1"

4.  References