CVE DatabaseCVE-2021-35464
한국어 권고문 →
CVE-2021-354649.8/CRITICALCISA KEVCWE-502CWE-502

ForgeRock Access Manager (OpenAM) JATO Java Deserialization Remote Code Execution (RCE) Vulnerability (CVE-2021-35464) Security Advisory

⚡ Jump to Patch
Affected Vendors
forgerock
Affected Components
access manager, openam
Published Date
2021-07-22
CVSS v3.1
9.8
CRITICAL
EPSS (30d)
100.0%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

ForgeRock Access Manager (AM) versions prior to 7.0 (including OpenAM 14.6.3 and earlier)

Impact

Unauthenticated remote attackers can execute arbitrary code with system privileges by sending a single crafted HTTP request

Mitigation

Immediately upgrade to ForgeRock AM 7.0 or later, or restrict external access to JATO-related endpoints such as /ccversion/*

Affected Products & Version Scope

All ForgeRock Access Manager (AM) versions prior to 7.0, including OpenAM 14.6.3 and below

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

The recommended remediation is to upgrade ForgeRock AM to version 7.0 or higher. For containerized deployments, update your base image in the Dockerfile.

bash
# Update the base image in your Dockerfile to a secure version
FROM forgerock/openam:7.0.0

# Rebuild and redeploy the container image
# docker build -t my-reg/openam:7.0.0 .

2. Temporary Workaround & Hardening Configuration

If an immediate upgrade is not feasible, block access to the vulnerable /ccversion/* endpoint and requests containing the jato.pageSession parameter using a reverse proxy or WAF.

nginx
# Nginx configuration to block exploitation attempts
server {
    listen 80;
    server_name am.example.com;

    # Block access to the vulnerable JATO endpoint
    location ~* /ccversion/ {
        return 403 'Access Denied: Security Policy Restriction';
    }

    # Block requests containing the malicious parameter
    if ($args ~* "jato.pageSession") {
        return 403;
    }
}

3. Log Audit & IoC Verification Commands

Inspect web server access logs to identify potential exploitation attempts targeting the /ccversion path or containing the jato.pageSession parameter.

bash
# Scan access logs for indicators of compromise (IoCs)
grep -Ei 'ccversion|jato\.pageSession' /var/log/nginx/access.log /var/log/httpd/access_log

# Verify the running Java process and environment for ForgeRock AM
ps -ef | grep -i 'openam' | grep -i 'java'
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
Cloudflare Enterprise & Pro WAF
As this vulnerability is actively exploited in the wild (CISA KEV), immediately block external access to the /ccversion/* endpoint and upgrade to ForgeRock AM 7.0+.

Block Exploits Instantly with Managed Virtual Patching Rules

Can't patch production immediately? Deploy managed WAF rules at the edge to intercept RCE, SQLi, and deserialization payloads before they hit your origin server.

3-min setup · Automated Zero-Day Managed Rules
Practice Exploiting & Patching This Web Vulnerability in an Interactive Lab
Launch Hands-On Security Lab

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability is a Java deserialization flaw in ForgeRock Access Manager (formerly OpenAM) stemming from the integration of the legacy Sun ONE Application Framework (JATO). In environments running Java 8 or earlier, the JATO framework processes user-supplied input via the jato.pageSession parameter without proper validation. Consequently, when untrusted data is deserialized back into Java objects, it triggers arbitrary code execution.

2. Exploitation Mechanics & Attack Scenario

An unauthenticated attacker can access JATO-based pages, including the /ccversion/* path, without any credentials. By leveraging known Java deserialization gadget chains (such as CommonsCollections), the attacker crafts a malicious payload designed to execute OS commands. This payload is typically Base64-encoded and passed via the jato.pageSession parameter. Upon receiving a single HTTP GET or POST request containing this payload, the server deserializes the object and immediately executes the embedded commands.

3. Infrastructure & Business Impact

With a CVSS score of 9.8 (Critical) and its inclusion in CISA's Known Exploited Vulnerabilities (KEV) catalog, this vulnerability represents an active and severe threat. Successful exploitation grants the attacker complete control over the ForgeRock AM server, which serves as the enterprise's Identity and Access Management (IAM) hub. This can lead to lateral movement within the internal network, credential harvesting, ransomware deployment, and catastrophic business disruption.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2021-35464)

FAQ

Q1. How critical is CVE-2021-35464 and is it actively exploited in the wild?

CVE-2021-35464 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 100.0%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2021-35464?

Primary impacted vendors include forgerock across access manager, openam. Scope summary: All ForgeRock Access Manager (AM) versions prior to 7.0, including OpenAM 14.6.3 and below

Q3. What temporary mitigations or workarounds exist for CVE-2021-35464 before patching?

[Mitigation] Immediately upgrade to ForgeRock AM 7.0 or later, or restrict external access to JATO-related endpoints such as /ccversion/* Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2021-35464

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (forgerock)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2021-35464 ForgeRock Access Manager (OpenAM) JATO Java Deserialization Remote Code Execution (RCE) Vulnerability (CVE-2021-35464) Security Advisory (CVSS 9.8) - Patch & Workaround | CVE Pulse