April 2005
Three Gentoo Linux Security Advisories: 1. GLSA 200504-13 - OpenOffice.Org: DOC document Heap Overflow 2. GLSA 200504-14 - monkeyd: Multiple vulnerabilities 3. GLSA 200504-15 - PHP: Multiple vulnerabilities
ID: 00324
Ref: 298/2005
Date: 18 April 2005:14:58:12
Version: 1
Title: Three Gentoo Linux Security Advisories: 1. GLSA 200504-13 - OpenOffice.Org: DOC document Heap Overflow 2. GLSA 200504-14 - monkeyd: Multiple vulnerabilities 3. GLSA 200504-15 - PHP: Multiple vulnerabilities
Abstract:
Vendors affected: Gentoo
Operating systems affected: Gentoo
Applications affected: Gentoo
Title
=====
Three Gentoo Linux Security Advisories:
1. GLSA 200504-13 - OpenOffice.Org: DOC document Heap Overflow
2. GLSA 200504-14 - monkeyd: Multiple vulnerabilities
3. GLSA 200504-15 - PHP: Multiple vulnerabilities
Detail
======
1. AD-LAB has discovered a heap overflow in the "StgCompObjStream::Load()"
function when processing DOC documents.
2. Tavis Ormandy of the Gentoo Linux Security Audit Team discovered a
double expansion error in monkeyd, resulting in a format string
vulnerability. Ciaran McCreesh of Gentoo Linux discovered a Denial of
Service vulnerability, a syntax error caused monkeyd to zero out
unallocated memory should a zero byte file be requested.
3. An integer overflow and an unbound recursion were discovered in the
processing of Image File Directory tags in PHP's EXIF module
(CAN-2005-1042, CAN-2005-1043). Furthermore, two infinite loops have
been discovered in the getimagesize() function when processing IFF or
JPEG images (CAN-2005-0524, CAN-2005-0525).
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200504-13
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: OpenOffice.Org: DOC document Heap Overflow
Date: April 15, 2005
Bugs: #88863
ID: 200504-13
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
OpenOffice.Org is vulnerable to a heap overflow when processing DOC
documents, which could lead to arbitrary code execution.
Background
==========
OpenOffice.org is an office productivity suite, including word
processing, spreadsheets, presentations, drawings, data charting,
formula editing, and file conversion facilities.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 app-office/openoffice < 1.1.4-r1 >= 1.1.4-r1
2 app-office/openoffice-bin < 1.1.4-r1 >= 1.1.4-r1
3 app-office/openoffice-ximian < 1.3.9-r1 >= 1.3.9-r1
*>= 1.3.6-r1
*>= 1.3.7-r1
-------------------------------------------------------------------
3 affected packages on all of their supported architectures.
-------------------------------------------------------------------
Description
===========
AD-LAB has discovered a heap overflow in the "StgCompObjStream::Load()"
function when processing DOC documents.
Impact
======
An attacker could design a malicious DOC document containing a
specially crafted header which, when processed by OpenOffice.Org, would
result in the execution of arbitrary code with the rights of the user
running the application.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All OpenOffice.Org users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-office/openoffice-1.1.4-r1"
All OpenOffice.Org binary users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-office/openoffice-bin-1.1.4-r1"
All OpenOffice.Org Ximian users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose app-office/openoffice-ximian
Note to PPC users: There is no fixed OpenOffice.Org binary version for
the PPC architecture yet. Affected users are encouraged to switch to
the latest OpenOffice.Org source package.
Note to SPARC users: There is no stable OpenOffice.Org fixed version
for the SPARC architecture. Affected users should switch to the latest
OpenOffice.Org Ximian version.
References
==========
[ 1 ] OpenOffice.Org Issue 46388
http://www.openoffice.org/issues/show_bug.cgi?id=46388
[ 2 ] CAN-2005-0941
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0941
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200504-13.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
2.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200504-14
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: monkeyd: Multiple vulnerabilities
Date: April 15, 2005
Bugs: #87916
ID: 200504-14
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
Format string and Denial of Service vulnerabilities have been
discovered in the monkeyd HTTP server, potentially resulting in the
execution of arbitrary code.
Background
==========
monkeyd is a fast, efficient, small and easy to configure web server
for Linux.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 www-servers/monkeyd < 0.9.1 >= 0.9.1
Description
===========
Tavis Ormandy of the Gentoo Linux Security Audit Team discovered a
double expansion error in monkeyd, resulting in a format string
vulnerability. Ciaran McCreesh of Gentoo Linux discovered a Denial of
Service vulnerability, a syntax error caused monkeyd to zero out
unallocated memory should a zero byte file be requested.
Impact
======
The format string vulnerability could allow an attacker to send a
specially crafted request to the monkeyd server, resulting in the
execution of arbitrary code with the permissions of the user running
monkeyd. The DoS vulnerability could allow an attacker to disrupt the
operation of the web server, should a zero byte file be accessible.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All monkeyd users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=www-servers/monkeyd-0.9.1"
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200504-14.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
3.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200504-15
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: PHP: Multiple vulnerabilities
Date: April 18, 2005
Bugs: #87517
ID: 200504-15
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
Several vulnerabilities were found and fixed in PHP image handling
functions, potentially resulting in Denial of Service conditions or
the remote execution of arbitrary code.
Background
==========
PHP is a general-purpose scripting language widely used to develop
web-based applications. It can run inside a web server using the
mod_php module or the CGI version of PHP, or can run stand-alone in a
CLI.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-php/php < 4.3.11 >= 4.3.11
2 dev-php/mod_php < 4.3.11 >= 4.3.11
3 dev-php/php-cgi < 4.3.11 >= 4.3.11
-------------------------------------------------------------------
3 affected packages on all of their supported architectures.
-------------------------------------------------------------------
Description
===========
An integer overflow and an unbound recursion were discovered in the
processing of Image File Directory tags in PHP's EXIF module
(CAN-2005-1042, CAN-2005-1043). Furthermore, two infinite loops have
been discovered in the getimagesize() function when processing IFF or
JPEG images (CAN-2005-0524, CAN-2005-0525).
Impact
======
A remote attacker could craft an image file with a malicious EXIF IFD
tag, a large IFD nesting level or invalid size parameters and send it
to a web application that would process this user-provided image using
one of the affected functions. This could result in denying service on
the attacked server and potentially executing arbitrary code with the
rights of the web server.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All PHP users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-php/php-4.3.11"
All mod_php users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-php/mod_php-4.3.11"
All php-cgi users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-php/php-cgi-4.3.11"
References
==========
[ 1 ] PHP 4.3.11 Release Announcement
http://www.php.net/release_4_3_11.php
[ 2 ] CAN-2005-0524
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0524
[ 3 ] CAN-2005-0525
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0525
[ 4 ] CAN-2005-1042
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1042
[ 5 ] CAN-2005-1043
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1043
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200504-15.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