WaratekVRT Sign in

CVE-2016-6812 Apache CXF

Affected softwareApache CXF
Severity6.1 Medium CVSS 3.0 2 scores
Fixed in3.0.12, 3.1.9
WeaknessCross-site scripting (CWE-79)
Published10 Aug 2017
Updated17 Jun 2026

Description

The HTTP transport module in Apache CXF prior to 3.0.12 and 3.1.x prior to 3.1.9 uses FormattedServiceListWriter to provide an HTML page which lists the names and absolute URL addresses of the available service endpoints. The module calculates the base URL using the current HttpServletRequest. The calculated base URL is used by FormattedServiceListWriter to build the service endpoint absolute URLs. If the unexpected matrix parameters have been injected into the request URL then these matrix parameters will find their way back to the client in the services list page which represents an XSS risk to the client.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 9 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 7.5% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full
  • Action available patch rule
  • Review human ARMR file
  • Record active
Decided by An ARMR patch file on disk for this CVE
Finding CVE has an ARMR patch rule that provides mitigation

ARMR rule files

1 file

The rule files Waratek ships for this CVE. Some CVEs need more than one, for example one per affected library or one per ARMR version.

CVE-2016-6812.armr patch rule, ARMR 2.6 added 2019-08-20 updated 2026-03-04

How to mitigate CVE-2016-6812

Upgrade Apache CXF to a release that fixes it: 3.0.12 or 3.1.9. Until you can, Waratek RASP blocks exploitation with a rule written for this CVE. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

6.1 MEDIUM v3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 6.1 MEDIUM CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N NVD Primary published
CVSS 2.0 4.3 none AV:N/AC:M/Au:N/C:N/I:P/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.cxf:cxf-core 0 3.0.12 unbounded
org.apache.cxf:cxf-core 3.1.0 3.1.9 unbounded

Products and versions

2 products, 12 version entries
SourceVendorProductSchemeAffected versions
nvd apache cxf generic ≤ 3.0.11 · 3.1.0 · 3.1.1 · 3.1.2 · 3.1.3 · 3.1.4 · 3.1.5 · 3.1.6 · 3.1.7 · 3.1.8
osv org.apache.cxf cxf-core generic < 3.0.12 · ≥ 3.1.0 and < 3.1.9

References

URLTags
https://github.com/apache/cxf/commit/1be97cb13aef121b799b1be4d9793c0e8b925a12 WEB
https://github.com/apache/cxf/commit/1f824d8039c7a42a4aa46f844e6c800e1143c7e7 WEB
https://github.com/apache/cxf/commit/32e89366e2daa5670ac7a5c5c19f0bf9329a4c1e WEB
https://github.com/apache/cxf/commit/a30397b0 WEB
https://access.redhat.com/errata/RHSA-2017:0868 WEB
https://github.com/apache/cxf WEB
https://issues.apache.org/jira/browse/CXF-6216 WEB
https://lists.apache.org/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf@%3Ccommits.cxf.apache.org%3E WEB
https://lists.apache.org/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c@%3Ccommits.cxf.apache.org%3E WEB
https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6@%3Ccommits.cxf.apache.org%3E WEB

Timeline

Published2017-08-10By the CVE Program.
ARMR remediation created2019-08-20Earliest commit adding this CVE's ARMR patch or security rule.
ARMR remediation last updated2026-03-04Most recent commit touching this CVE's ARMR patch or security rule.
Last VRT activity2026-03-04Most recent commit touching this CVE's classification, patch or rule file.
NVD record modified2026-06-17NVD's own last-modified date for this record.