Cross-Site Request Forgery in Spring Framework
Moderate severity
GitHub Reviewed
Published
May 13, 2022
to the GitHub Advisory Database
•
Updated Feb 27, 2024
Package
Affected versions
< 3.2.8
>= 4.0.0, < 4.0.2
Patched versions
3.2.8
4.0.2
Description
Published by the National Vulnerability Database
Apr 17, 2014
Published to the GitHub Advisory Database
May 13, 2022
Reviewed
Jul 7, 2022
Last updated
Feb 27, 2024
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.
References