MODERATE 6.1

CVE-2016-6812

Improper Neutralization of Input During Web Page Generation in Apache CXF

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.cxf » cxf-core
< 3.0.12>= 3.1.0, < 3.1.9
3.0.12, 3.1.9

Blast radius

1affected artifacts
326affected versions
2,943dependent artifacts (est.)
109,668dependent versions

42% of the dependent artifacts (1,243) still pull an affected version in their latest release.

DepthDependent versions
Direct
28,766
2 hops
30,217
3 hops
17,630
4 hops
10,789
5 hops
11,392
6 hops
10,874

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.