Description
The W3C XML Encryption Standard, as used in the JBoss Web Services (JBossWS) component in JBoss Enterprise Portal Platform before 5.2.2 and other products, when using block ciphers in cipher-block chaining (CBC) mode, allows remote attackers to obtain plaintext data via a chosen-ciphertext attack on SOAP responses, aka "character encoding pattern attack."
Mitigation
We recommend upgrading to a version of this component that supports Galois/Counter Mode (GCM) and configuring your security policy to use GCM.
>
For example, to use the AES-128 Algorithm with GCM mode, one would use a policy like:
```
<sp:AlgorithmSuite><wsp:Policy><sp-cxf:Basic128GCMxmlns:sp-cxf="http://cxf.apache.org/custom/security-policy"/></wsp:Policy></sp:AlgorithmSuite
```
Reference : [http://coheigea.blogspot.com/2012/04/note-on-cve-2011-1096.html](http://coheigea.blogspot.com/2012/04/note-on-cve-2011-1096.html)