HIGH

CVE-2012-0838

Apache Struts Code injection due to conversion error

Description

Apache Struts 2 before 2.2.3.1 evaluates a string as an OGNL expression during the handling of a conversion error, which allows remote attackers to modify run-time data values, and consequently execute arbitrary code, via invalid input to a field.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.apache.struts » struts2-core
< 2.2.3.1
2.2.3.1
org.apache.struts.xwork » xwork-core
< 2.2.3.1
2.2.3.1

Blast radius

2affected artifacts
25affected versions
192dependent artifacts (est.)
2,348dependent versions

40% of the dependent artifacts (77) still pull an affected version in their latest release.

DepthDependent versions
Direct
664
2 hops
875
3 hops
553
4 hops
180
5 hops
76

Most used dependents

Computed from the dependency graph of build 20261205.2030 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webgithub.com
Webgithub.com
Webissues.apache.org
Webjvn.jp
Webjvndb.jvn.jp
Webstruts.apache.org