CVE-2016-4977
mediumpriority · attend · 73EPSS 0.792 · 100 %ileexploit · PoCEUUSEPSS · scored 2026-10-26
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.5–8.8
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (3)
Public proof-of-concept and weaponised exploit code.
- N0b1e6/CVE-2016-4977-POCN0b1e6/CVE-2016-4977-POCPoC · poc_in_github
affected products (20)
Products and version ranges known to be affected.
- Maven org.springframework.security.oauth:spring-security-oauth21.0.0 → 1.0.5osvUSpkg:maven/org.springframework.security.oauth/spring-security-oauth2
- Maven org.springframework.security.oauth:spring-security-oauth22.0.0 → 2.0.10osvUSpkg:maven/org.springframework.security.oauth/spring-security-oauth2
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-7q9c-h23x-65fqSpring Security OAuth vulnerable to remote code execution (RCE) via specially crafted request using whitelabel views2018-10-18ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (19)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2019/10/16/1cnnvd
- https://github.com/spring-projects/spring-security-oauth/commit/fff77d3fea477b566bcacfbfc95f85821a2bdc2dPatchcnnvd
- https://lists.apache.org/thread.html/0841d849c23418c473ccb9183cbf41a317cb0476e44be48022ce3488@%3Cdev.fineract.apache.org%3Ecnnvd
- https://lists.apache.org/thread.html/37d7e820fc65a768de3e096e98382d5529a52a039f093e59357d0bc0@%3Cdev.fineract.apache.org%3Ecnnvd
- https://lists.apache.org/thread.html/5e6dd946635bbcc9e1f2591599ad0fab54f2dc3714196af3b17893f2@%3Cannounce.apache.org%3Ecnnvd
- https://lists.apache.org/thread.html/96c017115069408cec5e82ce1e6293facab398011f6db7e1befbe274@%3Cdev.fineract.apache.org%3Ecnnvd
- https://pivotal.io/security/cve-2016-4977cnnvd
- http://www.openwall.com/lists/oss-security/2019/10/16/1enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan