Vulnerabilities > CVE-2008-1878 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Xine Xine-Lib
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Stack-based buffer overflow in the demux_nsf_send_chunk function in src/demuxers/demux_nsf.c in xine-lib 1.1.12 and earlier allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long NSF title.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 8 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Exploit-Db
description | xine-lib <= 1.1.12 NSF demuxer Stack Overflow Vulnerability PoC. CVE-2008-1878. Dos exploit for linux platform |
file | exploits/linux/dos/5458.txt |
id | EDB-ID:5458 |
last seen | 2016-01-31 |
modified | 2008-04-16 |
platform | linux |
port | |
published | 2008-04-16 |
reporter | Guido Landi |
source | https://www.exploit-db.com/download/5458/ |
title | xine-lib <= 1.1.12 NSF demuxer Stack Overflow Vulnerability PoC |
type | dos |
Nessus
NASL family Mandriva Local Security Checks NASL id MANDRIVA_MDVSA-2008-177.NASL description Guido Landi found A stack-based buffer overflow in xine-lib that could allow a remote attacker to cause a denial of service (crash) and potentially execute arbitrary code via a long NSF title (CVE-2008-1878). The updated packages have been patched to correct this issue. last seen 2020-06-01 modified 2020-06-02 plugin id 37454 published 2009-04-23 reporter This script is Copyright (C) 2009-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/37454 title Mandriva Linux Security Advisory : xine-lib (MDVSA-2008:177) NASL family SuSE Local Security Checks NASL id SUSE_XINE-DEVEL-5304.NASL description Specially crafted NSF files could potentially be exploited to execute arbitrary code. (CVE-2008-1878) Specially crafted files or streams could potentially be abused to trick applications that support speex into executing arbitrary code. (CVE-2008-1686) last seen 2020-06-01 modified 2020-06-02 plugin id 51767 published 2011-01-27 reporter This script is Copyright (C) 2011-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/51767 title SuSE 10 Security Update : xine (ZYPP Patch Number 5304) NASL family Mandriva Local Security Checks NASL id MANDRIVA_MDVSA-2008-178.NASL description Alin Rad Pop found an array index vulnerability in the SDP parser of xine-lib. If a user or automated system were tricked into opening a malicious RTSP stream, a remote attacker could possibly execute arbitrary code with the privileges of the user using the program (CVE-2008-0073). The ASF demuxer in xine-lib did not properly check the length of ASF headers. If a user was tricked into opening a crafted ASF file, a remote attacker could possibly cause a denial of service or execute arbitrary code with the privileges of the user using the program (CVE-2008-1110). The Matroska demuxer in xine-lib did not properly verify frame sizes, which could possibly lead to the execution of arbitrary code if a user opened a crafted ASF file (CVE-2008-1161). Luigi Auriemma found multiple integer overflows in xine-lib. If a user was tricked into opening a crafted FLV, MOV, RM, MVE, MKV, or CAK file, a remote attacker could possibly execute arbitrary code with the privileges of the user using the program (CVE-2008-1482). Guido Landi found A stack-based buffer overflow in xine-lib that could allow a remote attacker to cause a denial of service (crash) and potentially execute arbitrary code via a long NSF title (CVE-2008-1878). The updated packages have been patched to correct this issue. last seen 2020-06-01 modified 2020-06-02 plugin id 36948 published 2009-04-23 reporter This script is Copyright (C) 2009-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/36948 title Mandriva Linux Security Advisory : xine-lib (MDVSA-2008:178) NASL family SuSE Local Security Checks NASL id SUSE_XINE-DEVEL-5205.NASL description Specially crafted NSF files could potentially be exploited to execute arbitrary code. (CVE-2008-1878) Specially crafted files or streams could potentially be abused to trick applications that support speex into executing arbitrary code. (CVE-2008-1686) last seen 2020-06-01 modified 2020-06-02 plugin id 32393 published 2008-05-20 reporter This script is Copyright (C) 2008-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/32393 title SuSE 10 Security Update : xine-lib (ZYPP Patch Number 5205) NASL family Fedora Local Security Checks NASL id FEDORA_2008-3353.NASL description - Bug #442882 - CVE-2008-1878 xine-lib: buffer overflow in nsf demuxer Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 32096 published 2008-05-01 reporter This script is Copyright (C) 2008-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/32096 title Fedora 8 : xine-lib-1.1.12-2.fc8 (2008-3353) NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-200808-01.NASL description The remote host is affected by the vulnerability described in GLSA-200808-01 (xine-lib: User-assisted execution of arbitrary code) Multiple vulnerabilities have been discovered in xine-lib: Alin Rad Pop of Secunia reported an array indexing vulnerability in the sdpplin_parse() function in the file input/libreal/sdpplin.c when processing streams from RTSP servers that contain a large last seen 2020-06-01 modified 2020-06-02 plugin id 33831 published 2008-08-07 reporter This script is Copyright (C) 2008-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/33831 title GLSA-200808-01 : xine-lib: User-assisted execution of arbitrary code NASL family Debian Local Security Checks NASL id DEBIAN_DSA-1586.NASL description Multiple vulnerabilities have been discovered in xine-lib, a library which supplies most of the application functionality of the xine multimedia player. The Common Vulnerabilities and Exposures project identifies the following three problems : - CVE-2008-1482 Integer overflow vulnerabilities exist in xine last seen 2020-06-01 modified 2020-06-02 plugin id 32435 published 2008-05-23 reporter This script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/32435 title Debian DSA-1586-1 : xine-lib - multiple vulnerabilities NASL family Fedora Local Security Checks NASL id FEDORA_2008-3326.NASL description - Bug #442882 - CVE-2008-1878 xine-lib: buffer overflow in nsf demuxer Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 32091 published 2008-05-01 reporter This script is Copyright (C) 2008-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/32091 title Fedora 7 : xine-lib-1.1.11.1-1.fc7.2 (2008-3326) NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-635-1.NASL description Alin Rad Pop discovered an array index vulnerability in the SDP parser. If a user or automated system were tricked into opening a malicious RTSP stream, a remote attacker may be able to execute arbitrary code with the privileges of the user invoking the program. (CVE-2008-0073) Luigi Auriemma discovered that xine-lib did not properly check buffer sizes in the RTSP header-handling code. If xine-lib opened an RTSP stream with crafted SDP attributes, a remote attacker may be able to execute arbitrary code with the privileges of the user invoking the program. (CVE-2008-0225, CVE-2008-0238) Damian Frizza and Alfredo Ortega discovered that xine-lib did not properly validate FLAC tags. If a user or automated system were tricked into opening a crafted FLAC file, a remote attacker may be able to execute arbitrary code with the privileges of the user invoking the program. (CVE-2008-0486) It was discovered that the ASF demuxer in xine-lib did not properly check the length if the ASF header. If a user or automated system were tricked into opening a crafted ASF file, a remote attacker could cause a denial of service or possibly execute arbitrary code with the privileges of the user invoking the program. (CVE-2008-1110) It was discovered that the Matroska demuxer in xine-lib did not properly verify frame sizes. If xine-lib opened a crafted ASF file, a remote attacker could cause a denial of service or possibly execute arbitrary code with the privileges of the user invoking the program. (CVE-2008-1161) Luigi Auriemma discovered multiple integer overflows in xine-lib. If a user or automated system were tricked into opening a crafted FLV, MOV, RM, MVE, MKV or CAK file, a remote attacker may be able to execute arbitrary code with the privileges of the user invoking the program. (CVE-2008-1482) It was discovered that xine-lib did not properly validate its input when processing Speex file headers. If a user or automated system were tricked into opening a specially crafted Speex file, an attacker could create a denial of service or possibly execute arbitrary code as the user invoking the program. (CVE-2008-1686) Guido Landi discovered a stack-based buffer overflow in xine-lib when processing NSF files. If xine-lib opened a specially crafted NSF file with a long NSF title, an attacker could create a denial of service or possibly execute arbitrary code as the user invoking the program. (CVE-2008-1878). Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 33940 published 2008-08-20 reporter Ubuntu Security Notice (C) 2008-2019 Canonical, Inc. / NASL script (C) 2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/33940 title Ubuntu 6.06 LTS / 7.04 / 7.10 / 8.04 LTS : xine-lib vulnerabilities (USN-635-1) NASL family Fedora Local Security Checks NASL id FEDORA_2008-7572.NASL description This release fixes multiple bugs and security issues: - DoS via corrupted Ogg files (CVE-2008-3231) - multiple possible buffer overflows detailed in oCERT-2008-008 For more details, see: http://sourceforge.net/project/shownotes.php?release_id=619869&group_i d=9655 http://www.ocert.org/advisories/ocert-2008-008.html NOTE: A coordinated release with 3rd-party repos was not possible, so this update may result in dependency issues with currently-installed xine-lib-extras-* rpms. This temporary problem will be rectified asap. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 34136 published 2008-09-10 reporter This script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/34136 title Fedora 8 : xine-lib-1.1.15-1.fc8 (2008-7572) NASL family SuSE Local Security Checks NASL id SUSE_XINE-DEVEL-5204.NASL description Specially crafted NSF files could potentially be exploited to execute arbitrary code (CVE-2008-1878). Specially crafted files or streams could potentially be abused to trick applications that support speex into executing arbitrary code (CVE-2008-1686). last seen 2020-06-01 modified 2020-06-02 plugin id 32392 published 2008-05-20 reporter This script is Copyright (C) 2008-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/32392 title openSUSE 10 Security Update : xine-devel (xine-devel-5204)
References
- http://lists.opensuse.org/opensuse-security-announce/2008-06/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2008-06/msg00001.html
- http://secunia.com/advisories/29850
- http://secunia.com/advisories/29850
- http://secunia.com/advisories/30021
- http://secunia.com/advisories/30021
- http://secunia.com/advisories/30337
- http://secunia.com/advisories/30337
- http://secunia.com/advisories/30581
- http://secunia.com/advisories/30581
- http://secunia.com/advisories/31372
- http://secunia.com/advisories/31372
- http://secunia.com/advisories/31393
- http://secunia.com/advisories/31393
- http://security.gentoo.org/glsa/glsa-200808-01.xml
- http://security.gentoo.org/glsa/glsa-200808-01.xml
- http://www.debian.org/security/2008/dsa-1586
- http://www.debian.org/security/2008/dsa-1586
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:177
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:177
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:178
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:178
- http://www.securityfocus.com/bid/28816
- http://www.securityfocus.com/bid/28816
- http://www.ubuntu.com/usn/usn-635-1
- http://www.ubuntu.com/usn/usn-635-1
- http://www.vupen.com/english/advisories/2008/1247/references
- http://www.vupen.com/english/advisories/2008/1247/references
- https://exchange.xforce.ibmcloud.com/vulnerabilities/41865
- https://exchange.xforce.ibmcloud.com/vulnerabilities/41865
- https://www.exploit-db.com/exploits/5458
- https://www.exploit-db.com/exploits/5458
- https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00536.html
- https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00536.html
- https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00571.html
- https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00571.html