GLSA 200612-05: KOffice shared libraries: Heap corruption

Severity:normal
Title:KOffice shared libraries: Heap corruption
Date:12/10/2006
Bugs: #155914
ID:200612-05

Synopsis

An integer overflow in koffice-libs allows for a Denial of Service and possibly the execution of arbitrary code when viewing malicious PowerPoint files.

Background

KOffice is an integrated office suite for KDE. koffice-libs is a package containing shared librares used by KOffice programs.

Affected packages

Package Vulnerable Unaffected Architecture(s)
app-office/koffice-libs < 1.5.0 >= 1.5.0 All supported architectures

Description

Kees Cook of Ubuntu discovered that 'KLaola::readBigBlockDepot()' in klaola.cc fills 'num_of_bbd_blocks' while reading a .ppt (PowerPoint) file without proper sanitizing, resulting in an integer overflow subsequently overwriting the heap with parts of the file being read.

Impact

By enticing a user to open a specially crafted PowerPoint file, an attacker could crash the application and possibly execute arbitrary code with the rights of the user running KOffice.

Workaround

There is no known workaround at this time.

Resolution

All koffice-libs users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-office/koffice-libs-1.5.0"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200612-05.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 https://bugs.gentoo.org.

License

Copyright 2010 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.

Thank you!