Kiax: Arbitrary code execution

Security Team  Contact Address

Updated June 30, 2006

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200606-30 / kiax
Release Date June 30, 2006
Latest Revision June 30, 2006: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-misc/kiax < 0.8.5_p1 >= 0.8.5_p1 All supported architectures

Related bugreports: #136099

Synopsis

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

2.  Impact Information

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Kiax users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References