Debian: DSA-2842-1: libspring-java security update

    Date13 Jan 2014
    CategoryDebian
    68
    Posted ByLinuxSecurity Advisories
    Alvaro Munoz discovered a XML External Entity (XXE) injection in the Spring Framework which can be used for conducting CSRF and DoS attacks on other sites.
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    
    - -------------------------------------------------------------------------
    Debian Security Advisory DSA-2842-1                   This email address is being protected from spambots. You need JavaScript enabled to view it.
    http://www.debian.org/security/                           Markus Koschany
    January 13, 2014                       http://www.debian.org/security/faq
    - -------------------------------------------------------------------------
    
    Package        : libspring-java
    Vulnerability  : denial of service
    Problem type   : remote
    Debian-specific: no
    CVE ID         : CVE-2013-4152
    Debian Bug     : 720902
    
    Alvaro Munoz discovered a XML External Entity (XXE) 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.
    
    For the stable distribution (wheezy), this problem has been fixed in
    version 3.0.6.RELEASE-6+deb7u1.
    
    For the unstable distribution (sid), this problem has been fixed in
    version 3.0.6.RELEASE-10.
    
    We recommend that you upgrade your libspring-java packages.
    
    Further information about Debian Security Advisories, how to apply
    these updates to your system and frequently asked questions can be
    found at: http://www.debian.org/security/
    
    Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.
    
    You are not authorised to post comments.

    Comments powered by CComment

    LinuxSecurity Poll

    What do you think of the articles on LinuxSecurity?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 3 answer(s).
    /main-polls/24-what-do-you-think-of-the-quality-of-the-articles-on-linuxsecurity?task=poll.vote&format=json
    24
    radio
    [{"id":"87","title":"Excellent, don't change a thing!","votes":"40","type":"x","order":"1","pct":48.78,"resources":[]},{"id":"88","title":"Should be more technical","votes":"13","type":"x","order":"2","pct":15.85,"resources":[]},{"id":"89","title":"Should include more HOWTOs","votes":"29","type":"x","order":"3","pct":35.37,"resources":[]}]["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"]["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"]350
    bottom200

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.