CVE-2014-0054: CSRF

Published Mar 12, 2014
·
Updated

Pivotal Spring Framework could allow a remote attacker to obtain sensitive information, caused by an XML External Entity Injection (XXE) error in Jaxb2RootElementHttpMessageConverter when processing XML data. By sending specially-crafted XML data, an attacker could exploit this vulnerability to read arbitrary files and obtain sensitive information.

Other sources

The fixes for the CVE-2013-7315 (bug 1061509) and CVE-2013-6429 (bug 1053290) XML External Entity (XXE) issues were found to be incomplete. From the original advisory:

"Spring MVC's Jaxb2RootElementHttpMessageConverter also processed user provided XML and neither disabled XML external entities nor provided an option to disable them. Jaxb2RootElementHttpMessageConverter has been modified to provide an option to control the processing of XML external entities and that processing is now disabled by default."

This issue affects versions 3.0.0 to 3.2.8, and versions 4.0.0 to 4.0.1.

External References:

http://www.gopivotal.com/security/cve-2014-0054

The Jaxb2RootElementHttpMessageConverter in Spring MVC in Spring Framework before 3.2.8 and 4.0.0 before 4.0.2 does not disable external entity resolution, which allows remote attackers to read arbitrary files, cause a denial of service, and conduct CSRF attacks via crafted XML, aka an XML External Entity (XXE) issue. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-4152, CVE-2013-7315, and CVE-2013-6429.

GitHub

Affected Software

39 affected componentsFixes available
redhat/spring mvc<3.2.8
3.2.8
redhat/spring mvc<4.0.2
4.0.2
maven/org.springframework:spring-webmvc>=4.0.0<4.0.2
4.0.2
maven/org.springframework:spring-webmvc<3.2.8
3.2.8
IBM Security Directory Suite VA<=8.0.1-8.0.1.19
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
SpringSource Spring Framework=3.2.5
SpringSource Spring Framework=3.2.6
SpringSource Spring Framework=4.0.0-rc1
SpringSource Spring Framework=4.0.1
VMware Spring Framework<=3.2.7
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=3.2.3
VMware Spring Framework=3.2.4
VMware Spring Framework=4.0.0-milestone1
VMware Spring Framework=4.0.0-milestone2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/spring mvc to a version that resolves this vulnerability.

    Fixed in 3.2.8
  2. Upgrade

    Upgrade redhat/spring mvc to a version that resolves this vulnerability.

    Fixed in 4.0.2
  3. Upgrade

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

    Fixed in 4.0.2
  4. Upgrade

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

    Fixed in 3.2.8
  5. Upgrade

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

    Fixed in 3.2.8
  6. Upgrade

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

    Fixed in 4.0.2
  7. Configuration

    Ensure Jaxb2RootElementHttpMessageConverter has the modified behavior that controls XML external entity processing and has it disabled by default.

    Jaxb2RootElementHttpMessageConverter (Spring MVC) processing of XML external entities (XXE) = disabled by default

Event History

Apr 17, 2014
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
via NVD·02:55 PM
DescriptionSeverityWeaknessAffected Software
May 13, 2022
Advisory Published
via GitHub·01:02 AM

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-2014-0054?

CVE-2014-0054 is a vulnerability in the Pivotal Spring Framework that could allow a remote attacker to obtain sensitive information.

2

How does CVE-2014-0054 work?

CVE-2014-0054 is caused by the Jaxb2RootElementHttpMessageConverter in Spring MVC not disabling external entity resolution, allowing remote attackers to read arbitrary files, cause denial of service, and conduct CSRF attacks via crafted XML.

3

What is the severity of CVE-2014-0054?

The severity of CVE-2014-0054 is medium with a CVSS score of 6.8.

4

Which software versions are affected by CVE-2014-0054?

The Spring MVC versions 3.2.8 and 4.0.0 before 4.0.2, and IBM Security Directory Suite VA 8.0.1-8.0.1.19 are affected by CVE-2014-0054.

5

How can I fix CVE-2014-0054?

To fix CVE-2014-0054, upgrade the Spring MVC to version 3.2.8 or 4.0.2, or apply the appropriate remedy provided by your software vendor.

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