Vulnerabilities > CVE-2007-1246 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Mplayer
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
The DMO_VideoDecoder_Open function in loader/dmo/DMO_VideoDecoder.c in MPlayer 1.0rc1 and earlier, as used in xine-lib, does not set the biSize before use in a memcpy, which allows user-assisted remote attackers to cause a buffer overflow and possibly execute arbitrary code, a different vulnerability than CVE-2007-1387.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
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.
Nessus
NASL family Debian Local Security Checks NASL id DEBIAN_DSA-1536.NASL description Several local vulnerabilities have been discovered in Xine, a media player library, allowed for a denial of service or arbitrary code execution, which could be exploited through viewing malicious content. The Common Vulnerabilities and Exposures project identifies the following problems : - CVE-2007-1246 / CVE-2007-1387 The DMO_VideoDecoder_Open function does not set the biSize before use in a memcpy, which allows user-assisted remote attackers to cause a buffer overflow and possibly execute arbitrary code (applies to sarge only). - CVE-2008-0073 Array index error in the sdpplin_parse function allows remote RTSP servers to execute arbitrary code via a large streamid SDP parameter. - CVE-2008-0486 Array index vulnerability in libmpdemux/demux_audio.c might allow remote attackers to execute arbitrary code via a crafted FLAC tag, which triggers a buffer overflow (applies to etch only). - CVE-2008-1161 Buffer overflow in the Matroska demuxer allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a Matroska file with invalid frame sizes. last seen 2020-06-01 modified 2020-06-02 plugin id 31721 published 2008-04-01 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/31721 title Debian DSA-1536-1 : libxine - several vulnerabilities NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-200704-09.NASL description The remote host is affected by the vulnerability described in GLSA-200704-09 (xine-lib: Heap-based buffer overflow) xine-lib does not check boundaries on data being read into buffers from DMO video files in code that is shared with MPlayer (DMO_VideoDecoder.c). Impact : An attacker could entice a user to play a specially crafted DMO video file with a player using xine-lib, potentially resulting in the execution of arbitrary code with the privileges of the user running the player. Workaround : There is no known workaround at this time. last seen 2020-06-01 modified 2020-06-02 plugin id 25054 published 2007-04-19 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/25054 title GLSA-200704-09 : xine-lib: Heap-based buffer overflow NASL family Slackware Local Security Checks NASL id SLACKWARE_SSA_2007-109-02.NASL description New xine-lib packages are available for Slackware 10.0, 10.1, 10.2, 11.0, and -current to fix security issues. last seen 2020-06-01 modified 2020-06-02 plugin id 25093 published 2007-04-30 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/25093 title Slackware 10.0 / 10.1 / 10.2 / 11.0 / current : xine-lib (SSA:2007-109-02) NASL family Mandriva Local Security Checks NASL id MANDRAKE_MDKSA-2007-055.NASL description The DMO_VideoDecoder_Open function in loader/dmo/DMO_VideoDecoder.c in MPlayer 1.0rc1 and earlier does not set the biSize before use in a memcpy, which allows user-assisted remote attackers to cause a buffer overflow and possibly execute arbitrary code. Updated packages have been patched to address this issue. last seen 2020-06-01 modified 2020-06-02 plugin id 24805 published 2007-03-12 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/24805 title Mandrake Linux Security Advisory : mplayer (MDKSA-2007:055) NASL family SuSE Local Security Checks NASL id SUSE_XINE-LIB-2988.NASL description The DirectShow loader uses wrong parameters in the memcpy function call which leads to a buffer overflow. CVE-2007-1246 has been assigned to this issue. last seen 2020-06-01 modified 2020-06-02 plugin id 29601 published 2007-12-13 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/29601 title SuSE 10 Security Update : xine-lib (ZYPP Patch Number 2988) NASL family Mandriva Local Security Checks NASL id MANDRAKE_MDKSA-2007-057.NASL description The DMO_VideoDecoder_Open function in dmo/DMO_VideoDecoder.c in xine-lib does not set the biSize before use in a memcpy, which allows user-assisted remote attackers to cause a buffer overflow and possibly execute arbitrary code. Updated packages have been patched to address this issue. last seen 2020-06-01 modified 2020-06-02 plugin id 24807 published 2007-03-12 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/24807 title Mandrake Linux Security Advisory : xine-lib (MDKSA-2007:057) NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-200705-21.NASL description The remote host is affected by the vulnerability described in GLSA-200705-21 (MPlayer: Two buffer overflows) A buffer overflow has been reported in the DMO_VideoDecoder_Open() function in file loader/dmo/DMO_VideoDecoder.c. Another buffer overflow has been reported in the DS_VideoDecoder_Open() function in file loader/dshow/DS_VideoDecoder.c. Impact : A remote attacker could entice a user to open a specially crafted video file, potentially resulting in the execution of arbitrary code with the privileges of the user running MPlayer. Workaround : There is no known workaround at this time. last seen 2020-06-01 modified 2020-06-02 plugin id 25360 published 2007-06-01 reporter This script is Copyright (C) 2007-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/25360 title GLSA-200705-21 : MPlayer: Two buffer overflows NASL family SuSE Local Security Checks NASL id SUSE_XINE-LIB-2989.NASL description The DirectShow loader uses wrong parameters in the memcpy function call which leads to a buffer overflow. CVE-2007-1246 has been assigned to this issue. last seen 2020-06-01 modified 2020-06-02 plugin id 27489 published 2007-10-17 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/27489 title openSUSE 10 Security Update : xine-lib (xine-lib-2989) NASL family FreeBSD Local Security Checks NASL id FREEBSD_PKG_ABEB9B64CE5011DBBC240016179B2DD5.NASL description 'Moritz Jodeit reports : There last seen 2020-06-01 modified 2020-06-02 plugin id 24798 published 2007-03-12 reporter This script is Copyright (C) 2007-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/24798 title FreeBSD : mplayer -- DMO File Parsing Buffer Overflow Vulnerability (abeb9b64-ce50-11db-bc24-0016179b2dd5) NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-433-1.NASL description Moritz Jodeit discovered that the DMO loader of Xine did not correctly validate the size of an allocated buffer. By tricking a user into opening a specially crafted media file, an attacker could execute arbitrary code with the user last seen 2020-06-01 modified 2020-06-02 plugin id 28028 published 2007-11-10 reporter Ubuntu Security Notice (C) 2007-2019 Canonical, Inc. / NASL script (C) 2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/28028 title Ubuntu 5.10 / 6.06 LTS / 6.10 : xine-lib vulnerability (USN-433-1)
References
- http://lists.grok.org.uk/pipermail/full-disclosure/2007-March/052738.html
- http://lists.grok.org.uk/pipermail/full-disclosure/2007-March/052738.html
- http://secunia.com/advisories/24443
- http://secunia.com/advisories/24443
- http://secunia.com/advisories/24444
- http://secunia.com/advisories/24444
- http://secunia.com/advisories/24446
- http://secunia.com/advisories/24446
- http://secunia.com/advisories/24448
- http://secunia.com/advisories/24448
- http://secunia.com/advisories/24462
- http://secunia.com/advisories/24462
- http://secunia.com/advisories/24866
- http://secunia.com/advisories/24866
- http://secunia.com/advisories/24897
- http://secunia.com/advisories/24897
- http://secunia.com/advisories/24995
- http://secunia.com/advisories/24995
- http://secunia.com/advisories/25462
- http://secunia.com/advisories/25462
- http://secunia.com/advisories/29601
- http://secunia.com/advisories/29601
- http://security.gentoo.org/glsa/glsa-200704-09.xml
- http://security.gentoo.org/glsa/glsa-200704-09.xml
- http://security.gentoo.org/glsa/glsa-200705-21.xml
- http://security.gentoo.org/glsa/glsa-200705-21.xml
- http://slackware.com/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.449141
- http://slackware.com/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.449141
- http://svn.mplayerhq.hu/mplayer/trunk/loader/dmo/DMO_VideoDecoder.c
- http://svn.mplayerhq.hu/mplayer/trunk/loader/dmo/DMO_VideoDecoder.c
- http://svn.mplayerhq.hu/mplayer/trunk/loader/dmo/DMO_VideoDecoder.c?r1=22019&r2=22204
- http://svn.mplayerhq.hu/mplayer/trunk/loader/dmo/DMO_VideoDecoder.c?r1=22019&r2=22204
- http://www.debian.org/security/2008/dsa-1536
- http://www.debian.org/security/2008/dsa-1536
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:055
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:055
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:057
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:057
- http://www.novell.com/linux/security/advisories/2007_007_suse.html
- http://www.novell.com/linux/security/advisories/2007_007_suse.html
- http://www.novell.com/linux/security/advisories/2007_5_sr.html
- http://www.novell.com/linux/security/advisories/2007_5_sr.html
- http://www.securityfocus.com/archive/1/466691/30/6900/threaded
- http://www.securityfocus.com/archive/1/466691/30/6900/threaded
- http://www.securityfocus.com/bid/22771
- http://www.securityfocus.com/bid/22771
- http://www.ubuntu.com/usn/usn-433-1
- http://www.ubuntu.com/usn/usn-433-1
- http://www.vupen.com/english/advisories/2007/0794
- http://www.vupen.com/english/advisories/2007/0794
- https://exchange.xforce.ibmcloud.com/vulnerabilities/32747
- https://exchange.xforce.ibmcloud.com/vulnerabilities/32747