Gentoo: Dia Arbitrary code execution through SVG import
Posted by Benjamin D. Thomas   
Gentoo Improperly sanitised data in Dia allows remote attackers to execute arbitrary code.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200510-06
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Dia: Arbitrary code execution through SVG import
      Date: October 06, 2005
      Bugs: #107916
        ID: 200510-06

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Improperly sanitised data in Dia allows remote attackers to execute
arbitrary code.

Background
==========

Dia is a gtk+ based diagram creation program released under the GPL
license.

Affected packages
=================

    -------------------------------------------------------------------
     Package         /  Vulnerable  /                       Unaffected
    -------------------------------------------------------------------
  1  app-office/dia      < 0.94-r3                          >= 0.94-r3

Description
===========

Joxean Koret discovered that the SVG import plugin in Dia fails to
properly sanitise data read from an SVG file.

Impact
======

An attacker could create a specially crafted SVG file, which, when
imported into Dia, could lead to the execution of arbitrary code.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Dia users should upgrade to the latest version:

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

References
==========

  [ 1 ] CAN-2005-2966
        http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2966

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200510-06.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0