CVE-2016-6812: XSS

Published Dec 19, 2016
·
Updated

Apache CXF HTTP transport module 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.

External References:

http://cxf.apache.org/security-advisories.data/CVE-2016-6812.txt.asc?version=1&modificationDate=1482164360602&api=v2

Other sources

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.

Affected Software

14 affected componentsFixes available
maven/org.apache.cxf:cxf-core>=3.1.0<=3.1.8
3.1.9
maven/org.apache.cxf:cxf-core<=3.0.11
3.0.12
redhat/apache-cxf<3.0.12
3.0.12
redhat/apache-cxf<3.1.9
3.1.9
Apache CXF<=3.0.11
Apache CXF=3.1.0
Apache CXF=3.1.1
Apache CXF=3.1.2
Apache CXF=3.1.3
Apache CXF=3.1.4
Apache CXF=3.1.5
Apache CXF=3.1.6
Apache CXF=3.1.7
Apache CXF=3.1.8

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.1.9
  2. Upgrade

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

    Fixed in 3.0.12
  3. Upgrade

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

    Fixed in 3.0.12
  4. Upgrade

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

    Fixed in 3.1.9
  5. Upgrade

    Upgrade Apache CXF HTTP transport module to a version that resolves this vulnerability.

    Fixed in 3.0.12
  6. Upgrade

    Upgrade Apache CXF HTTP transport module to a version that resolves this vulnerability.

    Fixed in 3.1.9

Event History

Dec 21, 2016
Data Sourced
via Red Hat·02:32 PM
DescriptionSeverityAffected Software
Aug 10, 2017
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
DescriptionWeakness
May 13, 2022
Advisory Published
01:09 AM

Frequently Asked Questions

1

What is the severity of CVE-2016-6812?

CVE-2016-6812 has been classified as a medium severity vulnerability.

2

How do I fix CVE-2016-6812?

To fix CVE-2016-6812, upgrade to Apache CXF version 3.0.12 or 3.1.9.

3

What software is affected by CVE-2016-6812?

CVE-2016-6812 affects Apache CXF versions up to 3.0.11 and specific versions in the 3.1.x series.

4

What type of vulnerability is CVE-2016-6812?

CVE-2016-6812 is a vulnerability in the HTTP transport module of Apache CXF that can expose service endpoint information.

5

Is there a patch available for CVE-2016-6812?

Yes, patches for CVE-2016-6812 are available in the releases 3.0.12 and 3.1.9 of Apache CXF.

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