CVE-2017-5653: Medium severity Apache CXF vulnerability

Published Apr 18, 2017
·
Updated

Apache CXF supports the ability to use XML Signature and encryption to secure JAX-RS services. Two different implementations are available, a DOM based approach that works on a model of the message in memory before applying security, and a streaming based implementation that is a useful alternative for larger messages.

There is a bug in validating messages for JAX-RS clients using the streaming approach, where it will not enforce that the message is signed and/or encrypted. An exception is thrown in these cases but not properly propagated to the client code. The bug does not apply for the DOM clients and it does not apply for the streaming server side case.

External References:

http://cxf.apache.org/security-advisories.data/CVE-2017-5653.txt.asc

Upstream patch:

https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=commit;h=fade9b81dabe27f864ca38e7b40f28fb44d6f165

Other sources

JAX-RS XML Security streaming clients in Apache CXF before 3.1.11 and 3.0.13 do not validate that the service response was signed or encrypted, which allows remote attackers to spoof servers.

Affected Software

6 affected componentsFixes available
maven/org.apache.cxf:cxf-core<=3.0.12
3.0.13
maven/org.apache.cxf:cxf-core>=3.1.0<=3.1.10
3.1.11
redhat/cxf<3.1.11
3.1.11
redhat/cxf<3.0.13
3.0.13
Apache CXF>=3.0.0<=3.0.13
Apache CXF>=3.1.0<=3.1.11

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.cxf:cxf-core to a version that resolves this vulnerability.

    Fixed in 3.0.13
  2. Upgrade

    Upgrade maven/org.apache.cxf:cxf-core to a version that resolves this vulnerability.

    Fixed in 3.1.11
  3. Upgrade

    Upgrade redhat/cxf to a version that resolves this vulnerability.

    Fixed in 3.1.11
  4. Upgrade

    Upgrade redhat/cxf to a version that resolves this vulnerability.

    Fixed in 3.0.13
  5. Upgrade

    Upgrade Apache CXF JAX-RS XML Security (streaming clients) to a version that resolves this vulnerability.

    Fixed in 3.1.11
  6. Upgrade

    Upgrade Apache CXF JAX-RS XML Security (streaming clients) to a version that resolves this vulnerability.

    Fixed in 3.0.13

Event History

Apr 18, 2017
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
DescriptionWeakness
Data Sourced
via NVD·04:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 25, 2017
Data Sourced
via Red Hat·01:40 PM
DescriptionSeverityAffected Software
May 13, 2022
Advisory Published
01:09 AM

Frequently Asked Questions

1

What is the severity of CVE-2017-5653?

CVE-2017-5653 is classified as a moderate severity vulnerability.

2

How do I fix CVE-2017-5653?

To fix CVE-2017-5653, upgrade Apache CXF to version 3.1.11 or 3.0.13.

3

What versions of Apache CXF are affected by CVE-2017-5653?

CVE-2017-5653 affects Apache CXF versions between 3.0.0 and 3.0.13 as well as between 3.1.0 and 3.1.11.

4

What types of services does CVE-2017-5653 impact?

CVE-2017-5653 impacts JAX-RS services that utilize XML Signature and encryption in Apache CXF.

5

Is CVE-2017-5653 specific to any particular software environment?

CVE-2017-5653 is relevant primarily to environments running Apache CXF for web services.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203