CVE-2014-0054 Incomplete fix for CVE-2013-7315 / CVE-2013-6429 (XXE)
Severity
Important
Vendor
Spring by Pivotal
Versions Affected
- Spring MVC 3.0.0 to 3.2.7
- Spring MVC 4.0.0 to 4.0.1
- Earlier unsupported versions may be affected
Description
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.
Mitigation
Users of affected versions should apply the following mitigation:
- Users of 3.x should upgrade to 3.2.8 or later
- Users of 4.x should upgrade to 4.0.2 or later
Credit
This issue was reported to the Spring Framework developers by Spase Markovski.
References
- https://jira.springsource.org/browse/SPR-11376
- https://github.com/spring-projects/spring-framework/commit/edba32b3093703d5e9ed42b5b8ec23ecc1998398#diff-1f3f1d5cdab9ac92d1ca5ec7def8f131
- https://github.com/spring-projects/spring-framework/commit/fb0683c066e74e9667d6cd8c5fa01f674c68c3be#diff-1f3f1d5cdab9ac92d1ca5ec7def8f131
History
2014-Mar-11: Initial vulnerability report published.
2014-Jun-19: Update to reflect split of CVE-2013-4152 into CVE-2013-4152 and CVE-2013-7315.
2014-Aug-19: Correct affected versions to exclude Spring MVC 3.2.8 and include a reference to the 3.2.x commit.