CVE-2016-4977

Summary

CVECVE-2016-4977
StatePUBLISHED
Assignerdell
Source PriorityCVE Program / NVD first with legacy fallback
Published2017-05-25 17:29:00 UTC
Updated2025-04-20 01:37:25 UTC
DescriptionWhen 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.

Risk And Classification

Primary CVSS: v3.0 8.8 HIGH from [email protected]

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem Types: CWE-19 | Remote Code Execution


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary8.8HIGHCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary6.5AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS v3.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
Single
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:S/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Pivotal Spring Security Oauth 1.0.0 All All All
Application Pivotal Spring Security Oauth 1.0.1 All All All
Application Pivotal Spring Security Oauth 1.0.2 All All All
Application Pivotal Spring Security Oauth 1.0.3 All All All
Application Pivotal Spring Security Oauth 1.0.4 All All All
Application Pivotal Spring Security Oauth 1.0.5 All All All
Application Pivotal Spring Security Oauth 2.0.0 All All All
Application Pivotal Spring Security Oauth 2.0.1 All All All
Application Pivotal Spring Security Oauth 2.0.2 All All All
Application Pivotal Spring Security Oauth 2.0.3 All All All
Application Pivotal Spring Security Oauth 2.0.4 All All All
Application Pivotal Spring Security Oauth 2.0.5 All All All
Application Pivotal Spring Security Oauth 2.0.6 All All All
Application Pivotal Spring Security Oauth 2.0.7 All All All
Application Pivotal Spring Security Oauth 2.0.8 All All All
Application Pivotal Spring Security Oauth 2.0.9 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Pivotal Spring Security OAuth affected 2.0.0 to 2.0.9 Not specified
CNA Pivotal Spring Security OAuth affected 1.0.0 to 1.0.5 Not specified

References

ReferenceSourceLinkTags
oss-security - Fwd: [CVE-2016-4977] Apache Fineract remote code execution vulnerabilities fixed in v1.3.0 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
CVE-2016-4977 Remote Code Execution (RCE) in Spring Security OAuth | Security | Pivotal af854a3a-2127-422b-91ae-364da2661108 pivotal.io Vendor Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 981223 Java (maven) Security Update for org.springframework.security.oauth:spring-security-oauth2 (GHSA-7q9c-h23x-65fq)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report