ID CVE-2008-1767
Summary Buffer overflow in pattern.c in libxslt before 1.1.24 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via an XSL style sheet file with a long XSLT "transformation match" condition that triggers a large number of steps.
References
Vulnerable Configurations
  • cpe:2.3:o:redhat:desktop:3
    cpe:2.3:o:redhat:desktop:3
  • Red Hat Enterprise Linux 2.1 Advanced Server
    cpe:2.3:o:redhat:enterprise_linux:2.1:-:as
  • Red Hat Enterprise Linux 2.1 Enterprise Server
    cpe:2.3:o:redhat:enterprise_linux:2.1:-:es
  • Red Hat Enterprise Linux 2.1 Workstation
    cpe:2.3:o:redhat:enterprise_linux:2.1:-:ws
  • cpe:2.3:o:redhat:enterprise_linux:3.0:-:as
    cpe:2.3:o:redhat:enterprise_linux:3.0:-:as
  • cpe:2.3:o:redhat:enterprise_linux:3.0:-:es
    cpe:2.3:o:redhat:enterprise_linux:3.0:-:es
  • cpe:2.3:o:redhat:enterprise_linux:3.0:-:ws
    cpe:2.3:o:redhat:enterprise_linux:3.0:-:ws
  • cpe:2.3:o:redhat:enterprise_linux:4.0:-:as
    cpe:2.3:o:redhat:enterprise_linux:4.0:-:as
  • cpe:2.3:o:redhat:enterprise_linux:4.0:-:es
    cpe:2.3:o:redhat:enterprise_linux:4.0:-:es
  • cpe:2.3:o:redhat:enterprise_linux:4.0:-:ws
    cpe:2.3:o:redhat:enterprise_linux:4.0:-:ws
  • cpe:2.3:o:redhat:enterprise_linux:5.0:-:server
    cpe:2.3:o:redhat:enterprise_linux:5.0:-:server
  • Red Hat desktop 4
    cpe:2.3:o:redhat:enterprise_linux_desktop:4
  • cpe:2.3:o:redhat:enterprise_linux_desktop:5:-:client
    cpe:2.3:o:redhat:enterprise_linux_desktop:5:-:client
  • cpe:2.3:o:redhat:enterprise_linux_desktop_workstation:5
    cpe:2.3:o:redhat:enterprise_linux_desktop_workstation:5
  • cpe:2.3:o:redhat:linux_advanced_workstation:2.1:-:itanium
    cpe:2.3:o:redhat:linux_advanced_workstation:2.1:-:itanium
CVSS
Base: 7.5 (as of 27-05-2008 - 09:59)
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
exploit-db via4
description libxslt XSL 1.1.23 File Processing Buffer Overflow Vulnerability. CVE-2008-1767. Dos exploit for linux platform
id EDB-ID:31815
last seen 2016-02-03
modified 2008-05-21
published 2008-05-21
reporter Anthony de Almeida Lopes
source https://www.exploit-db.com/download/31815/
title libxslt XSL <= 1.1.23 - File Processing Buffer Overflow Vulnerability
nessus via4
  • NASL family Windows
    NASL id SAFARI_3_2.NASL
    description The version of Safari installed on the remote Windows host is earlier than 3.2. Such versions are potentially affected by several issues : - Safari includes a version of zlib that is affected by multiple vulnerabilities. (CVE-2005-2096) - A heap-based buffer overflow issue in the libxslt library could lead to a crash or arbitrary code execution. (CVE-2008-1767) - A signedness issue in Safari's handling of JavaScript array indices could lead to a crash or arbitrary code execution. (CVE-2008-2303) - A memory corruption issue in WebCore's handling of style sheet elements could lead to a crash or arbitrary code execution. (CVE-2008-2317) - Multiple uninitialized memory access issues in libTIFF's handling of LZW-encoded TIFF images could lead to a crash or arbitrary code execution. (CVE-2008-2327) - A memory corruption issue in ImageIO's handling of TIFF images could lead to a crash or arbitrary code execution. (CVE-2008-2332). - A memory corruption issue in ImageIO's handling of embedded ICC profiles in JPEG images could lead to a crash or arbitrary code execution. (CVE-2008-3608) - A heap-based buffer overflow in CoreGraphics' handling of color spaces could lead to a crash or arbitrary code execution. (CVE-2008-3623) - A buffer overflow in the handling of images with an embedded ICC profile could lead to a crash or arbitrary code execution. (CVE-2008-3642) - Disabling autocomplete on a form field may not prevent the data in the field from being stored in the browser page cache. (CVE-2008-3644) - WebKit's plug-in interface does not block plug-ins from launching local URLs, which could allow a remote attacker to launch local files in Safari and lead to the disclosure of sensitive information. (CVE-2008-4216)
    last seen 2019-02-21
    modified 2018-07-27
    plugin id 34772
    published 2008-11-14
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=34772
    title Safari < 3.2 Multiple Vulnerabilities
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20080521_LIBXSLT_ON_SL3_X.NASL
    description Anthony de Almeida Lopes reported the libxslt library did not properly process long 'transformation match' conditions in the XSL stylesheet files. An attacker could create a malicious XSL file that would cause a crash, or, possibly, execute and arbitrary code with the privileges of the application using libxslt library to perform XSL transformations. (CVE-2008-1767)
    last seen 2019-02-21
    modified 2019-01-07
    plugin id 60405
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=60405
    title Scientific Linux Security Update : libxslt on SL3.x, SL4.x, SL5.x i386/x86_64
  • NASL family Slackware Local Security Checks
    NASL id SLACKWARE_SSA_2008-210-03.NASL
    description New libxslt packages are available for Slackware 12.0, 12.1, and -current to fix a security issue.
    last seen 2018-09-01
    modified 2013-06-01
    plugin id 33748
    published 2008-07-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=33748
    title Slackware 12.0 / 12.1 / current : libxslt (SSA:2008-210-03)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_LIBXSLT-5343.NASL
    description A libxslt XSL-match processing overflow has been fixed. CVE-2008-1767 has been assigned to this issue.
    last seen 2019-02-21
    modified 2012-05-17
    plugin id 33196
    published 2008-06-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=33196
    title SuSE 10 Security Update : libxslt (ZYPP Patch Number 5343)
  • NASL family SuSE Local Security Checks
    NASL id SUSE9_12184.NASL
    description A libxslt XSL-match processing overflow has been fixed. CVE-2008-1767 has been assigned to this issue.
    last seen 2019-02-21
    modified 2012-04-23
    plugin id 41218
    published 2009-09-24
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=41218
    title SuSE9 Security Update : libxslt (YOU Patch Number 12184)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-633-1.NASL
    description It was discovered that long transformation matches in libxslt could overflow. If an attacker were able to make an application linked against libxslt process malicious XSL style sheet input, they could execute arbitrary code with user privileges or cause the application to crash, leading to a denial of serivce. (CVE-2008-1767) Chris Evans discovered that the RC4 processing code in libxslt did not correctly handle corrupted key information. If a remote attacker were able to make an application linked against libxslt process malicious XML input, they could crash the application, leading to a denial of service. (CVE-2008-2935). 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-28
    plugin id 33808
    published 2008-08-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=33808
    title Ubuntu 6.06 LTS / 7.04 / 7.10 / 8.04 LTS : libxslt vulnerabilities (USN-633-1)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2008-0287.NASL
    description Updated libxslt packages that fix a security issue are now available. This update has been rated as having important security impact by the Red Hat Security Response Team. libxslt is a C library, based on libxml, for parsing of XML files into other textual formats (eg HTML, plain text and other XML representations of the underlying data) It uses the standard XSLT stylesheet transformation mechanism and, being written in plain ANSI C, is designed to be simple to incorporate into other applications Anthony de Almeida Lopes reported the libxslt library did not properly process long 'transformation match' conditions in the XSL stylesheet files. An attacker could create a malicious XSL file that would cause a crash, or, possibly, execute and arbitrary code with the privileges of the application using libxslt library to perform XSL transformations. (CVE-2008-1767) All users are advised to upgrade to these updated packages, which contain a backported patch to resolve this issue.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 32401
    published 2008-05-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=32401
    title CentOS 3 / 4 / 5 : libxslt (CESA-2008:0287)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_LIBXSLT-5263.NASL
    description A libxslt XSL-match processing overflow has been fixed. CVE-2008-1767 has been assigned to this issue.
    last seen 2019-02-21
    modified 2014-06-13
    plugin id 33195
    published 2008-06-16
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=33195
    title openSUSE 10 Security Update : libxslt (libxslt-5263)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-200806-02.NASL
    description The remote host is affected by the vulnerability described in GLSA-200806-02 (libxslt: Execution of arbitrary code) Anthony de Almeida Lopes reported a vulnerability in libxslt when handling XSL style-sheet files, which could be exploited to trigger the use of uninitialized memory, e.g. in a call to 'free()'. Impact : A remote attacker could entice a user or automated system to process an XML file using a specially crafted XSL transformation file, possibly resulting in the execution of arbitrary code or a Denial of Service. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-08-10
    plugin id 33085
    published 2008-06-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=33085
    title GLSA-200806-02 : libxslt: Execution of arbitrary code
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-1589.NASL
    description It was discovered that libxslt, an XSLT processing runtime library, could be coerced into executing arbitrary code via a buffer overflow when an XSL style sheet file with a long XSLT 'transformation match' condition triggered a large number of steps.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 32457
    published 2008-05-29
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=32457
    title Debian DSA-1589-1 : libxslt - buffer overflow
  • NASL family MacOS X Local Security Checks
    NASL id MACOSX_SECUPD2008-007.NASL
    description The remote host is running a version of Mac OS X 10.5 or 10.4 that does not have the security update 2008-007 applied. This security update contains fixes for the following products : - Apache - Certificates - ClamAV - ColorSync - CUPS - Finder - launchd - libxslt - MySQL Server - Networking - PHP - Postfix - PSNormalizer - QuickLook - rlogin - Script Editor - Single Sign-On - Tomcat - vim - Weblog
    last seen 2019-02-21
    modified 2018-07-14
    plugin id 34374
    published 2008-10-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=34374
    title Mac OS X Multiple Vulnerabilities (Security Update 2008-007)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2008-0287.NASL
    description From Red Hat Security Advisory 2008:0287 : Updated libxslt packages that fix a security issue are now available. This update has been rated as having important security impact by the Red Hat Security Response Team. libxslt is a C library, based on libxml, for parsing of XML files into other textual formats (eg HTML, plain text and other XML representations of the underlying data) It uses the standard XSLT stylesheet transformation mechanism and, being written in plain ANSI C, is designed to be simple to incorporate into other applications Anthony de Almeida Lopes reported the libxslt library did not properly process long 'transformation match' conditions in the XSL stylesheet files. An attacker could create a malicious XSL file that would cause a crash, or, possibly, execute and arbitrary code with the privileges of the application using libxslt library to perform XSL transformations. (CVE-2008-1767) All users are advised to upgrade to these updated packages, which contain a backported patch to resolve this issue.
    last seen 2019-02-21
    modified 2018-07-18
    plugin id 67692
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=67692
    title Oracle Linux 3 / 4 / 5 : libxslt (ELSA-2008-0287)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2008-0287.NASL
    description Updated libxslt packages that fix a security issue are now available. This update has been rated as having important security impact by the Red Hat Security Response Team. libxslt is a C library, based on libxml, for parsing of XML files into other textual formats (eg HTML, plain text and other XML representations of the underlying data) It uses the standard XSLT stylesheet transformation mechanism and, being written in plain ANSI C, is designed to be simple to incorporate into other applications Anthony de Almeida Lopes reported the libxslt library did not properly process long 'transformation match' conditions in the XSL stylesheet files. An attacker could create a malicious XSL file that would cause a crash, or, possibly, execute and arbitrary code with the privileges of the application using libxslt library to perform XSL transformations. (CVE-2008-1767) All users are advised to upgrade to these updated packages, which contain a backported patch to resolve this issue.
    last seen 2019-02-21
    modified 2018-11-27
    plugin id 32421
    published 2008-05-22
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=32421
    title RHEL 2.1 / 3 / 4 / 5 : libxslt (RHSA-2008:0287)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2008-151.NASL
    description A buffer overflow vulnerability in libxslt could be exploited via an XSL style sheet file with a long XLST transformation match condition, which could possibly lead to the execution of arbitrary code (CVE-2008-1767). The updated packages have been patched to correct this issue.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 37284
    published 2009-04-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=37284
    title Mandriva Linux Security Advisory : libxslt (MDVSA-2008:151)
oval via4
accepted 2013-04-29T04:22:11.015-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
  • comment The operating system installed on the system is Red Hat Enterprise Linux 5
    oval oval:org.mitre.oval:def:11414
  • comment The operating system installed on the system is CentOS Linux 5.x
    oval oval:org.mitre.oval:def:15802
  • comment Oracle Linux 5.x
    oval oval:org.mitre.oval:def:15459
description Buffer overflow in pattern.c in libxslt before 1.1.24 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via an XSL style sheet file with a long XSLT "transformation match" condition that triggers a large number of steps.
family unix
id oval:org.mitre.oval:def:9785
status accepted
submitted 2010-07-09T03:56:16-04:00
title Buffer overflow in pattern.c in libxslt before 1.1.24 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via an XSL style sheet file with a long XSLT "transformation match" condition that triggers a large number of steps.
version 24
redhat via4
advisories
bugzilla
id 446809
title condition in XSL file
oval
OR
  • AND
    • comment Red Hat Enterprise Linux 3 is installed
      oval oval:com.redhat.rhsa:tst:20060015001
    • OR
      • AND
        • comment libxslt is earlier than 0:1.0.33-6
          oval oval:com.redhat.rhsa:tst:20080287002
        • comment libxslt is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20080287003
      • AND
        • comment libxslt-devel is earlier than 0:1.0.33-6
          oval oval:com.redhat.rhsa:tst:20080287004
        • comment libxslt-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20080287005
  • AND
    • comment Red Hat Enterprise Linux 4 is installed
      oval oval:com.redhat.rhsa:tst:20060016001
    • OR
      • AND
        • comment libxslt is earlier than 0:1.1.11-1.el4_6.1
          oval oval:com.redhat.rhsa:tst:20080287007
        • comment libxslt is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20080287003
      • AND
        • comment libxslt-devel is earlier than 0:1.1.11-1.el4_6.1
          oval oval:com.redhat.rhsa:tst:20080287008
        • comment libxslt-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20080287005
      • AND
        • comment libxslt-python is earlier than 0:1.1.11-1.el4_6.1
          oval oval:com.redhat.rhsa:tst:20080287009
        • comment libxslt-python is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20080287010
  • AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhsa:tst:20070055001
    • OR
      • AND
        • comment libxslt is earlier than 0:1.1.17-2.el5_1.1
          oval oval:com.redhat.rhsa:tst:20080287012
        • comment libxslt is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20080287013
      • AND
        • comment libxslt-devel is earlier than 0:1.1.17-2.el5_1.1
          oval oval:com.redhat.rhsa:tst:20080287016
        • comment libxslt-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20080287017
      • AND
        • comment libxslt-python is earlier than 0:1.1.17-2.el5_1.1
          oval oval:com.redhat.rhsa:tst:20080287014
        • comment libxslt-python is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20080287015
rhsa
id RHSA-2008:0287
released 2008-05-21
severity Important
title RHSA-2008:0287: libxslt security update (Important)
rpms
  • libxslt-0:1.0.33-6
  • libxslt-devel-0:1.0.33-6
  • libxslt-0:1.1.11-1.el4_6.1
  • libxslt-devel-0:1.1.11-1.el4_6.1
  • libxslt-python-0:1.1.11-1.el4_6.1
  • libxslt-0:1.1.17-2.el5_1.1
  • libxslt-devel-0:1.1.17-2.el5_1.1
  • libxslt-python-0:1.1.17-2.el5_1.1
refmap via4
apple
  • APPLE-SA-2008-07-11
  • APPLE-SA-2008-10-09
  • APPLE-SA-2008-11-13
bid
  • 29312
  • 31681
confirm
debian DSA-1589
gentoo GLSA-200806-02
mandriva MDVSA-2008:151
sectrack 1020071
secunia
  • 30315
  • 30323
  • 30393
  • 30521
  • 30717
  • 31074
  • 31363
  • 32222
  • 32706
suse SUSE-SR:2008:013
ubuntu USN-633-1
vupen
  • ADV-2008-1580
  • ADV-2008-2094
  • ADV-2008-2780
xf libxslt-xsl-bo(42560)
Last major update 30-10-2012 - 22:55
Published 23-05-2008 - 11:32
Last modified 28-09-2017 - 21:30
Back to Top