Skip to content

← Public intelligence

Maven package

org.apache.cxf:cxf

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

12 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. UnratedMavenPublished

    Improper Authentication in Apache CXF

    CVE-2012-2378 · GHSA-vjpc-vf4f-82qg

    Affected
    • Maven org.apache.cxf:cxf >= 2.4.5, < 2.4.8; >= 2.5.1, < 2.5.3; >= 2.6.0, < 2.6.1
    Fixed in
    2.5.32.4.82.6.1· Vendor fix available
    Issue
    Apache CXF 2.4.5 through 2.4.7, 2.5.1 through 2.5.3, and 2.6.x before 2.6.1, 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.

    Recommended action: Upgrade to 2.6.1, 2.5.3 or 2.4.8 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. UnratedMavenPublished

    XML Signature/Encryption Not Validated in Apache CXF

    CVE-2012-2379 · GHSA-2g99-c67p-56hm

    Affected
    • Maven org.apache.cxf:cxf >= 2.4.0, < 2.4.8; >= 2.5.0, < 2.5.4; >= 2.6.0, < 2.6.1
    Fixed in
    2.4.82.5.42.6.1· Vendor fix available
    Issue
    Apache CXF 2.4.x before 2.4.8, 2.5.x before 2.5.4, and 2.6.x before 2.6.1, when a Supporting Token specifies a child WS-SecurityPolicy 1.1 or 1.2 policy, does not properly ensure that an XML element is signed or encrypted, which has unspecified impact and attack vectors.

    Recommended action: Upgrade to 2.6.1, 2.5.4 or 2.4.8 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Critical, CVSS 9.8MavenPublished

    Improper Authentication in Apache CXF

    CVE-2012-0803 · GHSA-2p7x-jcr3-7p2c

    Affected
    • Maven org.apache.cxf:cxf >= 2.4.0, <= 2.4.5; >= 2.5.0, <= 2.5.1
    Fixed in
    2.5.22.4.6· Vendor fix available
    Issue
    The WS-SP UsernameToken policy in Apache CXF 2.4.5 and 2.5.1 allows remote attackers to bypass authentication by sending an empty UsernameToken as part of a SOAP request.

    Recommended action: Upgrade to 2.5.2 or 2.4.6 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. UnratedMavenPublished

    Improper Authentication in Apache CXF

    CVE-2012-5633 · GHSA-xf9f-32gh-h2w4

    Affected
    • Maven org.apache.cxf:cxf < 2.5.8; >= 2.6.0, < 2.6.5; >= 2.7.0, < 2.7.2
    Fixed in
    2.5.82.7.22.6.5· Vendor fix available
    Issue
    The URIMappingInterceptor in Apache CXF before 2.5.8, 2.6.x before 2.6.5, and 2.7.x before 2.7.2, when using the WSS4JInInterceptor, bypasses WS-Security processing, which allows remote attackers to obtain access to SOAP services via an HTTP GET request.

    Recommended action: Upgrade to 2.7.2, 2.6.5 or 2.5.8 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. UnratedMavenPublished

    Remote web-service operation execution in Apache CXF

    CVE-2012-3451 · GHSA-55j7-f5wf-43m4

    Affected
    • Maven org.apache.cxf:cxf < 2.4.9; >= 2.5.0, < 2.5.5; >= 2.6.0, < 2.6.2
    Fixed in
    2.5.52.4.92.6.2· Vendor fix available
    Issue
    Apache CXF before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 allows remote attackers to execute unintended web-service operations by sending a header with a SOAP Action String that is inconsistent with the message body.

    Recommended action: Upgrade to 2.6.2, 2.5.5 or 2.4.9 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. High, CVSS 7.5MavenPublished

    Infinite loop in Apache CFX

    CVE-2021-30468 · GHSA-g23v-p5jq-jvh4

    Affected
    • Maven org.apache.cxf:cxf >= 3.4.0, < 3.4.4; < 3.3.11
    Fixed in
    3.4.43.3.11· Vendor fix available
    Issue
    A vulnerability in the JsonMapObjectReaderWriter of Apache CXF allows an attacker to submit malformed JSON to a web service, which results in the thread getting stuck in an infinite loop, consuming CPU indefinitely. This issue affects Apache CXF versions prior to 3.4.4; Apache CXF versions prior to 3.3.11.

    Recommended action: Upgrade to 3.4.4 or 3.3.11 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. High, CVSS 7.5MavenPublished

    Authorization service vulnerable to DDos attacks in Apache CFX

    CVE-2021-22696 · GHSA-7q4h-pj78-j7vg

    Affected
    • Maven org.apache.cxf:cxf >= 3.4.0, < 3.4.3; < 3.3.10
    Fixed in
    3.3.103.4.3· Vendor fix available
    Issue
    CXF supports (via JwtRequestCodeFilter) passing OAuth 2 parameters via a JWT token as opposed to query parameters (see: The OAuth 2.0 Authorization Framework: JWT Secured Authorization Request (JAR)). Instead of sending a JWT token as a "request" parameter, the spec also supports specifying a URI from which to retrieve a JWT token from via the "requesturi" parameter. CXF was not validating the "requesturi" parameter (apart from ensuring it uses "https) and was making a REST request to the parameter in the request to retrieve a token. This means that CXF was vulnerable to DDos attacks on the authorization server, as specified in section 10.4.1 of the spec. This issue affects Apache CXF versions prior to 3.4.3; Apache CXF versions prior to 3.3.10.

    Recommended action: Upgrade to 3.4.3 or 3.3.10 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  8. Medium, CVSS 6.1MavenPublished

    Cross-site scripting in Apache CXF

    CVE-2020-13954 · GHSA-64x2-gq24-75pv

    Affected
    • Maven org.apache.cxf:cxf < 3.3.8; >= 3.4.0, < 3.4.1
    Fixed in
    3.4.13.3.8· Vendor fix available
    Issue
    By default, Apache CXF creates a /services page containing a listing of the available endpoint names and addresses. This webpage is vulnerable to a reflected Cross-Site Scripting (XSS) attack via the styleSheetPath, which allows a malicious actor to inject javascript into the web page. This vulnerability affects all versions of Apache CXF prior to 3.4.1 and 3.3.8. Please note that this is a separate issue to CVE-2019-17573.

    Recommended action: Upgrade to 3.4.1 or 3.3.8 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  9. Medium, CVSS 6.1MavenPublished

    Reflected Cross-Site Scripting in Apache CXF

    CVE-2019-17573 · GHSA-f93p-f762-vr53

    Affected
    • Maven org.apache.cxf:cxf < 3.2.12; >= 3.3.0, < 3.3.5
    Fixed in
    3.2.123.3.5· Vendor fix available
    Issue
    By default, Apache CXF creates a /services page containing a listing of the available endpoint names and addresses. This webpage is vulnerable to a reflected Cross-Site Scripting (XSS) attack, which allows a malicious actor to inject javascript into the web page. Please note that the attack exploits a feature which is not typically not present in modern browsers, who remove dot segments before sending the request. However, Mobile applications may be vulnerable.

    Recommended action: Upgrade to 3.3.5 or 3.2.12 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  10. High, CVSS 7.5MavenPublished

    Private key leak in Apache CXF

    CVE-2019-12423 · GHSA-42f2-f9vc-6365

    Affected
    • Maven org.apache.cxf:cxf < 3.2.12; >= 3.3.0, < 3.3.5
    Fixed in
    3.2.123.3.5· Vendor fix available
    Issue
    Apache CXF ships with a OpenId Connect JWK Keys service, which allows a client to obtain the public keys in JWK format, which can then be used to verify the signature of tokens issued by the service. Typically, the service obtains the public key from a local keystore (JKS/PKCS12) by specifing the path of the keystore and the alias of the keystore entry. This case is not vulnerable. However it is also possible to obtain the keys from a JWK keystore file, by setting the configuration parameter rs.security.keystore.type to jwk. For this case all keys are returned in this file &quot;as is&quot;, including all private key and secret key credentials. This is an obvious security risk if the user has configured the signature keystore file with private or secret key credentials. From CXF 3.3.5 and 3.2.12, it is mandatory to specify an alias corresponding to the id of the key in the JWK file, and only this key is returned. In addition, any private key information is omitted by default. oct…

    Recommended action: Upgrade to 3.3.5 or 3.2.12 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  11. Medium, CVSS 6.5MavenPublished

    Potential DOS attack due to unrestricted attachment count in messages

    CVE-2019-12406 · GHSA-58p8-9g59-q2hr

    Affected
    • Maven org.apache.cxf:cxf < 3.2.11; >= 3.3.0, < 3.3.4
    Fixed in
    3.2.113.3.4· Vendor fix available
    Issue
    Apache CXF before 3.3.4 and 3.2.11 does not restrict the number of message attachments present in a given message. This leaves open the possibility of a denial of service type attack, where a malicious user crafts a message containing a very large number of message attachments. From the 3.3.4 and 3.2.11 releases, a default limit of 50 message attachments is enforced. This is configurable via the message property "attachment-max-count".

    Recommended action: Upgrade to 3.3.4 or 3.2.11 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  12. Critical, CVSS 9.8MavenPublished

    Potential session hijack in Apache CXF

    CVE-2019-12419 · GHSA-cw6w-q88j-6mqf

    Affected
    • Maven org.apache.cxf:cxf < 3.2.11; >= 3.3.0, < 3.3.4
    Fixed in
    3.2.113.3.4· Vendor fix available
    Issue
    Apache CXF before 3.3.4 and 3.2.11 provides all of the components that are required to build a fully fledged OpenId Connect service. There is a vulnerability in the access token services, where it does not validate that the authenticated principal is equal to that of the supplied clientId parameter in the request. If a malicious client was able to somehow steal an authorization code issued to another client, then they could exploit this vulnerability to obtain an access token for the other client.

    Recommended action: Upgrade to 3.3.4 or 3.2.11 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →