Honeyd: Insecure temporary file creation — GLSA 200812-12

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

Affected packages

net-analyzer/honeyd on all architectures
Affected versions < 1.5c-r1
Unaffected versions >= 1.5c-r1

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.

Workaround

There is no known workaround at this time.

Resolution

All Honeyd users should upgrade to the latest version:

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

References

Release date
December 12, 2008

Latest revision
December 12, 2008: 01

Severity
normal

Exploitable
local

Bugzilla entries