CVE-2016-4977

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.

Severity
HIGH
CVSS v3
8.8
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
80.016%
chance of exploitation in the next 30 days
higher than 99.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 1

Weakness

Timeline

  1. 2017-05-25Published by the CNA17:00 UTC
  2. 2018-10-18GitHub advisory published (GHSA-7q9c-h23x-65fq)511 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Nuclei templates:

GitHub advisory GHSA-7q9c-h23x-65fq, affected packages:

PackageVulnerable versionsFixed in
Maven org.springframework.security.oauth:spring-security-oauth2from 1.0.0 before 1.0.51.0.5
Maven org.springframework.security.oauth:spring-security-oauth2from 2.0.0 before 2.0.102.0.10

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
pivotal spring_security_oauth1.0.0no fix listed1.0.1no fix listed1.0.2no fix listed1.0.3no fix listed1.0.4no fix listed(+11 more)not listednot listednot listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources