ID CVE-2011-1425
Summary xslt.c in XML Security Library (aka xmlsec) before 1.2.17, as used in WebKit and other products, when XSLT is enabled, allows remote attackers to create or overwrite arbitrary files via vectors involving the libxslt output extension and a ds:Transform element during signature verification.
References
Vulnerable Configurations
  • cpe:2.3:a:aleksey:xml_security_library:1.2.16
    cpe:2.3:a:aleksey:xml_security_library:1.2.16
  • cpe:2.3:a:aleksey:xml_security_library:1.2.15
    cpe:2.3:a:aleksey:xml_security_library:1.2.15
  • cpe:2.3:a:aleksey:xml_security_library:1.2.14
    cpe:2.3:a:aleksey:xml_security_library:1.2.14
  • cpe:2.3:a:aleksey:xml_security_library:1.2.13
    cpe:2.3:a:aleksey:xml_security_library:1.2.13
  • cpe:2.3:a:aleksey:xml_security_library:1.2.11
    cpe:2.3:a:aleksey:xml_security_library:1.2.11
  • cpe:2.3:a:aleksey:xml_security_library:1.2.10
    cpe:2.3:a:aleksey:xml_security_library:1.2.10
  • cpe:2.3:a:aleksey:xml_security_library:1.2.9
    cpe:2.3:a:aleksey:xml_security_library:1.2.9
  • cpe:2.3:a:aleksey:xml_security_library:1.2.8
    cpe:2.3:a:aleksey:xml_security_library:1.2.8
  • cpe:2.3:a:aleksey:xml_security_library:1.2.7
    cpe:2.3:a:aleksey:xml_security_library:1.2.7
  • cpe:2.3:a:aleksey:xml_security_library:1.2.6
    cpe:2.3:a:aleksey:xml_security_library:1.2.6
  • cpe:2.3:a:aleksey:xml_security_library:1.2.5
    cpe:2.3:a:aleksey:xml_security_library:1.2.5
  • cpe:2.3:a:aleksey:xml_security_library:1.2.4
    cpe:2.3:a:aleksey:xml_security_library:1.2.4
  • cpe:2.3:a:aleksey:xml_security_library:1.2.3
    cpe:2.3:a:aleksey:xml_security_library:1.2.3
  • cpe:2.3:a:aleksey:xml_security_library:1.2.2
    cpe:2.3:a:aleksey:xml_security_library:1.2.2
  • cpe:2.3:a:aleksey:xml_security_library:1.2.1
    cpe:2.3:a:aleksey:xml_security_library:1.2.1
  • cpe:2.3:a:aleksey:xml_security_library:1.2.0
    cpe:2.3:a:aleksey:xml_security_library:1.2.0
  • cpe:2.3:a:aleksey:xml_security_library:1.1.2
    cpe:2.3:a:aleksey:xml_security_library:1.1.2
  • cpe:2.3:a:aleksey:xml_security_library:1.1.1
    cpe:2.3:a:aleksey:xml_security_library:1.1.1
  • cpe:2.3:a:aleksey:xml_security_library:1.1.0
    cpe:2.3:a:aleksey:xml_security_library:1.1.0
  • cpe:2.3:a:aleksey:xml_security_library:1.0.4
    cpe:2.3:a:aleksey:xml_security_library:1.0.4
  • cpe:2.3:a:aleksey:xml_security_library:1.0.3
    cpe:2.3:a:aleksey:xml_security_library:1.0.3
  • cpe:2.3:a:aleksey:xml_security_library:1.0.2
    cpe:2.3:a:aleksey:xml_security_library:1.0.2
  • cpe:2.3:a:aleksey:xml_security_library:1.0.1
    cpe:2.3:a:aleksey:xml_security_library:1.0.1
  • cpe:2.3:a:aleksey:xml_security_library:1.0.0
    cpe:2.3:a:aleksey:xml_security_library:1.0.0
  • cpe:2.3:a:aleksey:xml_security_library:1.0.0:rc1
    cpe:2.3:a:aleksey:xml_security_library:1.0.0:rc1
  • cpe:2.3:a:aleksey:xml_security_library:0.1.1
    cpe:2.3:a:aleksey:xml_security_library:0.1.1
  • cpe:2.3:a:aleksey:xml_security_library:0.1.0
    cpe:2.3:a:aleksey:xml_security_library:0.1.0
  • cpe:2.3:a:aleksey:xml_security_library:0.0.15
    cpe:2.3:a:aleksey:xml_security_library:0.0.15
  • cpe:2.3:a:aleksey:xml_security_library:0.0.14
    cpe:2.3:a:aleksey:xml_security_library:0.0.14
  • cpe:2.3:a:aleksey:xml_security_library:0.0.13
    cpe:2.3:a:aleksey:xml_security_library:0.0.13
  • cpe:2.3:a:aleksey:xml_security_library:0.0.12
    cpe:2.3:a:aleksey:xml_security_library:0.0.12
  • cpe:2.3:a:aleksey:xml_security_library:0.0.11
    cpe:2.3:a:aleksey:xml_security_library:0.0.11
  • cpe:2.3:a:aleksey:xml_security_library:0.0.10
    cpe:2.3:a:aleksey:xml_security_library:0.0.10
  • cpe:2.3:a:aleksey:xml_security_library:0.0.9
    cpe:2.3:a:aleksey:xml_security_library:0.0.9
  • cpe:2.3:a:aleksey:xml_security_library:0.0.8
    cpe:2.3:a:aleksey:xml_security_library:0.0.8
  • cpe:2.3:a:aleksey:xml_security_library:0.0.7
    cpe:2.3:a:aleksey:xml_security_library:0.0.7
  • cpe:2.3:a:aleksey:xml_security_library:0.0.6
    cpe:2.3:a:aleksey:xml_security_library:0.0.6
  • cpe:2.3:a:aleksey:xml_security_library:0.0.5
    cpe:2.3:a:aleksey:xml_security_library:0.0.5
  • cpe:2.3:a:aleksey:xml_security_library:0.0.4
    cpe:2.3:a:aleksey:xml_security_library:0.0.4
  • cpe:2.3:a:aleksey:xml_security_library:0.0.3
    cpe:2.3:a:aleksey:xml_security_library:0.0.3
  • cpe:2.3:a:aleksey:xml_security_library:0.0.2a
    cpe:2.3:a:aleksey:xml_security_library:0.0.2a
  • cpe:2.3:a:aleksey:xml_security_library:0.0.2
    cpe:2.3:a:aleksey:xml_security_library:0.0.2
  • cpe:2.3:a:aleksey:xml_security_library:0.0.1
    cpe:2.3:a:aleksey:xml_security_library:0.0.1
  • Apple WebKit
    cpe:2.3:a:apple:webkit
CVSS
Base: 5.1 (as of 04-04-2011 - 11:43)
Impact:
Exploitability:
CWE CWE-264
CAPEC
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Access
VectorComplexityAuthentication
NETWORK HIGH NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
exploit-db via4
description Apple Safari Webkit libxslt Arbitrary File Creation. CVE-2011-1425,CVE-2011-1774. Remote exploit for windows platform
id EDB-ID:17993
last seen 2016-02-02
modified 2011-10-18
published 2011-10-18
reporter metasploit
source https://www.exploit-db.com/download/17993/
title Apple Safari Webkit libxslt Arbitrary File Creation
nessus via4
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2011-0486.NASL
    description Updated xmlsec1 packages that fix one security issue and one bug are now available for Red Hat Enterprise Linux 4 and 5. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The XML Security Library is a C library based on libxml2 and OpenSSL that implements the XML Digital Signature and XML Encryption standards. A flaw was found in the way xmlsec1 handled XML files that contain an XSLT transformation specification. A specially crafted XML file could cause xmlsec1 to create or overwrite an arbitrary file while performing the verification of a file's digital signature. (CVE-2011-1425) Red Hat would like to thank Nicolas Gregoire and Aleksey Sanin for reporting this issue. This update also fixes the following bug : * xmlsec1 previously used an incorrect search path when searching for crypto plug-in libraries, possibly trying to access such libraries using a relative path. (BZ#558480, BZ#700467) Users of xmlsec1 should upgrade to these updated packages, which contain backported patches to correct these issues. After installing the update, all running applications that use the xmlsec1 library must be restarted for the update to take effect.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 53813
    published 2011-05-06
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53813
    title CentOS 4 / 5 : xmlsec1 (CESA-2011:0486)
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-2219.NASL
    description Nicolas Gregoire discovered that the XML Security Library xmlsec allowed remote attackers to create or overwrite arbitrary files through specially crafted XML files using the libxslt output extension and a ds:Transform element during signature verification.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 53477
    published 2011-04-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53477
    title Debian DSA-2219-1 : xmlsec1 - arbitrary file overwrite
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20110504_XMLSEC1_ON_SL4_X.NASL
    description A flaw was found in the way xmlsec1 handled XML files that contain an XSLT transformation specification. A specially crafted XML file could cause xmlsec1 to create or overwrite an arbitrary file while performing the verification of a file's digital signature. (CVE-2011-1425) After installing the update, all running applications that use the xmlsec1 library must be restarted for the update to take effect.
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 61032
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=61032
    title Scientific Linux Security Update : xmlsec1 on SL4.x, SL5.x i386/x86_64
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2011-0486.NASL
    description From Red Hat Security Advisory 2011:0486 : Updated xmlsec1 packages that fix one security issue and one bug are now available for Red Hat Enterprise Linux 4 and 5. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The XML Security Library is a C library based on libxml2 and OpenSSL that implements the XML Digital Signature and XML Encryption standards. A flaw was found in the way xmlsec1 handled XML files that contain an XSLT transformation specification. A specially crafted XML file could cause xmlsec1 to create or overwrite an arbitrary file while performing the verification of a file's digital signature. (CVE-2011-1425) Red Hat would like to thank Nicolas Gregoire and Aleksey Sanin for reporting this issue. This update also fixes the following bug : * xmlsec1 previously used an incorrect search path when searching for crypto plug-in libraries, possibly trying to access such libraries using a relative path. (BZ#558480, BZ#700467) Users of xmlsec1 should upgrade to these updated packages, which contain backported patches to correct these issues. After installing the update, all running applications that use the xmlsec1 library must be restarted for the update to take effect.
    last seen 2019-02-21
    modified 2018-07-18
    plugin id 68269
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68269
    title Oracle Linux 4 / 5 : xmlsec1 (ELSA-2011-0486)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2011-063.NASL
    description A vulnerability was discovered and corrected in xmlsec1 : xslt.c in XML Security Library (aka xmlsec) before 1.2.17, as used in WebKit and other products, when XSLT is enabled, allows remote attackers to create or overwrite arbitrary files via vectors involving the libxslt output extension and a ds:Transform element during signature verification (CVE-2011-1425). Packages for 2009.0 are provided as of the Extended Maintenance Program. Please visit this link to learn more: http://store.mandriva.com/product_info.php?cPath=149 products_id=490 The updated packages have been patched to correct this issue.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 53289
    published 2011-04-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53289
    title Mandriva Linux Security Advisory : xmlsec1 (MDVSA-2011:063)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2011-0486.NASL
    description Updated xmlsec1 packages that fix one security issue and one bug are now available for Red Hat Enterprise Linux 4 and 5. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The XML Security Library is a C library based on libxml2 and OpenSSL that implements the XML Digital Signature and XML Encryption standards. A flaw was found in the way xmlsec1 handled XML files that contain an XSLT transformation specification. A specially crafted XML file could cause xmlsec1 to create or overwrite an arbitrary file while performing the verification of a file's digital signature. (CVE-2011-1425) Red Hat would like to thank Nicolas Gregoire and Aleksey Sanin for reporting this issue. This update also fixes the following bug : * xmlsec1 previously used an incorrect search path when searching for crypto plug-in libraries, possibly trying to access such libraries using a relative path. (BZ#558480, BZ#700467) Users of xmlsec1 should upgrade to these updated packages, which contain backported patches to correct these issues. After installing the update, all running applications that use the xmlsec1 library must be restarted for the update to take effect.
    last seen 2019-02-21
    modified 2018-11-26
    plugin id 53646
    published 2011-05-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=53646
    title RHEL 4 / 5 : xmlsec1 (RHSA-2011:0486)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201412-09.NASL
    description The remote host is affected by the vulnerability described in GLSA-201412-09 (Multiple packages, Multiple vulnerabilities fixed in 2011) Vulnerabilities have been discovered in the packages listed below. Please review the CVE identifiers in the Reference section for details. FMOD Studio PEAR Mail LVM2 GnuCash xine-lib Last.fm Scrobbler WebKitGTK+ shadow tool suite PEAR unixODBC Resource Agents mrouted rsync XML Security Library xrdb Vino OProfile syslog-ng sFlow Toolkit GNOME Display Manager libsoup CA Certificates Gitolite QtCreator Racer Impact : A context-dependent attacker may be able to gain escalated privileges, execute arbitrary code, cause Denial of Service, obtain sensitive information, or otherwise bypass security restrictions. Workaround : There are no known workarounds at this time.
    last seen 2019-02-21
    modified 2017-04-15
    plugin id 79962
    published 2014-12-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79962
    title GLSA-201412-09 : Multiple packages, Multiple vulnerabilities fixed in 2011
redhat via4
advisories
bugzilla
id 700467
title xmlsec1: bogus lt_dlopen() search path [rhel-5]
oval
OR
  • AND
    • comment Red Hat Enterprise Linux 4 is installed
      oval oval:com.redhat.rhsa:tst:20060016001
    • OR
      • AND
        • comment xmlsec1 is earlier than 0:1.2.6-3.2
          oval oval:com.redhat.rhsa:tst:20110486002
        • comment xmlsec1 is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20091428003
      • AND
        • comment xmlsec1-devel is earlier than 0:1.2.6-3.2
          oval oval:com.redhat.rhsa:tst:20110486004
        • comment xmlsec1-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20091428009
      • AND
        • comment xmlsec1-openssl is earlier than 0:1.2.6-3.2
          oval oval:com.redhat.rhsa:tst:20110486006
        • comment xmlsec1-openssl is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20091428005
      • AND
        • comment xmlsec1-openssl-devel is earlier than 0:1.2.6-3.2
          oval oval:com.redhat.rhsa:tst:20110486008
        • comment xmlsec1-openssl-devel is signed with Red Hat master key
          oval oval:com.redhat.rhsa:tst:20091428007
  • AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhsa:tst:20070055001
    • OR
      • AND
        • comment xmlsec1 is earlier than 0:1.2.9-8.1.2
          oval oval:com.redhat.rhsa:tst:20110486011
        • comment xmlsec1 is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20091428012
      • AND
        • comment xmlsec1-devel is earlier than 0:1.2.9-8.1.2
          oval oval:com.redhat.rhsa:tst:20110486021
        • comment xmlsec1-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20091428022
      • AND
        • comment xmlsec1-gnutls is earlier than 0:1.2.9-8.1.2
          oval oval:com.redhat.rhsa:tst:20110486019
        • comment xmlsec1-gnutls is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20091428024
      • AND
        • comment xmlsec1-gnutls-devel is earlier than 0:1.2.9-8.1.2
          oval oval:com.redhat.rhsa:tst:20110486025
        • comment xmlsec1-gnutls-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20091428020
      • AND
        • comment xmlsec1-nss is earlier than 0:1.2.9-8.1.2
          oval oval:com.redhat.rhsa:tst:20110486013
        • comment xmlsec1-nss is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20091428016
      • AND
        • comment xmlsec1-nss-devel is earlier than 0:1.2.9-8.1.2
          oval oval:com.redhat.rhsa:tst:20110486015
        • comment xmlsec1-nss-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20091428026
      • AND
        • comment xmlsec1-openssl is earlier than 0:1.2.9-8.1.2
          oval oval:com.redhat.rhsa:tst:20110486017
        • comment xmlsec1-openssl is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20091428014
      • AND
        • comment xmlsec1-openssl-devel is earlier than 0:1.2.9-8.1.2
          oval oval:com.redhat.rhsa:tst:20110486023
        • comment xmlsec1-openssl-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhsa:tst:20091428018
rhsa
id RHSA-2011:0486
released 2011-05-04
severity Moderate
title RHSA-2011:0486: xmlsec1 security and bug fix update (Moderate)
rpms
  • xmlsec1-0:1.2.6-3.2
  • xmlsec1-devel-0:1.2.6-3.2
  • xmlsec1-openssl-0:1.2.6-3.2
  • xmlsec1-openssl-devel-0:1.2.6-3.2
  • xmlsec1-0:1.2.9-8.1.2
  • xmlsec1-devel-0:1.2.9-8.1.2
  • xmlsec1-gnutls-0:1.2.9-8.1.2
  • xmlsec1-gnutls-devel-0:1.2.9-8.1.2
  • xmlsec1-nss-0:1.2.9-8.1.2
  • xmlsec1-nss-devel-0:1.2.9-8.1.2
  • xmlsec1-openssl-0:1.2.9-8.1.2
  • xmlsec1-openssl-devel-0:1.2.9-8.1.2
refmap via4
bid 47135
confirm
debian DSA-2219
mandriva MDVSA-2011:063
mlist [xmlsec] 20110331 New xmlsec 1.2.17 release
sectrack 1025284
secunia
  • 43920
  • 44167
  • 44423
vupen
  • ADV-2011-0855
  • ADV-2011-0858
  • ADV-2011-1010
  • ADV-2011-1172
xf xmlsecurity-xmlfiles-sec-bypass(66506)
Last major update 06-09-2011 - 23:15
Published 04-04-2011 - 08:27
Last modified 16-08-2017 - 21:34
Back to Top