-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2014.0044
                      libspring-java security update
                              14 January 2014

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           libspring-java
Publisher:         Debian
Operating System:  Debian GNU/Linux 7
                   Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Denial of Service          -- Remote/Unauthenticated      
                   Cross-site Request Forgery -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2013-4152  

Original Bulletin: 
   http://www.debian.org/security/2014/dsa-2842

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than Debian. It is recommended that administrators 
         running libspring-java check for an updated version of the software
         for their operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - -------------------------------------------------------------------------
Debian Security Advisory DSA-2842-1                   security@debian.org
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: debian-security-announce@lists.debian.org
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlLUDqMACgkQXm3vHE4uylqISQCfXnqq9kcJ+GXQLanlPAX1zDex
GK0An0Re0aPbcNQPadcnJvqE8FY39Mgy
=I7B1
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBUtR77xLndAQH1ShLAQIrBg/8DovtEOuQjkKCcK9OcgzoLxYVtHkd6JV0
QKCdH+RRO1SuykCHhN1qQUKtJAq/TYAeqC3zQUMw9dywXJ9KtP1kff48Y3Ub8GQX
A0tg9rugFsLvY4lZ0Nh59NCDpFUvT9Z0Bj3Pd2RZRCTp3HOR8Lxuwqax0LmUkpIF
CQ8c6AKWmYM9qR34BNAh6FOmNUSilHjsVr8wQmVMMGtNbvfckWagPdrHYLDswP4j
VZc9WH9kxZOZ5K6u5lSBFyEFdr6qSTlbs8Q3reoWCWbdAELhodObuuYtUBeRoYTT
48Wqtl4vthsKvFHLdWrcgc2rUYD+SpsHTqXhMi6zT5ZqKkgU3VNyq7+Gzs+/66QA
ZgUkL1DoECdwuBufs6EVSnmCQv/1NY+hdQmtPa5jZgdNEGQiIsL/EdBlXQADdmxa
uKmBpIFuFewa8k4Xc7LikynvSdMybZ14JSiC2IUPbFz3RcBHTNsRf2pQc1fiurxz
DHAQHx/DyH2O14y6v0uDn1iSCgp3fSD/RpfYpPwPH54oNuILeTkRRZYDxxL2vMTM
/UmsAfAj4EEQJoleHG4ACuHqoWfnE0+DR27vZNYo7psTmwapt41qHoNMRcj7v+Fx
KBsDvvisiCiDeghw/cBW3eK7C2jnc84e6VwP57KXBE8GNH2kiPjBjJII+r5sUoog
qd8CUVyCxQc=
=6EIq
-----END PGP SIGNATURE-----