Skip to content
OpenAdvisories
Medium Public exploit CVE-2010-1622 EUVD-2022-5399GHSA-vpr3-f594-mg5g

Improper Control of Generation of Code ('Code Injection') in Spring Framework

Published Jun 21, 2010 · Updated Aug 7, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Jboss Web Framework Kit 1 jboss-wfk-1.0.0-uninstall 1.0.0-3.ep5.el4 RHSA-2011:0175

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 4 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework:spring >= 2.5.0, < 2.5.7 2.5.7 GHSA-vpr3-f594-mg5g
Maven org.springframework:spring >= 3.0.0, < 3.0.3 3.0.3 GHSA-vpr3-f594-mg5g

Advisories 1

References