ForgeRock Access Management (AM) Core Server Remote Code Execution Vulnerability (CVE-2021-35464)
Published In CISA KEV since Sources: CVE.org
What is affected, what to do
This CVE describes a remote code execution (RCE) vulnerability in ForgeRock Access Management (AM) Core Server, exploitable by sending a specially crafted HTTP request to specific endpoints. An attacker can execute code as the current user without authentication, leading to full control over the affected instance. The vulnerability is actively exploited in ransomware campaigns since 2021 and is listed in the CISA KEV catalog. Affected are versions up to 7.0 of ForgeRock AM, and an immediate update to the latest version is strongly recommended to mitigate the risk.
The vulnerability is being actively exploited; treat it as a priority. CISA lists it as used in ransomware campaigns. Update ForgeRock Access Management to version 6.5.4, ForgeRock OpenAM to version 14.6.3. Immediate actions, mitigation and detection rules are in the runbook below.
- Affected
- ForgeRock Access Management
lt *..6.5.4 - ForgeRock OpenAM
lt 9.0.0..14.6.3
- ForgeRock Access Management
- Fixed in
- ForgeRock Access Management
6.5.4 - ForgeRock OpenAM
14.6.3
- ForgeRock Access Management
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
9.8
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
9.8
CVSS v3
Severity Critical on the scale from 0 to 10.
Source: CVE.org
—
EPSS score
No value is available for this vulnerability.
Show all metrics
- Severity
- Critical
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 254.00 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- actively exploited
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 9.8 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 9.8
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- Actively exploited
- Published
In CISA KEV since
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary
Response and mitigation
Why act now?
Prioritisation rationale
This vulnerability sits among the CVEs most likely to be exploited at any given moment: pre-authentication RCE via a single network-reachable HTTP request, no user interaction required. Public exploits (including a Metasploit module and mass-scanning payloads) have been circulating since mid-2021, and CISA confirms use in ransomware campaigns — AM/OpenAM typically sits as the central SSO broker, so a compromise yields direct access to identities, OAuth tokens and federated downstream services. For NIS2-scope organisations with any internet-reachable AM/OpenAM instance, treat this as a P1 emergency patch to be remediated inside 24 hours; internally segmented instances remain P2 but should not survive beyond the next scheduled patch window.
Runbook step 1
Immediate response (0-24 h)
- Upgrade to ForgeRock AM 7.0 or later; for legacy OpenAM 13.x/14.x request the vendor hotfix (ForgeRock Security Advisory 202104). All AM 6.5.4 and OpenAM 9.0.0–14.6.3 builds are affected.
- As an immediate workaround, block the three vulnerable endpoints at your reverse proxy or WAF:
/ccversion/Version,/ccversion/Masthead,/ccversion/ButtonFrame. Legitimate end-users never hit these paths. - Additionally disable the
VersionServletmappings in the AM container'sweb.xmland restart the service; this kills the attack surface even if the paths are reached directly. - Remove AM instances from direct internet exposure until patch and workaround are in place — access only via VPN or an authenticated reverse proxy with an allowlist on required SSO/OAuth paths (
/openam/json/,/openam/oauth2/,/openam/UI/Login). - Verify the service account: AM must not run as
root(vendor recommendation). If it does, move it to an unprivileged user immediately to limit RCE blast radius. - Assume compromise where the host was internet-reachable: rotate admin credentials, OAuth client secrets, SAML signing keys and keystore passwords; invalidate active sessions; preserve 90 days of access logs for
/ccversion/*requests for forensic review.
Runbook step 2
Mitigation layers
- WAF / reverse proxy (nginx, Apache, F5, Cloudflare): hard-deny URI patterns
^/.*ccversion/(Version|Masthead|ButtonFrame)and any GET/POST carrying ajato.pageSessionparameter, regardless of context path. - Network segmentation: restrict AM management interfaces (admin console, JMX, container admin ports 4848/8080/8443) to dedicated admin VLANs; enforce strict egress from AM hosts to known LDAP/DB/SMTP destinations only, to break reverse-shell callbacks.
- Harden Java deserialisation: set JVM flag
-Djdk.serialFilterwith a blocklist onsun.*,com.iplanet.*,com.sun.identity.*where the container supports it; alternatively removejatolibraries from the classpath if not functionally required. - Endpoint hardening: deploy an AppArmor/SELinux profile for the AM container process that denies
execveof/bin/sh,curl,wget,python,perl; this defeats off-the-shelf RCE payloads. - IAM / least privilege: the AM service account must have no
sudorights, no write access to startup scripts, and no visibility into other keystores on the host. - Enable IPS signatures (Suricata/Snort ET ruleset has coverage for CVE-2021-35464 since July 2021); equivalent coverage exists in Palo Alto Threat-ID 91277 and Trellix/McAfee NSP ForgeRock JATO deserialisation signature.
- WAF / reverse proxy (nginx, Apache, F5, Cloudflare): hard-deny URI patterns
Runbook step 3
Detection rules
- Access logs (nginx/Apache/Tomcat): alert on any request to
*/ccversion/Version*,*/ccversion/Masthead*,*/ccversion/ButtonFrame*, especially carryingjato.pageSession=in query or body. Pattern:uri_path matches "/ccversion/(Version|Masthead|ButtonFrame)". - Sigma shape:
detection: selection: cs-uri-stem|contains: '/ccversion/' AND (cs-uri-query|contains: 'jato.pageSession' OR cs-method: 'POST')— severity high. - Process telemetry (Sysmon EID 1 / Linux auditd
execve): child processes of the AM/Tomcat/Jetty JVM spawningsh,bash,curl,wget,nc,python,base64— the canonical post-deserialisation chain. - Network (Zeek/Suricata): outbound connections from AM hosts to non-approved destinations/ports, especially new DNS lookups for Pastebin, raw.githubusercontent, transfer.sh, and reverse shells on high ports.
- KQL (Defender for Endpoint):
DeviceProcessEvents | where InitiatingProcessFileName in~ ("java","java.exe") and FileName in~ ("sh","bash","cmd.exe","powershell.exe","curl","wget") | where InitiatingProcessCommandLine has_any ("openam","forgerock","amserver"). - File-integrity monitoring on the AM config directory (
~/openam/,/path/to/AM/) and webroot — any new.jsp/.classfile or modifiedweb.xmlis an incident.
- Access logs (nginx/Apache/Tomcat): alert on any request to
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
Description
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
Source: NVD (NIST), cvelistv5, CISA KEV Catalog, CVE.org (MITRE)
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| forgerock | access_management |
|
|
| forgerock | openam |
|
|
Vendors and products
Public exploit references
Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.
| CISA KEV Catalog | CISA Known Exploited Vulnerability (opens in a new tab)cisa.gov | actively exploited | |
| Packet Storm | ForgeRock OpenAM Jato Java Deserialization (opens in a new tab)packetstormsecurity.com | PoC (publicly reported)reported, not verified | — |
| Packet Storm | ForgeRock Access Manager OpenAM 14.6.3 Remote Code Execution (opens in a new tab)packetstormsecurity.com | PoC (publicly reported)reported, not verified | — |
References & sources
- bugster.forgerock.orgx_refsource_MISC, Broken link
- packetstormsecurity.comfiles/163486/ForgeRock-OpenAM-Jato-Java-Deserialization.htmlx_refsource_MISC, Exploit, Third-party advisory, Vulnerability database
- packetstormsecurity.comfiles/163525/ForgeRock-Access-Manager-OpenAM-14.6.3-Remote-Code…x_refsource_MISC, Exploit, Third-party advisory, Vulnerability database
- backstage.forgerock.comknowledge/kb/article/a47894244x_refsource_CONFIRM, Exploit, Permissions required, Vendor advisory
- cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2021-35464government-resource, US government resource
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2021-35464"><img src="https://intel.neosec.eu/badge/cve/CVE-2021-35464.svg?lang=en" alt="CVE-2021-35464 – NEOSEC Intel" height="20"></a>