ForgeRock OpenAM < 7.0 Remote Code Execution

critical Web Application Scanning Plugin ID 112812
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

ForgeRock OpenAM < 7.0 Remote Code Execution

Description

ForgeRock OpenAM is a popular access management software which is used to provide single sign-on (SSO) features to web applications. ForgeRock OpenAM versions below 7.0 suffer from a deserialization vulnerability, allowing a remote unauthenticated attacker to perform remote code execution on the target application.

Solution

As a temporary workaround, disable the VersionServlet mapping in the web.xml file or block access to the `ccversion` endpoint with a reverse proxy. Upgrade at least to version 7.0 to fix the issue.

See Also

https://backstage.forgerock.com/knowledge/kb/book/b21824339#a47894244

https://portswigger.net/research/pre-auth-rce-in-forgerock-openam-cve-2021-35464

Plugin Details

Severity: Critical

ID: 112812

Type: remote

Published: 6/30/2021

Updated: 9/7/2021

Scan Template: scan, pci

Risk Information

CVSS Score Source: CVE-2021-35464

CVSS v2

Risk Factor: Critical

Base Score: 10

Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Reference Information

CVE: CVE-2021-35464