.. / CVE-2021-35464

Exploit for ForgeRock OpenAM <7.0 - Remote Code Execution (CVE-2021-35464)

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.

Nuclei Template

View the template here CVE-2021-35464.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2021/CVE-2021-35464.yaml
Copy

References:

https://nvd.nist.gov/vuln/detail/CVE-2021-35464
https://bugster.forgerock.org
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35464
https://portswigger.net/research/pre-auth-rce-in-forgerock-openam-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