PoC Monitor
← All CVEs
CVE-2021-35464published 22 Jul 2021 17:10 UTCData: JSON · API

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

First public PoC 20 days beforebefore publication · 2 Jul 2021 · Metasploit
Public PoCs41 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-502
CISA KEV 3 Nov 2021104 days after publication · ransomware use known

Timeline

Days relative to CVE publication
-14t=0+14+28+42+56+70+84+98First public PoC2 Jul 2021 · t−20dCVE published22 Jul 2021 · t = 0Added to CISA KEV3 Nov 2021 · t+104d

First 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
RepositoryCreatedStarsAssessment
rood8008/CVE-2021-35464 21 Aug 2021 +30 d 0 Scanner
Pending 1
RepositoryCreatedStarsAssessment
Y4er/openam-CVE-2021-35464 1 Jul 2021 −22 d 88 Pending · repository exceeds size limit via PoC Index
Suspicious or fake 1
RepositoryCreatedStarsAssessment
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.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

GET /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.

GET /openam/oauth2/..;/ccversion/Version
(?i)^/openam/oauth2/\.\.;/ccversion/Version\?(?:.*&)?jato\.pageSession=XYZ

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /openam/oauth2/..;/ccversion/Version
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.

GET /openam/oauth2/..;/ccversion/Version
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