ForgeRock Access Management (AM)
ForgeRock Access Management (AM) Core Server Remote Code Execution Vulnerability
ForgeRock AM server before 7.0 has a Java deserialization vulnerability in the jato.pageSession parameter on multiple pages. The exploitation does not require authentication, and remote code execution can be triggered by sending a single crafted /ccversion/* request to the server. The vulnerability exists due to the usage of Sun ONE Application Framework (JATO) found in versions of Java 8 or earlier
Timeline
Days relative to CVE publicationFirst public PoC 20 days before publication; added to CISA KEV 104 days after publication. First PoC: Metasploit exploit: ForgeRock / OpenAM Jato Java Deserialization (exploit/multi/http/cve_2021_35464_forgerock_openam) (Metasploit, 2 Jul 2021).
PoC repositories
Found on GitHub.1 PoCs · 1 pending · 1 suspicious or fake
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| rood8008/CVE-2021-35464 | 21 Aug 2021 +30 d | 0 | Scanner |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Y4er/openam-CVE-2021-35464 | 1 Jul 2021 −22 d | 88 | Pending · repository exceeds size limit via PoC Index |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| tijldeneut/Security | 19 Feb 2016 −5.4 y | 157 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | ForgeRock Access Manager 14.6.3 - Remote Code Execution (RCE) (Unauthenticated) | 16 Jul 2021 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: ForgeRock / OpenAM Jato Java Deserialization (exploit/multi/http/cve_2021_35464_forgerock_openam) | 2 Jul 2021 | 14 Nov 2026 |
| nuclei template | nuclei template: ForgeRock OpenAM <7.0 - Remote Code Execution | 27 Apr 2023 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 2 PoC reposGET /openam/oauth2/..;/ccversion/Version
- Query
jato.pageSession=XYZ- PoC User-Agent
body_markers- Seen in
- 1 repo: rood8008/CVE-2021-35464
- Evidence
- rood8008/CVE-2021-35464/CVE-2021-35464.yaml:10 rood8008/CVE-2021-35464/CVE-2021-35464.yaml:12
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/openam/oauth2/\.\.;/ccversion/Version\?(?:.*&)?jato\.pageSession=XYZ
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2021-35464 ForgeRock Access Management (AM) exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/openam/oauth2/..|3b|/ccversion/Version"; http.uri; content:"jato.pageSession=XYZ"; reference:url,poc.griffinguard.io/cve/CVE-2021-35464; classtype:web-application-attack; sid:9316277; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: ForgeRock Access Management (AM) exploit attempt (CVE-2021-35464)
id: gg-pocmon-cve-2021-35464-9316277
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-35464. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-35464
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/openam/oauth2/..;/ccversion/Version'
cs-uri-query|contains|all:
- 'jato.pageSession=XYZ'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2021.35464