org.apache.cxf:cxf-rt-ws-security@3.0.0-milestone1

  • latest version

    4.2.4

  • latest non vulnerable version

  • first published

    18 years ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.apache.cxf:cxf-rt-ws-security package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    Improper Authentication

    org.apache.cxf:cxf-rt-ws-security is a 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 Improper Authentication due to the STSTokenValidator token-validation cache in rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/STSTokenValidator.java. An attacker can authenticate as another user by supplying a crafted security token, such as a UsernameToken or self-signed SAML assertion, whose 32-bit hash collides with a previously validated token. When the validator treats that cache hit as proof of prior validation, it skips the normal password check, signature trust verification, and STS call. This lets the attacker obtain accepted identity claims or STS-issued tokens for the victim’s identity, breaking authentication for users who rely on CXF’s STS-backed token validation.

    How to fix Improper Authentication?

    Upgrade org.apache.cxf:cxf-rt-ws-security to version 3.6.13, 4.1.9, 4.2.4 or higher.

    [,3.6.13)[4.0.0,4.1.9)[4.2.0,4.2.4)
    • H
    Session Fixation

    org.apache.cxf:cxf-rt-ws-security is an open source services framework.

    Apache CXF's STSClient before 3.1.11 and 3.0.13 uses a flawed way of caching tokens that are associated with delegation tokens, which means that an attacker could craft a token which would return an identifer corresponding to a cached token for another user.

    [,3.0.14)[3.1.0,3.1.11)
    • M
    Information Exposure

    org.apache.cxf:cxf-rt-ws-security is a 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 Information Exposure. The SymmetricBinding when EncryptBeforeSigning is enabled and the UsernameToken policy is set to an EncryptedSupportingToken, transmits the UsernameToken in cleartext, which allows remote attackers to obtain sensitive information by sniffing the network.

    How to fix Information Exposure?

    Upgrade org.apache.cxf:cxf-rt-ws-security to version 2.6.13, 2.7.10, 3.0.0-milestone2 or higher.

    [2.0.6,2.6.13)[2.7.0,2.7.10)[3.0.0-milestone1,3.0.0-milestone2)