XML External Entity (XXE) injection in Spring Framework

HIGH | AUGUST 22, 2013 | CVE-2013-7315

Description

It was identified that Spring MVC processed user provided XML with JAXB in combination with a StAX XMLInputFactory without disabling external entity resolution. External entity resolution has been disabled in this case. It was subsequently discovered that this fix was incomplete (CVE-2013-6429, CVE-2014-0054).

Affected Spring Products and Versions

Spring Framework:

  • 3.2.3 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
3.2.4OSS

No further mitigation steps are necessary.

Credit

These issues were identified by Alvaro Munoz of the HP Enterprise Security Team.

History

  • 2013-08-22: Initial vulnerability report published.
  • 2014-06-19: Created new vulnerability report for CVE-2013-7315 that was split off from the original vulnerability. Added information on additional vulnerability reports that identified that this fix was incomplete.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all