CAPI4Hylafax fax receiver: Execution of arbitrary code — GLSA 200610-05

CAPI4Hylafax allows remote attackers to execute arbitrary commands.

Affected packages

net-misc/capi4hylafax on all architectures
Affected versions < 01.03.00.99.300.3-r1
Unaffected versions >= 01.03.00.99.300.3-r1

Background

CAPI4Hylafax makes it possible to send and receive faxes via CAPI and AVM Fritz!Cards.

Description

Lionel Elie Mamane discovered an error in c2faxrecv, which doesn't properly sanitize TSI strings when handling incoming calls.

Impact

A remote attacker can send null (\0) and shell metacharacters in the TSI string from an anonymous fax number, leading to the execution of arbitrary code with the rights of the user running c2faxrecv.

Workaround

There is no known workaround at this time.

Resolution

All CAPI4Hylafax users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=net-misc/capi4hylafax-01.03.00.99.300.3-r1"

References

Release date
October 17, 2006

Latest revision
October 17, 2006: 01

Severity
high

Exploitable
remote

Bugzilla entries