41 lines
1.8 KiB
YAML
41 lines
1.8 KiB
YAML
id: CVE-2021-29156
|
|
|
|
info:
|
|
name: LDAP Injection In OpenAM
|
|
author: melbadry9,xelkomy
|
|
severity: high
|
|
description: OpenAM contains an LDAP injection vulnerability. When a user tries to reset his password, they are asked to enter username, and then the backend validates whether the user exists or not through an LDAP query. If the user exists, the password reset token is sent to the user's email. Enumeration can allow for full password retrieval.
|
|
remediation: Upgrade to OpenAM commercial version 13.5.1 or later.
|
|
reference:
|
|
- https://github.com/sullo/advisory-archives/blob/master/Forgerock_OpenAM_LDAP_injection.md https://hackerone.com/reports/1278050 https://www.guidepointsecurity.com/blog/ldap-injection-in-forgerock-openam-exploiting-cve-2021-29156/ https://portswigger.net/research/hidden-oauth-attack-vectors
|
|
- https://portswigger.net/research/hidden-oauth-attack-vectors
|
|
- https://bugster.forgerock.org/jira/browse/OPENAM-10135
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
|
cvss-score: 7.5
|
|
cve-id: CVE-2021-29156
|
|
cwe-id: CWE-74
|
|
epss-score: 0.36709
|
|
epss-percentile: 0.9679
|
|
cpe: cpe:2.3:a:forgerock:openam:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 3
|
|
vendor: forgerock
|
|
product: openam
|
|
shodan-query: http.title:"OpenAM"
|
|
tags: cve,cve2021,openam,ldap,injection
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/openam/ui/PWResetUserValidation"
|
|
- "{{BaseURL}}/OpenAM-11.0.0/ui/PWResetUserValidation"
|
|
- "{{BaseURL}}/ui/PWResetUserValidation"
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'contains(body, "jato.pageSession") && status_code==200'
|
|
|
|
# digest: 4a0a004730450220080e7500d889bec8e56e4e3a4f6dfed999beb52a4762d1742e44e3c0176c5de6022100a143e8331bfa40e343d36d40f48a8841658c4d0e3cdd117bfa0c06ecdfcdc651:922c64590222798bb761d5b6d8e72950
|