Data Handling in Spring Security OAuth - CVE-2016-4977

 

Data Handling in Spring Security OAuth - CVE-2016-4977

Published: May 25, 2017 / Updated: August 8, 2020


Vulnerability identifier: #VU38945
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2016-4977
CWE-ID: CWE-19
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Pivotal
Affected software:
Spring Security OAuth

Detailed vulnerability description

The vulnerability allows a remote authenticated user to execute arbitrary code.

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.


How to mitigate CVE-2016-4977

Install update from vendor's website.

Sources