CVE-2013-7315: CSRF

Published Jan 23, 2014
·
Updated

It was found that Spring MVC processed user-provided XML with JAXB, in combination with a StAX XMLInputFactory, without disabling external entity resolution. A remote attacker could use this flaw to conduct XML External Entity (XXE) attacks on web sites, and read files in the context of the user running the application server. This flaw affects Spring Framework 3.2.x before 3.2.4 and 4.0.0.M1 through 4.0.0.M2.

Other sources

The Spring MVC in Spring Framework before 3.2.4 and 4.0.0.M1 through 4.0.0.M2 does not disable external entity resolution for the StAX XMLInputFactory, which allows context-dependent attackers to read arbitrary files, cause a denial of service, and conduct CSRF attacks via crafted XML with JAXB, aka an XML External Entity (XXE) issue, and a different vulnerability than CVE-2013-4152. NOTE: this issue was SPLIT from CVE-2013-4152 due to different affected versions.

Affected Software

32 affected componentsFixes available
redhat/Spring Framework<3.2.4
3.2.4
maven/org.springframework:spring-oxm<=3.2.3.RELEASE
3.2.4.RELEASE
SpringSource Spring Framework=3.0.0
SpringSource Spring Framework=3.0.0-m1
SpringSource Spring Framework=3.0.0-m2
SpringSource Spring Framework=3.0.0-m3
SpringSource Spring Framework=3.0.0-m4
SpringSource Spring Framework=3.0.0-rc1
SpringSource Spring Framework=3.0.0-rc2
SpringSource Spring Framework=3.0.0-rc3
SpringSource Spring Framework=3.0.0.m1
SpringSource Spring Framework=3.0.0.m2
SpringSource Spring Framework=3.0.1
SpringSource Spring Framework=3.0.2
SpringSource Spring Framework=3.0.3
SpringSource Spring Framework=3.0.4
SpringSource Spring Framework=3.0.5
VMware Spring Framework<=3.2.3
VMware Spring Framework=3.0.6
VMware Spring Framework=3.0.7
VMware Spring Framework=3.1.0
VMware Spring Framework=3.1.1
VMware Spring Framework=3.1.2
VMware Spring Framework=3.1.3
VMware Spring Framework=3.1.4
VMware Spring Framework=3.2.0
VMware Spring Framework=3.2.1
VMware Spring Framework=3.2.2
VMware Spring Framework=4.0.0-milestone1
VMware Spring Framework=4.0.0-milestone2
IBM Engineering Requirements Management DOORS and DOORS Web Access<=9.7.2.1 - 9.7.2.11
IBM Engineering Requirements Management DOORS and DOORS Web Access<=9.6.1.1 - 9.6.1.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/Spring Framework to a version that resolves this vulnerability.

    Fixed in 3.2.4
  2. Upgrade

    Upgrade maven/org.springframework:spring-oxm to a version that resolves this vulnerability.

    Fixed in 3.2.4.RELEASE
  3. Upgrade

    Upgrade Spring Framework (Spring MVC) to a version that resolves this vulnerability.

    Fixed in 3.2.4
  4. Upgrade

    Upgrade Spring Framework (Spring MVC) to a version that resolves this vulnerability.

    Fixed in 4.0.0.M2
  5. Compensating control

    If upgrading is not immediately possible, configure Spring MVC’s XML processing to disable external entity resolution for the StAX XMLInputFactory used with JAXB when processing user-provided XML (to prevent XXE attacks).

Event History

Jan 23, 2014
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverity
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Data Sourced
via NVD·09:55 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 13, 2022
Advisory Published
via GitHub·01:02 AM
Jul 6, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2013-7315?

CVE-2013-7315 is a vulnerability in the Spring Framework that allows remote attackers to obtain sensitive information and conduct CSRF attacks.

2

What is the severity of CVE-2013-7315?

The severity of CVE-2013-7315 is medium with a CVSS score of 6.8.

3

How does CVE-2013-7315 affect the Spring Framework?

CVE-2013-7315 affects Spring MVC in Spring Framework versions before 3.2.4 and 4.0.0.M1 through 4.0.0.M2.

4

What is the impact of CVE-2013-7315?

The impact of CVE-2013-7315 includes reading arbitrary files, causing a denial of service, and conducting CSRF attacks.

5

How can I fix CVE-2013-7315?

To fix CVE-2013-7315, update your Spring Framework to version 3.2.4 or apply the recommended remedy from Red Hat.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203