ID CVE-2008-2935
Summary Multiple heap-based buffer overflows in the rc4 (1) encryption (aka exsltCryptoRc4EncryptFunction) and (2) decryption (aka exsltCryptoRc4DecryptFunction) functions in crypto.c in libexslt in libxslt 1.1.8 through 1.1.24 allow context-dependent attackers to execute arbitrary code via an XML file containing a long string as "an argument in the XSL input."
References
Vulnerable Configurations
  • XMLSoft libxslt 1.1.8
    cpe:2.3:a:xmlsoft:libxslt:1.1.8
  • XMLSoft libxslt 1.1.9
    cpe:2.3:a:xmlsoft:libxslt:1.1.9
  • XMLSoft libxslt 1.1.10
    cpe:2.3:a:xmlsoft:libxslt:1.1.10
  • XMLSoft libxslt 1.1.11
    cpe:2.3:a:xmlsoft:libxslt:1.1.11
  • XMLSoft libxslt 1.1.12
    cpe:2.3:a:xmlsoft:libxslt:1.1.12
  • XMLSoft libxslt 1.1.13
    cpe:2.3:a:xmlsoft:libxslt:1.1.13
  • XMLSoft libxslt 1.1.14
    cpe:2.3:a:xmlsoft:libxslt:1.1.14
  • XMLSoft libxslt 1.1.15
    cpe:2.3:a:xmlsoft:libxslt:1.1.15
  • XMLSoft libxslt 1.1.16
    cpe:2.3:a:xmlsoft:libxslt:1.1.16
  • XMLSoft libxslt 1.1.17
    cpe:2.3:a:xmlsoft:libxslt:1.1.17
  • XMLSoft libxslt 1.1.18
    cpe:2.3:a:xmlsoft:libxslt:1.1.18
  • XMLSoft libxslt 1.1.19
    cpe:2.3:a:xmlsoft:libxslt:1.1.19
  • XMLSoft libxslt 1.1.20
    cpe:2.3:a:xmlsoft:libxslt:1.1.20
  • XMLSoft libxslt 1.1.21
    cpe:2.3:a:xmlsoft:libxslt:1.1.21
  • XMLSoft libxslt 1.1.22
    cpe:2.3:a:xmlsoft:libxslt:1.1.22
  • XMLSoft libxslt 1.1.23
    cpe:2.3:a:xmlsoft:libxslt:1.1.23
  • XMLSoft libxslt 1.1.24
    cpe:2.3:a:xmlsoft:libxslt:1.1.24
CVSS
Base: 7.5 (as of 01-08-2008 - 14:50)
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 1.1.x RC4 Encryption and Decryption Functions Buffer Overflow Vulnerability. CVE-2008-2935. Remote exploit for linux platform
id EDB-ID:32133
last seen 2016-02-03
modified 2008-07-31
published 2008-07-31
reporter Chris Evans
source https://www.exploit-db.com/download/32133/
title libxslt 1.1.x - RC4 Encryption and Decryption Functions Buffer Overflow Vulnerability
nessus via4
  • NASL family SuSE Local Security Checks
    NASL id SUSE_LIBXSLT-5457.NASL
    description A heap overflow in the RC4 cryptographic routines in libxslt was fixed which could be used by attackers to potentially execute code. (CVE-2008-2935)
    last seen 2019-02-21
    modified 2012-05-17
    plugin id 34076
    published 2008-09-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=34076
    title SuSE 10 Security Update : libxslt (ZYPP Patch Number 5457)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_0_LIBXSLT-080720.NASL
    description A heap overflow in the RC4 cryptographic routines in libxslt was fixed which could be used by attackers to potentially execute code. (CVE-2008-2935)
    last seen 2019-02-21
    modified 2014-06-13
    plugin id 40059
    published 2009-07-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=40059
    title openSUSE Security Update : libxslt (libxslt-110)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2008-0649.NASL
    description From Red Hat Security Advisory 2008:0649 : Updated libxslt packages that fix a security issue are now available for Red Hat Enterprise Linux 4 and Red Hat Enterprise Linux 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. libxslt is a library for transforming XML files into other XML files using the standard XSLT stylesheet transformation mechanism. A heap buffer overflow flaw was discovered in the RC4 libxslt library extension. An attacker could create a malicious XSL file that would cause a crash, or, possibly, execute arbitrary code with the privileges of the application using the libxslt library to perform XSL transformations on untrusted XSL style sheets. (CVE-2008-2935) Red Hat would like to thank Chris Evans for reporting this vulnerability. All libxslt 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 67734
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=67734
    title Oracle Linux 4 / 5 : libxslt (ELSA-2008-0649)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-1624.NASL
    description Chris Evans discovered that a buffer overflow in the RC4 functions of libexslt may lead to the execution of arbitrary code.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 33773
    published 2008-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=33773
    title Debian DSA-1624-1 : libxslt - buffer overflows
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2008-160.NASL
    description Chris Evans of the Google Security Team found a vulnerability in the RC4 processing code in libxslt that did not properly handle corrupted key information. A remote attacker able to make an application linked against libxslt process malicious XML input could cause the application to crash or possibly execute arbitrary code with the privileges of the application in question (CVE-2008-2935). The updated packages have been patched to correct this issue.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 36753
    published 2009-04-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=36753
    title Mandriva Linux Security Advisory : libxslt (MDVSA-2008:160)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-200808-06.NASL
    description The remote host is affected by the vulnerability described in GLSA-200808-06 (libxslt: Execution of arbitrary code) Chris Evans (Google Security) reported that the libexslt library that is part of libxslt is affected by a heap-based buffer overflow in the RC4 encryption/decryption functions. Impact : A remote attacker could entice a user to process an XML file using a specially crafted XSLT stylesheet in an application linked against libxslt, possibly leading to the execution of arbitrary code with the privileges of the user running the application. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-08-10
    plugin id 33836
    published 2008-08-07
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=33836
    title GLSA-200808-06 : libxslt: Execution of arbitrary code
  • 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-0649.NASL
    description Updated libxslt packages that fix a security issue are now available for Red Hat Enterprise Linux 4 and Red Hat Enterprise Linux 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. libxslt is a library for transforming XML files into other XML files using the standard XSLT stylesheet transformation mechanism. A heap buffer overflow flaw was discovered in the RC4 libxslt library extension. An attacker could create a malicious XSL file that would cause a crash, or, possibly, execute arbitrary code with the privileges of the application using the libxslt library to perform XSL transformations on untrusted XSL style sheets. (CVE-2008-2935) Red Hat would like to thank Chris Evans for reporting this vulnerability. All libxslt 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 43704
    published 2010-01-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=43704
    title CentOS 4 / 5 : libxslt (CESA-2008:0649)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2008-7029.NASL
    description fix for CVE-2008-2935 problem in exslt rc4 crypto extensions 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 2019-02-21
    modified 2015-10-21
    plugin id 33843
    published 2008-08-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=33843
    title Fedora 8 : libxslt-1.1.24-2.fc8 (2008-7029)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_LIBXSLT-5458.NASL
    description A heap overflow in the RC4 cryptographic routines in libxslt was fixed which could be used by attackers to potentially execute code. (CVE-2008-2935)
    last seen 2019-02-21
    modified 2014-06-13
    plugin id 34077
    published 2008-09-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=34077
    title openSUSE 10 Security Update : libxslt (libxslt-5458)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20080731_LIBXSLT_ON_SL4_X.NASL
    description A heap buffer overflow flaw was discovered in the RC4 libxslt library extension. An attacker could create a malicious XSL file that would cause a crash, or, possibly, execute arbitrary code with the privileges of the application using the libxslt library to perform XSL transformations on untrusted XSL style sheets. (CVE-2008-2935)
    last seen 2019-02-21
    modified 2019-01-07
    plugin id 60457
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=60457
    title Scientific Linux Security Update : libxslt on SL4.x, SL5.x i386/x86_64
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2008-7062.NASL
    description fix for CVE-2008-2935 problem in exslt rc4 crypto extensions 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 2019-02-21
    modified 2015-10-21
    plugin id 33845
    published 2008-08-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=33845
    title Fedora 9 : libxslt-1.1.24-2.fc9 (2008-7062)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2008-0649.NASL
    description Updated libxslt packages that fix a security issue are now available for Red Hat Enterprise Linux 4 and Red Hat Enterprise Linux 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. libxslt is a library for transforming XML files into other XML files using the standard XSLT stylesheet transformation mechanism. A heap buffer overflow flaw was discovered in the RC4 libxslt library extension. An attacker could create a malicious XSL file that would cause a crash, or, possibly, execute arbitrary code with the privileges of the application using the libxslt library to perform XSL transformations on untrusted XSL style sheets. (CVE-2008-2935) Red Hat would like to thank Chris Evans for reporting this vulnerability. All libxslt 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 33784
    published 2008-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=33784
    title RHEL 4 / 5 : libxslt (RHSA-2008:0649)
oval via4
accepted 2013-04-29T04:09:07.307-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 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 Multiple heap-based buffer overflows in the rc4 (1) encryption (aka exsltCryptoRc4EncryptFunction) and (2) decryption (aka exsltCryptoRc4DecryptFunction) functions in crypto.c in libexslt in libxslt 1.1.8 through 1.1.24 allow context-dependent attackers to execute arbitrary code via an XML file containing a long string as "an argument in the XSL input."
family unix
id oval:org.mitre.oval:def:10827
status accepted
submitted 2010-07-09T03:56:16-04:00
title Multiple heap-based buffer overflows in the rc4 (1) encryption (aka exsltCryptoRc4EncryptFunction) and (2) decryption (aka exsltCryptoRc4DecryptFunction) functions in crypto.c in libexslt in libxslt 1.1.8 through 1.1.24 allow context-dependent attackers to execute arbitrary code via an XML file containing a long string as "an argument in the XSL input."
version 24
redhat via4
advisories
bugzilla
id 455848
title CVE-2008-2935 libxslt: buffer overflow in libexslt RC4 encryption/decryption functions
oval
OR
  • AND
    • comment Red Hat Enterprise Linux 4 is installed
      oval oval:com.redhat.rhba:tst:20070304001
    • OR
      • AND
        • comment libxslt is earlier than 0:1.1.11-1.el4_7.2
          oval oval:com.redhat.rhsa:tst:20080649002
        • 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_7.2
          oval oval:com.redhat.rhsa:tst:20080649006
        • 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_7.2
          oval oval:com.redhat.rhsa:tst:20080649004
        • 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.rhba:tst:20070331001
    • OR
      • AND
        • comment libxslt is earlier than 0:1.1.17-2.el5_2.2
          oval oval:com.redhat.rhsa:tst:20080649009
        • 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_2.2
          oval oval:com.redhat.rhsa:tst:20080649013
        • 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_2.2
          oval oval:com.redhat.rhsa:tst:20080649011
        • comment libxslt-python is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20080287015
rhsa
id RHSA-2008:0649
released 2008-07-31
severity Moderate
title RHSA-2008:0649: libxslt security update (Moderate)
rpms
  • libxslt-0:1.1.11-1.el4_7.2
  • libxslt-devel-0:1.1.11-1.el4_7.2
  • libxslt-python-0:1.1.11-1.el4_7.2
  • libxslt-0:1.1.17-2.el5_2.2
  • libxslt-devel-0:1.1.17-2.el5_2.2
  • libxslt-python-0:1.1.17-2.el5_2.2
refmap via4
bid 30467
bugtraq
  • 20080731 [oCERT-2008-009] libxslt heap overflow
  • 20080801 libxslt heap overflow
  • 20081027 rPSA-2008-0306-1 libxslt
confirm http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0306
debian DSA-1624
fedora
  • FEDORA-2008-7029
  • FEDORA-2008-7062
gentoo GLSA-200808-06
mandriva MDVSA-2008:160
misc
sectrack 1020596
secunia
  • 31230
  • 31310
  • 31331
  • 31363
  • 31395
  • 31399
  • 32453
sreason 4078
ubuntu USN-633-1
vupen ADV-2008-2266
xf libxslt-multiple-crypto-bo(44141)
Last major update 07-03-2011 - 22:09
Published 01-08-2008 - 10:41
Last modified 11-10-2018 - 16:45
Back to Top