CVE-2014-0225 XML External Entity (XXE) injection when using Spring MVC
Description
When processing user provided XML documents, the Spring Framework did not disable by default the resolution of URI references in a DTD declaration. This enabled an XXE attack.
Affected Spring Products and Versions
- Spring MVC 3.0.0 to 3.2.8
- Spring MVC 4.0.0 to 4.0.4
- Earlier unsupported versions may be affected
Mitigation
Users of affected versions should apply the following mitigation:
- Users of 3.x should upgrade to 3.2.9 or later
- Users of 4.x should upgrade to 4.0.5 or later
Credit
This issue was discovered and reported responsibly to the Pivotal security team by Nebula(XIAOBAISHAN,CHIBI,HUBEI.CN) HelloWorld security team, DBappsecurity.com security team. Additional…