[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

250053

 
 

909

 
 

195940

 
 

282

Paid content will be excluded from the download.


Download | Alert*
OVAL

DSA-2842-1 libspring-java -- denial of service

ID: oval:org.secpod.oval:def:601195Date: (C)2014-01-21   (M)2022-10-10
Class: PATCHFamily: unix




Alvaro Munoz discovered a XML External Entity injection in the Spring Framework which can be used for conducting CSRF and DoS attacks on other sites. The Spring OXM wrapper did not expose any property for disabling entity resolution when using the JAXB unmarshaller. There are four possible source implementations passed to the unmarshaller: DOMSource StAXSource SAXSource StreamSource For a DOMSource, the XML has already been parsed by user code and that code is responsible for protecting against XXE. For a StAXSource, the XMLStreamReader has already been created by user code and that code is responsible for protecting against XXE. For SAXSource and StreamSource instances, Spring processed external entities by default thereby creating this vulnerability. The issue was resolved by disabling external entity processing by default and adding an option to enable it for those users that need to use this feature when processing XML from a trusted source. It was also identified that Spring MVC processed user provided XML with JAXB in combination with a StAX XMLInputFactory without disabling external entity resolution. External entity resolution has been disabled in this case.

Platform:
Debian 7.0
Product:
libspring-java
Reference:
DSA-2842-1
CVE-2013-4152
CVE    1
CVE-2013-4152
CPE    2
cpe:/o:debian:debian_linux:7.x
cpe:/a:springsource:libspring-java

© SecPod Technologies