CVE-2016-4977
Spring Security OAuth vulnerable to remote code execution (RCE) via specially crafted request using whitelabel views
Description
When processing authorization requests using the whitelabel views in Spring Security OAuth 2.0.0 to 2.0.9 and 1.0.0 to 1.0.5, the response_type parameter value was executed as Spring SpEL which enabled a malicious user to trigger remote code execution via the crafting of the value for response_type.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.security.oauth » spring-security-oauth2 | >= 1.0.0, < 1.0.5>= 2.0.0, < 2.0.10 | 1.0.5, 2.0.10 |
Blast radius
64% of the dependent artifacts (193) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,760 |
| 2 hops | 1,714 |
| 3 hops | 1,129 |
| 4 hops | 220 |
| 5 hops | 60 |
Most used dependents
- io.pivotal.spring.cloud » spring-cloud-services-starter-config-client205 usages
- org.springframework.cloud » spring-cloud-starter-oauth298 usages
- org.squashtest.tm » tm.service79 usages
- org.squashtest.tm » tm.web44 usages
- com.hand » hap-pom28 usages
- com.hand » hap27 usages
- org.cloudfoundry » cloudfoundry-client-lib20 usages
- org.mitre » openid-connect-client18 usages
- com.hand » hap-core17 usages
- org.hspconsortium.carewebframework » cwf-ui-reporting17 usages
- net.smartcosmos » smartcosmos-framework17 usages
- org.springframework.cloud » spring-cloud-dataflow-server-core17 usages
- com.rivigo.security » rivigo-security-resource-server-commons15 usages
- com.netflix.spinnaker.gate » gate-core12 usages
- org.hspconsortium.carewebframework » cwf-api-core11 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-4977 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-7q9c-h23x-65fq | github.com |
| Web | thread.html/0841d849c23418c473ccb9183cbf41a317cb0476e44be48022ce3488@<dev.fineract.apache. ... | lists.apache.org |
| Web | thread.html/37d7e820fc65a768de3e096e98382d5529a52a039f093e59357d0bc0@<dev.fineract.apache. ... | lists.apache.org |
| Web | thread.html/5e6dd946635bbcc9e1f2591599ad0fab54f2dc3714196af3b17893f2@<announce.apache.org> | lists.apache.org |
| Web | thread.html/96c017115069408cec5e82ce1e6293facab398011f6db7e1befbe274@<dev.fineract.apache. ... | lists.apache.org |
| Web | security/cve-2016-4977 | pivotal.io |
| Web | lists/oss-security/2019/10/16/1 | openwall.com |
