CVE-2010-1622 Improper Control of Generation of Code ('Code Injection') in Spring Framework

Medium 6.0 Published Updated

Remote attackers can execute arbitrary code by sending a crafted HTTP request to applications using the Spring Framework.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2010-1622?

CVE-2010-1622 is a medium-severity code injection vulnerability in Oracle Fusion Middleware, published on 21 Jun 2010. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-94

Which versions are affected by CVE-2010-1622?

4 open source packages ship an affected version, including org.springframework:spring. It affects 2 products.

PackageAffectedFixed in
org.springframework:spring MavenFrom 2.5.02.5.7
org.springframework:spring MavenFrom 2.5.02.5.7
org.springframework:spring MavenFrom 3.0.03.0.3
org.springframework:spring MavenFrom 3.0.03.0.3
Linux distribution packages (1)
jboss-wfk-1.0.0-uninstall Red Hat:jboss_web_framework_kit:1::el4All versions0:1.0.0-3.ep5.el4

Products include Oracle Fusion Middleware, Springsource Spring Framework.

How do I fix CVE-2010-1622?

Upgrade org.springframework:spring to a fixed version for your release line: 2.5.7 or 3.0.3.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2010-1622 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2010-1622 exists.

Public exploit code: 1 Exploit-DB entry and 4 proofs of concept on GitHub.

All Oracle Fusion Middleware vulnerabilities

Sources

Also known as GHSA-vpr3-f594-mg5g, RHSA-2011:0175.

Is CVE-2010-1622 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free