CVE-2016-6806
Apache Wicket vulnerable to CSRF attacks
Description
Apache Wicket 6.x before 6.25.0, 7.x before 7.5.0, and 8.0.0-M1 provide a CSRF prevention measure that fails to discover some cross origin requests. The mitigation is to not only check the Origin HTTP header, but also take the Referer HTTP header into account when no Origin was provided. Furthermore, not all Wicket server side targets were subjected to the CSRF check. This was also fixed.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.wicket » wicket-core | >= 6.20.0, < 6.25.0>= 7.0.0, < 7.5.0>= 8.0.0-M1, < 8.0.0-M2 | 6.25.0, 7.5.0, 8.0.0-M2 |
Blast radius
27% of the dependent artifacts (89) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 789 |
| 2 hops | 1,289 |
| 3 hops | 408 |
| 4 hops | 344 |
| 5 hops | 156 |
Most used dependents
- org.apache.wicket » wicket-extensions371 usages
- org.apache.wicket » wicket223 usages
- org.geoserver.web » gs-web-core194 usages
- org.apache.wicket » wicket-spring182 usages
- org.apache.wicket » wicket-auth-roles120 usages
- org.apache.wicket » wicket-datetime78 usages
- de.tudarmstadt.ukp.clarin.webanno » webanno-support61 usages
- org.apache.wicket » wicket-ioc53 usages
- org.apache.wicket » wicket-devutils50 usages
- de.agilecoders.wicket.webjars » wicket-webjars50 usages
- org.apache.wicket » wicket-native-websocket-javax37 usages
- org.geoserver.web » gs-web-sec-core36 usages
- org.ops4j.pax.wicket » org.ops4j.pax.wicket.service35 usages
- org.apache.isis.viewer » isis-viewer-wicket-ui32 usages
- de.tudarmstadt.ukp.clarin.webanno » webanno-api-dao30 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.
References
| Advisory | NVD CVE-2016-6806 | nvd.nist.gov |
| Package | apache/wicket | github.com |
| Web | thread.html/074b72585f4b7c6adda1af52aecbfe1be23c6d6f5bb9382270f059cd@<announce.apache.org> | lists.apache.org |
