exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

iDEFENSE Security Advisory 2004-12-21.2

iDEFENSE Security Advisory 2004-12-21.2
Posted Dec 31, 2004
Authored by iDefense Labs | Site idefense.com

iDEFENSE Security Advisory 12.21.2004-2 - Remote exploitation of a buffer overflow in version 0.99.2 of xine could allow execution of arbitrary code. The vulnerability specifically exists in the PNA_TAG handling code of the pnm_get_chunk() function. The function does not check the if the length of an input to be stored in a fixed size buffer is larger than the buffer size.

tags | advisory, remote, overflow, arbitrary
advisories | CVE-2004-1187
SHA-256 | d6afd3d99b88e5483ffb27704c1f1a65acec30f4a18ef18ccbc5c62ee843aaa8

iDEFENSE Security Advisory 2004-12-21.2

Change Mirror Download
Multiple Vendor Xine version 0.99.2 PNM Handler PNA_TAG Heap Overflow
Vulnerability

iDEFENSE Security Advisory 12.21.04
www.idefense.com/application/poi/display?id=176&type=vulnerabilities
December 21, 2004

I. BACKGROUND

Xine is a multimedia player which runs on multiple platforms.
More information is available at:

http://xinehq.de/

II. DESCRIPTION

Remote exploitation of a buffer overflow in version 0.99.2 of xine could

allow execution of arbitrary code.

The vulnerability specifically exists in the PNA_TAG handling code of
the pnm_get_chunk() function. The function does not check the if the
length of an input to be stored in a fixed size buffer is larger than
the buffer size.

III. ANALYSIS

Exploitation of this vulnerability allows execution of arbitrary code
with the privileges of the targeted user.

In order to exploit this vulnerability, an attacker would have to
convince the targeted user to open a connection to a malicious PNM
server with xine, using a pnm://address/ URL. Depending on configuration

options, this may be exploitable simply by clicking on a link, or it may

require the user to launch the application, specifically requesting the
malicious content.

IV. DETECTION

iDEFENSE Labs has confirmed the existence of this vulnerability in xine
version 0.99.2. It is suspected that earlier versions of xine also
contain this vulnerability.

This vulnerability also affects MPlayer prior to MPlayer 1.0pre5try2.

V. WORKAROUND
iDEFENSE is currently unaware of any effective workarounds for this
issue.

VI. VENDOR RESPONSE

xine-lib 1-rc8 was released to address this vulnerability and is
available for download at:

http://xinehq.de/index.php/releases

An xine patch for this vulnerability is available at:


http://cvs.sourceforge.net/viewcvs.py/xine/xine-lib/src/input/pnm.c?r1=1
.20&r2=1.21

An MPlayer patch for this vulnerability is available at:

http://www.mplayerhq.hu/MPlayer/patches/pnm_fix_20041215.diff

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
names CAN-2004-1187 to these issues. This is a candidate for inclusion
in the CVE list (http://cve.mitre.org), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

12/10/2004 Initial vendor notification
12/11/2004 Initial vendor response
12/21/2004 Public disclosure

IX. CREDIT

The discoverer of this vulnerability wishes to remain anonymous.

Get paid for vulnerability research
http://www.idefense.com/poi/teams/vcp.jsp

X. LEGAL NOTICES

Copyright (c) 2004 iDEFENSE, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDEFENSE. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice@idefense.com for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close