Every CVESearch/Get API key

CVE-2016-4977

Spring Security OAuth vulnerable to remote code execution (RCE) via specially crafted request using whitelabel views

8.8 HighPublic exploitFix available

CVE-2016-4977 is a high vulnerability (CVSS 8.8) in Pivotal Spring Security Oauth, published May 25, 2017. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 80.0%, the 99th percentile. Fixed in org.springframework.security.oauth:spring-security-oauth2 2.0.10.

What does this mean?
Severity
8.8 HighCVSS 3.0, NVD
Exploit chance
80.0%EPSS, 99th percentile
Exploitation
None known4 public exploits

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

80.0%Up 74.5 points since Feb 4, 2022
90%50%10%1%

Discussion

Quiet in the last day.
14 days ago: 0 people13 days ago: 0 people12 days ago: 0 people11 days ago: 1 person10 days ago: 0 people9 days ago: 0 people8 days ago: 0 people7 days ago: 0 people6 days ago: 0 people5 days ago: 0 people4 days ago: 0 people3 days ago: 0 people2 days ago: 0 people1 day ago: 0 peopleLast 24 hours: 0 people

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.springframework.security.oauth:spring-security-oauth2
Maven
2.0.0 up to 2.0.10
2.0.10
org.springframework.security.oauth:spring-security-oauth2
Maven
1.0.0 up to 1.0.5
1.0.5
org.springframework.security.oauth:spring-security-oauth2
Maven
2.0.0 up to 2.0.10, plus listed versions
2.0.0.RELEASE2.0.1.RELEASE2.0.2.RELEASE2.0.3.RELEASE2.0.4.RELEASE
Show 5 moreShow less
2.0.5.RELEASE2.0.6.RELEASE2.0.7.RELEASE2.0.8.RELEASE2.0.9.RELEASE
2.0.10
org.springframework.security.oauth:spring-security-oauth2
Maven
1.0.0 up to 1.0.5, plus listed versions
1.0.0.RELEASE1.0.1.RELEASE1.0.2.RELEASE1.0.3.RELEASE1.0.4.RELEASE
1.0.5

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubN0b1e6/CVE-2016-4977-POC2020-02-17
PoC in GitHubtpt11fb/SpringVulScan2022-06-19
PoC in GitHubCyberCTF/vulhub-spring-cve-2016-49772026-10-08
NucleiSpring Security OAuth2 Remote Command Execution

What each source reports

NVD Score used8.8

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.

Record
CVE-2016-4977
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
6.5 MediumAV:N/AC:L/Au:S/C:P/I:P/A:P
Weakness
CWE-19
Updated
2026-11-02
CVE ListNo score

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.

Record
CVE-2016-4977
Updated
2026-11-02
EUVDEUVD-2018-0540No score

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.

Record
EUVD-2018-0540
Updated
2026-11-03
GitHub AdvisoriesGHSA-7q9c-h23x-65fq8.8

Spring Security OAuth vulnerable to remote code execution (RCE) via specially crafted request using whitelabel views

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.

Record
GHSA-7q9c-h23x-65fq
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV8.8

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.

Record
CVE-2016-4977
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-7q9c-h23x-65fq8.8

Spring Security OAuth vulnerable to remote code execution (RCE) via specially crafted request using whitelabel views

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.

Record
GHSA-7q9c-h23x-65fq
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02

History

History
RecordedChangedSources
exploits, facts
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, Nuclei, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

Show 6 moreShow less
MoveEnter Open