ID CVE-2006-4514
Summary Heap-based buffer overflow in the ole_info_read_metabat function in Gnome Structured File library (libgsf) 1.14.0, and other versions before 1.14.2, allows context-dependent attackers to execute arbitrary code via a large num_metabat value in an OLE document, which causes the ole_init_info function to allocate insufficient memory.
References
Vulnerable Configurations
  • cpe:2.3:a:libgsf:libgsf:1.11.1
    cpe:2.3:a:libgsf:libgsf:1.11.1
  • cpe:2.3:a:libgsf:libgsf:1.13.2
    cpe:2.3:a:libgsf:libgsf:1.13.2
  • cpe:2.3:a:libgsf:libgsf:1.14
    cpe:2.3:a:libgsf:libgsf:1.14
  • cpe:2.3:a:libgsf:libgsf:1.14.1
    cpe:2.3:a:libgsf:libgsf:1.14.1
CVSS
Base: 7.5 (as of 30-11-2006 - 23:15)
Impact:
Exploitability:
CWE CWE-119
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.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-391-1.NASL
    description A heap overflow was discovered in the OLE processing code in libgsf. If a user were tricked into opening a specially crafted OLE document, an attacker could execute arbitrary code with the user's privileges. 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 2019-02-21
    modified 2018-11-13
    plugin id 27976
    published 2007-11-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=27976
    title Ubuntu 5.10 / 6.06 LTS / 6.10 : libgsf vulnerability (USN-391-1)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_LIBGSF-2364.NASL
    description Specially crafted OLE documents enabled attackers to use a heap buffer overlow for executing code (CVE-2006-4514).
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 27324
    published 2007-10-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=27324
    title openSUSE 10 Security Update : libgsf (libgsf-2364)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_LIBGSF-2363.NASL
    description Specially crafted OLE documents enabled attackers to use a heap buffer overlow for executing code. (CVE-2006-4514)
    last seen 2019-02-21
    modified 2012-05-17
    plugin id 29501
    published 2007-12-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=29501
    title SuSE 10 Security Update : libgsf (ZYPP Patch Number 2363)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2007-0011.NASL
    description From Red Hat Security Advisory 2007:0011 : Updated libgsf packages that fix a buffer overflow flaw are now available. This update has been rated as having moderate security impact by the Red Hat Security Response Team. The GNOME Structured File Library is a utility library for reading and writing structured file formats. A heap based buffer overflow flaw was found in the way GNOME Structured File Library processes and certain OLE documents. If an person opened a specially crafted OLE file, it could cause the client application to crash or execute arbitrary code. (CVE-2006-4514) Users of GNOME Structured File Library should upgrade to these updated packages, which contain a backported patch that resolves this issue.
    last seen 2019-02-21
    modified 2018-07-18
    plugin id 67437
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=67437
    title Oracle Linux 3 / 4 : libgsf (ELSA-2007-0011)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2007-0011.NASL
    description Updated libgsf packages that fix a buffer overflow flaw are now available. This update has been rated as having moderate security impact by the Red Hat Security Response Team. The GNOME Structured File Library is a utility library for reading and writing structured file formats. A heap based buffer overflow flaw was found in the way GNOME Structured File Library processes and certain OLE documents. If an person opened a specially crafted OLE file, it could cause the client application to crash or execute arbitrary code. (CVE-2006-4514) Users of GNOME Structured File Library should upgrade to these updated packages, which contain a backported patch that resolves this issue.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 24024
    published 2007-01-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=24024
    title CentOS 3 / 4 : libgsf (CESA-2007:0011)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-200612-13.NASL
    description The remote host is affected by the vulnerability described in GLSA-200612-13 (libgsf: Buffer overflow) 'infamous41md' has discovered that the 'ole_init_info' function may allocate too little memory for storing the contents of an OLE document, resulting in a heap buffer overflow. Impact : An attacker could entice a user to open a specially crafted OLE document, and possibly execute arbitrary code with the rights of the user opening the document. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-07-11
    plugin id 23865
    published 2006-12-14
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=23865
    title GLSA-200612-13 : libgsf: Buffer overflow
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2007-0011.NASL
    description Updated libgsf packages that fix a buffer overflow flaw are now available. This update has been rated as having moderate security impact by the Red Hat Security Response Team. The GNOME Structured File Library is a utility library for reading and writing structured file formats. A heap based buffer overflow flaw was found in the way GNOME Structured File Library processes and certain OLE documents. If an person opened a specially crafted OLE file, it could cause the client application to crash or execute arbitrary code. (CVE-2006-4514) Users of GNOME Structured File Library should upgrade to these updated packages, which contain a backported patch that resolves this issue.
    last seen 2019-02-21
    modified 2018-11-16
    plugin id 24211
    published 2007-01-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=24211
    title RHEL 3 / 4 : libgsf (RHSA-2007:0011)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRAKE_MDKSA-2006-220.NASL
    description 'infamous41md' discovered a heap buffer overflow vulnerability in libgsf, a GNOME library for reading and writing structured file formats, which could lead to the execution of arbitrary code. The updated packages have been patched to correct this problem.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 24604
    published 2007-02-18
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=24604
    title Mandrake Linux Security Advisory : libgsf (MDKSA-2006:220)
  • NASL family SuSE Local Security Checks
    NASL id SUSE9_11342.NASL
    description Specially crafted OLE documents enabled attackers to use a heap buffer overlow for executing code. (CVE-2006-4514)
    last seen 2019-02-21
    modified 2012-04-23
    plugin id 41108
    published 2009-09-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=41108
    title SuSE9 Security Update : libgsf (YOU Patch Number 11342)
oval via4
accepted 2013-04-29T04:19:15.688-04:00
class vulnerability
contributors
  • name Aharon Chernin
    organization SCAP.com, LLC
  • name Dragos Prisaca
    organization G2, Inc.
definition_extensions
  • comment The operating system installed on the system is Red Hat Enterprise Linux 3
    oval oval:org.mitre.oval:def:11782
  • comment CentOS Linux 3.x
    oval oval:org.mitre.oval:def:16651
  • comment The operating system installed on the system is Red Hat Enterprise Linux 4
    oval oval:org.mitre.oval:def:11831
  • comment CentOS Linux 4.x
    oval oval:org.mitre.oval:def:16636
  • comment Oracle Linux 4.x
    oval oval:org.mitre.oval:def:15990
description Heap-based buffer overflow in the ole_info_read_metabat function in Gnome Structured File library (libgsf) 1.14.0, and other versions before 1.14.2, allows context-dependent attackers to execute arbitrary code via a large num_metabat value in an OLE document, which causes the ole_init_info function to allocate insufficient memory.
family unix
id oval:org.mitre.oval:def:9413
status accepted
submitted 2010-07-09T03:56:16-04:00
title Heap-based buffer overflow in the ole_info_read_metabat function in Gnome Structured File library (libgsf) 1.14.0, and other versions before 1.14.2, allows context-dependent attackers to execute arbitrary code via a large num_metabat value in an OLE document, which causes the ole_init_info function to allocate insufficient memory.
version 22
redhat via4
advisories
bugzilla
id 217949
title CVE-2006-4514 libgsf heap overflow
oval
OR
  • AND
    • comment Red Hat Enterprise Linux 3 is installed
      oval oval:com.redhat.rhsa:tst:20060015001
    • OR
      • AND
        • comment libgsf is earlier than 0:1.6.0-7
          oval oval:com.redhat.rhsa:tst:20070011002
        • comment libgsf is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070011003
      • AND
        • comment libgsf-devel is earlier than 0:1.6.0-7
          oval oval:com.redhat.rhsa:tst:20070011004
        • comment libgsf-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070011005
  • AND
    • comment Red Hat Enterprise Linux 4 is installed
      oval oval:com.redhat.rhsa:tst:20060016001
    • OR
      • AND
        • comment libgsf is earlier than 0:1.10.1-2
          oval oval:com.redhat.rhsa:tst:20070011007
        • comment libgsf is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070011003
      • AND
        • comment libgsf-devel is earlier than 0:1.10.1-2
          oval oval:com.redhat.rhsa:tst:20070011008
        • comment libgsf-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20070011005
rhsa
id RHSA-2007:0011
released 2007-01-11
severity Moderate
title RHSA-2007:0011: libgsf security update (Moderate)
rpms
  • libgsf-0:1.6.0-7
  • libgsf-devel-0:1.6.0-7
  • libgsf-0:1.10.1-2
  • libgsf-devel-0:1.10.1-2
refmap via4
bid 21358
bugtraq 20061214 rPSA-2006-0232-1 libgsf
confirm
debian DSA-1221
gentoo GLSA-200612-13
idefense 20061130 Multiple Vendor libgsf Heap Overflow Vulnerability
mandriva MDKSA-2006:220
secunia
  • 23164
  • 23166
  • 23167
  • 23227
  • 23337
  • 23352
  • 23355
  • 23686
  • 23920
sgi 20070101-01-P
suse SUSE-SA:2006:076
ubuntu USN-391-1
vupen ADV-2006-4784
xf libgsf-metabat-bo(30611)
statements via4
contributor Mark J Cox
lastmodified 2007-03-14
organization Red Hat
statement Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.
Last major update 29-05-2013 - 21:57
Published 30-11-2006 - 18:28
Last modified 17-10-2018 - 17:37
Back to Top