Dia: Arbitrary code execution through XFig import

Security Team  Contact Address

Updated April 23, 2006

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200604-14 / dia
Release Date April 23, 2006
Latest Revision April 23, 2006: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-office/dia < 0.94-r5 >= 0.94-r5 All supported architectures

Related bugreports: #128107

Synopsis

Buffer overflows in Dia's XFig import could allow remote attackers to execute arbitrary code.

2.  Impact Information

Background

Dia is a GTK+ based diagram creation program.

Description

infamous41md discovered multiple buffer overflows in Dia's XFig file import plugin.

Impact

By enticing a user to import a specially crafted XFig file into Dia, an attacker could exploit this issue to execute arbitrary code with the rights of the user running Dia.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Dia users should upgrade to the latest available version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-office/dia-0.94-r5"

4.  References