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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.cxf » cxf-core | < 3.0.12>= 3.1.0, < 3.1.9 | 3.0.12, 3.1.9 |
Blast radius
42% of the dependent artifacts (1,243) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.cxf » cxf-rt-frontend-jaxws1,379 usages
- org.apache.cxf » cxf-rt-transports-http1,281 usages
- org.apache.cxf » cxf-rt-frontend-jaxrs1,257 usages
- org.apache.cxf » cxf-codegen-plugin811 usages
- io.fabric8 » fabric8-maven-plugin676 usages
- org.apache.cxf » cxf-rt-rs-client515 usages
- org.apache.cxf » cxf-rt-transports-http-jetty513 usages
- org.apache.tika » tika-parsers480 usages
- org.apache.cxf » cxf-rt-ws-security478 usages
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- org.wildfly » wildfly-feature-pack372 usages
- org.apache.cxf » cxf-rt-bindings-soap314 usages
- org.apache.cxf » cxf-rt-rs-service-description281 usages
- org.apache.camel » camel-cxf259 usages
- org.apache.cxf » cxf-rt-ws-policy239 usages
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.
