GLSA-200710-08 : KOffice, KWord, KPDF, KDE Graphics Libraries: Stack-based buffer overflow

medium Nessus Plugin ID 26979

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200710-08 (KOffice, KWord, KPDF, KDE Graphics Libraries: Stack-based buffer overflow)

KPDF includes code from xpdf that is vulnerable to an integer overflow in the StreamPredictor::StreamPredictor() function.
Impact :

A remote attacker could entice a user to open a specially crafted PDF file in KWord or KPDF that would exploit the integer overflow to cause a stack-based buffer overflow in the StreamPredictor::getNextLine() function, possibly resulting in the execution of arbitrary code with the privileges of the user running the application.
Workaround :

There is no known workaround at this time.

Solution

All KOffice users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-office/koffice-1.6.3-r1' All KWord users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-office/kword-1.6.3-r1' All KDE Graphics Libraries users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=kde-base/kdegraphics-3.5.7-r1' All KPDF users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=kde-base/kpdf-3.5.7-r1'

See Also

https://security.gentoo.org/glsa/200710-08

Plugin Details

Severity: Medium

ID: 26979

File Name: gentoo_GLSA-200710-08.nasl

Version: 1.16

Type: local

Published: 10/12/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:kdegraphics, p-cpe:/a:gentoo:linux:koffice, p-cpe:/a:gentoo:linux:kpdf, p-cpe:/a:gentoo:linux:kword, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/9/2007

Vulnerability Publication Date: 7/30/2007

Exploitable With

Core Impact

Reference Information

CVE: CVE-2007-3387

CWE: 189

GLSA: 200710-08