Kiax: Arbitrary code execution — GLSA 200606-30

A security vulnerability in the iaxclient library could lead to the execution of arbitrary code by a remote attacker.

Affected packages

net-misc/kiax on all architectures
Affected versions < 0.8.5_p1
Unaffected versions >= 0.8.5_p1

Background

Kiax is a graphical softphone supporting the IAX protocol (Inter Asterisk eXchange), which allows PC users to make VoIP calls to Asterisk servers.

Description

The iax_net_read function in the iaxclient library fails to properly handle IAX2 packets with truncated full frames or mini-frames. These frames are detected in a length check but processed anyway, leading to buffer overflows.

Impact

By sending a specially crafted IAX2 packet, an attacker could execute arbitrary code with the permissions of the user running Kiax.

Workaround

There is no known workaround at this time.

Resolution

All Kiax users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=net-misc/kiax-0.8.5_p1"

References

Release date
June 30, 2006

Latest revision
June 30, 2006: 01

Severity
normal

Exploitable
remote

Bugzilla entries