BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-29156 in Forgerock Openam

High 7.5 Public exploit reported

ForgeRock OpenAM before 13.5.1 allows LDAP injection via the Webfinger protocol. For example, an unauthenticated attacker can perform character-by-character retrieval of password hashes, or retrieve a session token or a private key.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
EPSS77.7%
EPSS percentile100th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Forgerock Openam < 13.5.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official description

ForgeRock OpenAM before 13.5.1 allows LDAP injection via the Webfinger protocol. For example, an unauthenticated attacker can perform character-by-character retrieval of password hashes, or retrieve a session token or a private key.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-29156
BreachSpider IDBS-2021-GLOBAL-157643-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published2021-03-25
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-74: Injection

Parent class for all injection vulnerabilities where attacker-supplied data is interpreted as code or commands.

Related attack patterns (CAPEC)

CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters via CWE-74

CAPEC-7 Blind SQL Injection via CWE-74

CAPEC-8 Buffer Overflow in an API Call via CWE-74

CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-74

CAPEC-10 Buffer Overflow via Environment Variables via CWE-74

Show all 37

CAPEC-13 Subverting Environment Variable Values via CWE-74

CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-74

CAPEC-24 Filter Failure through Buffer Overflow via CWE-74

CAPEC-34 HTTP Response Splitting via CWE-74

CAPEC-42 MIME Conversion via CWE-74

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-74

CAPEC-45 Buffer Overflow via Symbolic Links via CWE-74

CAPEC-46 Overflow Variables and Tags via CWE-74

CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-74

CAPEC-51 Poison Web Service Registry via CWE-74

CAPEC-52 Embedding NULL Bytes via CWE-74

CAPEC-53 Postfix, Null Terminate, and Backslash via CWE-74

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-74

CAPEC-67 String Format Overflow in syslog() via CWE-74

CAPEC-71 Using Unicode Encoding to Bypass Validation Logic via CWE-74

CAPEC-72 URL Encoding via CWE-74

CAPEC-76 Manipulating Web Input to File System Calls via CWE-74

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-74

CAPEC-79 Using Slashes in Alternate Encoding via CWE-74

CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic via CWE-74

CAPEC-83 XPath Injection via CWE-74

CAPEC-84 XQuery Injection via CWE-74

CAPEC-101 Server Side Include (SSI) Injection via CWE-74

CAPEC-105 HTTP Request Splitting via CWE-74

CAPEC-108 Command Line Execution through SQL Injection via CWE-74

CAPEC-120 Double Encoding via CWE-74

CAPEC-273 HTTP Response Smuggling via CWE-74

CAPEC-6 Argument Injection via CWE-74

CAPEC-135 Format String Injection via CWE-74

CAPEC-250 XML Injection via CWE-74

CAPEC-267 Leverage Alternate Encoding via CWE-74

CAPEC-28 Fuzzing via CWE-74

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2021-29156 affects ForgeRock OpenAM versions before 13.5.1, allowing an unauthenticated attacker to perform LDAP injection via the Webfinger protocol. This can lead to the retrieval of password hashes, session tokens, or private keys, posing a significant risk to the security of the affected systems.

An unauthenticated attacker can exploit this vulnerability by injecting malicious input into the Webfinger protocol, which is used for user discovery and information retrieval. The attacker can manipulate the input to perform character-by-character retrieval of sensitive information, such as password hashes, session tokens, or private keys.

Compensating controls AI-drafted, review before use

Implement input validation and sanitization for the Webfinger protocol to prevent injection attacks. Additionally, monitor and log all Webfinger requests for suspicious activity.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2021-29156?

CVE-2021-29156 affects ForgeRock OpenAM versions before 13.5.1, allowing an unauthenticated attacker to perform LDAP injection via the Webfinger protocol. This can lead to the retrieval of password hashes, session tokens, or private keys, posing a significant risk to the security of the affected systems.

What is the CVSS score for CVE-2021-29156?

CVE-2021-29156 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 77.7%.

Is CVE-2021-29156 actively exploited?

Public exploit available for CVE-2021-29156. Exploitation risk elevated.

How do I remediate CVE-2021-29156?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2021-29156?

CVE-2021-29156 affects Forgerock Openam.

What NERC-CIP standard applies to CVE-2021-29156?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows an unauthenticated attacker to inject malicious input, potentially leading to the compromise of sensitive information and system integrity.

What IEC 62443 requirement maps to CVE-2021-29156?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves the injection of malicious input into a protocol, which can lead to the unauthorized retrieval of sensitive information, violating the security requirements for input validation and data protection.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Forgerock","product":"Openam","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.