SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

libxslt heap overflow


Arrow  SecurityAlert : 4078
Arrow  CVE : CVE-2008-2935
Arrow  CWE : CWE-119
Arrow  SecurityRisk : High  Security Risk High  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Victim interaction required : No
Arrow  Exploit Available : No
Arrow  Credit : Andrea Barisani
Arrow  Published : 02.08.2008

Arrow  Affected Software : XMLSoft, Libxslt, 1.1.10
XMLSoft, Libxslt, 1.1.11
XMLSoft, Libxslt, 1.1.12
XMLSoft, Libxslt, 1.1.13
XMLSoft, Libxslt, 1.1.14
XMLSoft, Libxslt, 1.1.15
XMLSoft, Libxslt, 1.1.16
XMLSoft, Libxslt, 1.1.17
XMLSoft, Libxslt, 1.1.18
XMLSoft, Libxslt, 1.1.19
XMLSoft, Libxslt, 1.1.20
XMLSoft, Libxslt, 1.1.21
XMLSoft, Libxslt, 1.1.22
XMLSoft, Libxslt, 1.1.23
XMLSoft, Libxslt, 1.1.24
XMLSoft, Libxslt, 1.1.8
XMLSoft, Libxslt, 1.1.9



Arrow  Advisory Content :  

2008/07/31 #2008-009 libxslt heap overflow

Description:

The libexslt library bundled with libxslt is affected by a heap-based
buffer
overflow which can lead to arbitrary code execution.

The vulnerability is present in the rc4 encryption/decryption functions.
An
arbitrary length string, passed as an argument in the XSL input, is
incorrectly copied over a padding variable which is previously allocated
with
a fixed size of 128bit (RC4_KEY_LENGTH).

Aside from the heap overflow other bugs affect the code, the length of the
plaintext string argument is used for computing the key length rather than
the actual key and the zero-padding of the key is incorrectly computed.

A simple XML file with excessively long input can be crafted for
triggering
the heap overflow.

The following patch fixes the issue:
http://www.ocert.org/patches/exslt_crypt.patch

Affected version:

libxslt >= 1.1.8, <= 1.1.24

Fixed version:

libxslt, N/A

Credit: vulnerability report and PoC code received from Chris Evans
<scarybeasts [at] gmail [dot] com>, Google Security Team.

CVE: CVE-2008-2935

Timeline:
2008-07-03: vulnerability report received
2008-07-08: contacted libxslt maintainer
2008-07-10: maintainer provides patch
2008-07-17: patch fixes finalized per reporter feedback
2008-07-18: contacted affected vendors
2008-07-31: advisory release

References:
http://www.scary.beasts.org/security/CESA-2008-003.html

Links:
http://xmlsoft.org/XSLT

Permalink:
http://www.ocert.org/advisories/ocert-2008-009.html

--
Andrea Barisani | Founder & Project Coordinator
oCERT | Open Source Computer Emergency Response Team

<lcars (at) ocert (dot) org [email concealed]>
http://www.ocert.org
0x864C9B9E 0A76 074A 02CD E989 CE7F AC3F DA47 578E 864C 9B9E
"Pluralitas non est ponenda sine necessitate"



Arrow  References :

http://www.ocert.org/patches/exslt_crypt.patch
http://www.ocert.org/advisories/ocert-2008-009.html
http://www.securityfocus.com/bid/30467
http://www.securityfocus.com/archive/1/archive/1/494976/100/0/threaded
http://www.scary.beasts.org/security/CESA-2008-003.html




Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

» PHP 5.3.0 5.2.11
   posix_mkfifo()
   open_basedir bypass

Copyright © SecurityReason.com. All Rights Reserved.