#VU38945 Data Handling in Spring Security OAuth


Published: 2017-05-25 | Updated: 2020-08-08

Vulnerability identifier: #VU38945

Vulnerability risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2016-4977

CWE-ID: CWE-19

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Spring Security OAuth
Server applications / Frameworks for developing and running applications

Vendor: Pivotal

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Spring Security OAuth: 1.0.0 - 2.0.9


External links
http://www.openwall.com/lists/oss-security/2019/10/16/1
http://lists.apache.org/thread.html/0841d849c23418c473ccb9183cbf41a317cb0476e44be48022ce3488@%3Cdev.fineract.apache.org%3E
http://lists.apache.org/thread.html/37d7e820fc65a768de3e096e98382d5529a52a039f093e59357d0bc0@%3Cdev.fineract.apache.org%3E
http://lists.apache.org/thread.html/5e6dd946635bbcc9e1f2591599ad0fab54f2dc3714196af3b17893f2@%3Cannounce.apache.org%3E
http://lists.apache.org/thread.html/96c017115069408cec5e82ce1e6293facab398011f6db7e1befbe274@%3Cdev.fineract.apache.org%3E
http://pivotal.io/security/cve-2016-4977


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability