SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   o3read Vendors:   Eriksson, Ulric
(Gentoo Issues Fix) o3read Buffer Overflow in parse_html() Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1012846
SecurityTracker URL:  http://securitytracker.com/id/1012846
CVE Reference:   CVE-2004-1288   (Links to External Site)
Date:  Jan 12 2005
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 0.0.3
Description:   A vulnerability was reported in o3read. A remote user can cause arbitrary code to be executed by the target user.

D. J. Bernstein reported that a remote user can create a specially crafted SXW file that, when processed by the target user with o3read, will execute arbitrary code on the target user's system. The code will run with the privileges of the target user.

The buffer overflow resides in the parse_html() function in 'o3read.c'.

Wiktor Kopec is credited with discovering this flaw.

Impact:   A remote user can cause arbitrary code to be executed by the target user with the privileges of the target user.
Solution:   Gentoo has released a fix and indicates that all o3read users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/o3read-0.0.4"

Vendor URL:  siag.nu/o3read/ (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Gentoo)

Message History:   This archive entry is a follow-up to the message listed below.
Dec 16 2004 o3read Buffer Overflow in parse_html() Lets Remote Users Execute Arbitrary Code



 Source Message Contents

Subject:  [gentoo-announce] [ GLSA 200501-20 ] o3read: Buffer overflow during file conversion


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig65CC47AA5474E311B7BD55D2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200501-20
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: o3read: Buffer overflow during file conversion
      Date: January 11, 2005
      Bugs: #74478
        ID: 200501-20

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

Synopsis
========

A buffer overflow in o3read allows an attacker to execute arbitrary
code by way of a specially crafted XML file.

Background
==========

o3read is a standalone converter for OpenOffice.org files. It allows a
user to dump the contents tree (o3read) and convert to plain text
(o3totxt) or to HTML (o3tohtml) Writer and Calc files.

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

    -------------------------------------------------------------------
     Package          /  Vulnerable  /                      Unaffected
    -------------------------------------------------------------------
  1  app-text/o3read      <= 0.0.3                            >= 0.0.4

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

Wiktor Kopec discovered that the parse_html function in o3read.c copies
any number of bytes into a 1024-byte t[] array.

Impact
======

Using a specially crafted file, possibly delivered by e-mail or over
the Web, an attacker may execute arbitrary code with the permissions of
the user running o3read.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All o3read users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-text/o3read-0.0.4"

References
==========

  [ 1 ] CAN-2004-1288
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1288
  [ 2 ] Wiktor Kopec advisory
        http://tigger.uic.edu/~jlongs2/holes/o3read.txt

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

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

  http://security.gentoo.org/glsa/glsa-200501-20.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


--------------enig65CC47AA5474E311B7BD55D2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB4/t1vcL1obalX08RAto7AJwJlcS6oueqWSMxbNJuKPZgy1I05gCgkFlh
6ABIOLvDJude3g0tGzkjlfY=
=ZLx6
-----END PGP SIGNATURE-----

--------------enig65CC47AA5474E311B7BD55D2--

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC