Policy Bypass Affecting org.apache.cxf:cxf-rt-ws-security Open this link in a new tab package, versions [2.4.5,2.4.8) [2.5.1,2.5.4) [2.6.0,2.6.1)

  • Attack Complexity


  • User Interaction


Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id


  • published

    17 Jun 2014

  • disclosed

    5 Jan 2013

  • credit


How to fix?

Upgrade org.apache.cxf:cxf-rt-ws-security to version 2.4.8, 2.5.4, 2.6.1 or higher.


org.apache.cxf:cxf-rt-ws-security is an services framework that helps you build and develop services using frontend programming APIs, like JAX-WS and JAX-RS.

Affected versions of this package are vulnerable to Policy Bypass. It does not properly enforce child policies of a WS-SecurityPolicy 1.1 SupportingToken policy on the client side, which allows remote attackers to bypass the (1) AlgorithmSuite, (2) SignedParts, (3) SignedElements, (4) EncryptedParts, and (5) EncryptedElements policies.