{"id":"CVE-2021-29156","published":"2021-03-25T08:20:13Z","modified":"2024-08-03T22:02:51Z","title":"ForgeRock OpenAM before 13.5.1 allows LDAP injection via the Webfinger protocol","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is an LDAP injection vulnerability in the Webfinger protocol handling of ForgeRock OpenAM, affecting versions before 13.5.1. An unauthenticated attacker can exploit it to retrieve password hashes character by character, or to obtain session tokens or private keys.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:18:29Z"},"cvss":null,"epss":{"score":0.77732,"percentile":0.99699,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://portswigger.net/research/hidden-oauth-attack-vectors","tags":["x_refsource_MISC"]},{"url":"https://bugster.forgerock.org/jira/browse/OPENAM-10135","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-15795","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-15795","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":50480,"url":"https://www.exploit-db.com/exploits/50480","title":"ForgeRock OpenAM 13.0 - LDAP Injection","type":"webapps","platform":"java","date":"2021-11-03","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2021-11-03"},"pocGithub":{"count":2,"skipped":0,"earliest":"2021-11-03","earliestUrl":"https://github.com/guidepointsecurity/CVE-2021-29156","repos":[{"name":"guidepointsecurity/CVE-2021-29156","url":"https://github.com/guidepointsecurity/CVE-2021-29156","stars":4,"created":"2021-11-03"},{"name":"5amu/CVE-2021-29156","url":"https://github.com/5amu/CVE-2021-29156","stars":1,"created":"2022-10-07"}]},"nuclei":[{"id":"CVE-2021-29156","name":"LDAP Injection In OpenAM","severity":"high","path":"http/cves/2021/CVE-2021-29156.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-29156.yaml"}],"first":{"date":"2021-11-03","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/50480"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2021-03-25","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-29156","provenance":"source"},{"date":"2021-11-03","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-50480); later: PoC-in-GitHub 2021-11-03","url":"https://www.exploit-db.com/exploits/50480","provenance":"source"}],"speed":{"daysToPublicExploit":223,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":24.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.94,"detail":"percentile 0.9970"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 2 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-openidentityplatform-openam-cve-2021-29156","children":[{"from":"CVE-2021-29156","to":"CVE-2026-41573","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"Prior to 16.1.1, IdentityResourceV1.queryCollection() passes the _queryId parameter from /json/{realm}/users to CrestQuery with escapeQueryId disabled, bypassing protection added for CVE-2021-29156.","from":"CVE.org","in":"CVE-2026-41573"}]}]}}