Skip to content
Noroxi
CVE-2018-8039· NVD / CVE Program· CNA apache

It is possible to configure Apache CXF to use the com.sun.net.ssl implementation via 'System.setProperty("java.protocol.handler.pkgs", "com.

It is possible to configure Apache CXF to use the com.sun.net.ssl implementation via 'System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");'. When this system property is set, CXF uses some reflection to try to make the HostnameVerifier work with the old com.sun.net.ssl.HostnameVerifier interface. However, the default HostnameVerifier implementation in CXF does not implement the method in this interface, and an exception is thrown. However, in Apache CXF prior to 3.2.5 and 3.1.16 the exception is caught in the reflection code and not properly propagated. What this means is that if you are using the com.sun.net.ssl stack with CXF, an error with TLS hostname verification will not be thrown, leaving a CXF client subject to man-in-the-middle attacks.

HighCVSS 8.1 · v3.0—Proof of concept Fix available
Published
Jul 2, 2018
Updated
Jun 16, 2026
EPSS
8.5% · 95th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

35

Monitor

Low priority for now.

CVSS
32 / 40 · 8.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
3 / 30 · 8.5%

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

VendorProduct
apachecxf
redhatjboss enterprise application platform

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apache cxfbefore 3.1.16
  • apache cxf3.2.0 and later · before 3.2.5
  • redhat jboss enterprise application platform7.1.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.

  • Apache Software Foundation Apache CXF

    • prior to 3.1.16, 3.2.x prior to 3.2.5affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Mavenorg.apache.cxf:apache-cxffrom 3.2.0 · before 3.2.53.2.5
Mavenorg.apache.cxf:apache-cxfbefore 3.1.163.1.16
Mavenorg.apache.cxf:cxf-rt-transports-httpfrom 3.2.0 · before 3.2.53.2.5
Mavenorg.apache.cxf:cxf-rt-transports-httpbefore 3.1.163.1.16
Red Hat:enterprise_linux:7::hypervisorrhvm-appliancebefore 2:4.2-20180828.0.el72:4.2-20180828.0.el7
Red Hat:jboss_enterprise_application_platform:7::el6eap7-activemq-artemisbefore 0:1.5.5.013-1.redhat_1.1.ep7.el60:1.5.5.013-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-activemq-artemis-clibefore 0:1.5.5.013-1.redhat_1.1.ep7.el60:1.5.5.013-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-activemq-artemis-commonsbefore 0:1.5.5.013-1.redhat_1.1.ep7.el60:1.5.5.013-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-activemq-artemis-core-clientbefore 0:1.5.5.013-1.redhat_1.1.ep7.el60:1.5.5.013-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-activemq-artemis-dtobefore 0:1.5.5.013-1.redhat_1.1.ep7.el60:1.5.5.013-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-activemq-artemis-hornetq-protocolbefore 0:1.5.5.013-1.redhat_1.1.ep7.el60:1.5.5.013-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-activemq-artemis-hqclient-protocolbefore 0:1.5.5.013-1.redhat_1.1.ep7.el60:1.5.5.013-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-activemq-artemis-jdbc-storebefore 0:1.5.5.013-1.redhat_1.1.ep7.el60:1.5.5.013-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-activemq-artemis-jms-clientbefore 0:1.5.5.013-1.redhat_1.1.ep7.el60:1.5.5.013-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-activemq-artemis-jms-serverbefore 0:1.5.5.013-1.redhat_1.1.ep7.el60:1.5.5.013-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-activemq-artemis-journalbefore 0:1.5.5.013-1.redhat_1.1.ep7.el60:1.5.5.013-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-activemq-artemis-nativebefore 0:1.5.5.013-1.redhat_1.1.ep7.el60:1.5.5.013-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-activemq-artemis-rabefore 0:1.5.5.013-1.redhat_1.1.ep7.el60:1.5.5.013-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-activemq-artemis-selectorbefore 0:1.5.5.013-1.redhat_1.1.ep7.el60:1.5.5.013-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-activemq-artemis-serverbefore 0:1.5.5.013-1.redhat_1.1.ep7.el60:1.5.5.013-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-activemq-artemis-service-extensionsbefore 0:1.5.5.013-1.redhat_1.1.ep7.el60:1.5.5.013-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-apache-cxfbefore 0:3.1.16-1.redhat_1.1.ep7.el60:3.1.16-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-apache-cxf-rtbefore 0:3.1.16-1.redhat_1.1.ep7.el60:3.1.16-1.redhat_1.1.ep7.el6
Red Hat:jboss_enterprise_application_platform:7::el6eap7-apache-cxf-servicesbefore 0:3.1.16-1.redhat_1.1.ep7.el60:3.1.16-1.redhat_1.1.ep7.el6

+96

Other highest-scoring records for the same primary product.

  • CVE-2019-12419Apache 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.
    43Plan
  • CVE-2010-2076Apache CXF 2.0.x before 2.0.13, 2.1.x before 2.1.10, and 2.2.x before 2.2.9, as used in Apache ServiceMix, Apache Camel, Apache Chemistry, A
    42Plan
  • CVE-2012-2379Apache 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 o
    41Plan
  • CVE-2022-46364Apache CXF SSRF Vulnerability
    40Plan
  • CVE-2012-0803The WS-SP UsernameToken policy in Apache CXF 2.4.5 and 2.5.1 allows remote attackers to bypass authentication by sending an empty UsernameTo
    40Plan
  • CVE-2026-68079Apache CXF: DefaultEncryptingCodeDataProvider allows unlimited authorization code replay
    39Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Maven:org.apache.cxf:apache-cxf3.1.16Package registry (OSV)
Maven:org.apache.cxf:apache-cxf3.2.5Package registry (OSV)
Maven:org.apache.cxf:cxf-rt-transports-http3.1.16Package registry (OSV)
Maven:org.apache.cxf:cxf-rt-transports-http3.2.5Package registry (OSV)
red hat:eap7-apache-cxf0:3.1.16-1.redhat_1.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6Package registry (OSV)
red hat:eap7-apache-cxf-rt0:3.1.16-1.redhat_1.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6Package registry (OSV)
red hat:eap7-apache-cxf-services0:3.1.16-1.redhat_1.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6Package registry (OSV)
red hat:eap7-apache-cxf-tools0:3.1.16-1.redhat_1.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6Package registry (OSV)
red hat:eap7-wildfly0:7.1.3-4.GA_redhat_3.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6Package registry (OSV)
red hat:eap7-wildfly-modules0:7.1.3-4.GA_redhat_3.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6Package registry (OSV)
red hat:eap7-wss4j0:2.1.12-1.redhat_1.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6Package registry (OSV)
red hat:eap7-wss4j-bindings0:2.1.12-1.redhat_1.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6Package registry (OSV)
red hat:eap7-wss4j-policy0:2.1.12-1.redhat_1.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6Package registry (OSV)
red hat:eap7-wss4j-ws-security-common0:2.1.12-1.redhat_1.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6Package registry (OSV)
red hat:eap7-wss4j-ws-security-dom0:2.1.12-1.redhat_1.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6Package registry (OSV)
red hat:eap7-wss4j-ws-security-policy-stax0:2.1.12-1.redhat_1.1.ep7.el6 · Red Hat:jboss_enterprise_application_platform:7::el6Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:02018-11-19

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+140 d
  3. TodayOct 9, 2026+3022 d
EPSS, last 120 days+1% in 7 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records