Skip to main content
← All vulnerabilities
CVE-2016-4977GHSA-7Q9C-H23X-65FQ

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_t

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.10, 1.0.5
3 proofs of concept on GitHub, 1 Nuclei template

Summary

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.

Timeline

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • Pivotal Spring Security OAuth

    2.0.0 to 2.0.9, 1.0.0 to 1.0.5

  • org.springframework.security.oauth:spring-security-oauth2Maven

    From 2.0.0 · fixed in 2.0.10

  • org.springframework.security.oauth:spring-security-oauth2Maven

    From 1.0.0 · fixed in 1.0.5

References 10

pivotal.io

lists.apache.org

openwall.com

GitHub · projectdiscovery/nuclei-templates

GitHub · CyberCTF/vulhub-spring-cve-2016-4977

GitHub · N0b1e6/CVE-2016-4977-POC

GitHub · tpt11fb/SpringVulScan