nuclei-templates/http/cves/2021/CVE-2021-29156.yaml

47 lines
2.2 KiB
YAML
Raw Normal View History

2021-07-11 09:09:41 +00:00
id: CVE-2021-29156
info:
name: LDAP Injection In OpenAM
2021-07-11 09:09:41 +00:00
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.
2023-09-27 15:51:13 +00:00
impact: |
Allows an attacker to execute arbitrary LDAP queries and potentially gain unauthorized access to sensitive information or perform unauthorized actions
2023-09-06 12:09:01 +00:00
remediation: Upgrade to OpenAM commercial version 13.5.1 or later.
2022-01-25 16:38:01 +00:00
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
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
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
2024-05-31 19:23:20 +00:00
epss-score: 0.29536
epss-percentile: 0.96913
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:forgerock:openam:*:*:*:*:*:*:*:*
2022-07-10 09:37:30 +00:00
metadata:
max-request: 3
2023-07-11 19:49:27 +00:00
vendor: forgerock
product: openam
shodan-query:
- http.title:"OpenAM"
- http.title:"openam"
2024-05-31 19:23:20 +00:00
fofa-query: title="openam"
google-query: intitle:"openam"
2024-01-14 09:21:50 +00:00
tags: cve2021,cve,openam,ldap,injection,forgerock
2021-07-11 09:09:41 +00:00
http:
2021-07-11 09:09:41 +00:00
- 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: 4a0a0047304502206e4bb214ed434b6c75a1d3011338a5c9e65649ff6cd3ad8e9f91358194c0513902210096cbc0163a37343fd5bc44e117e2db50207ab13fe70f7ee15dbd1e861db65315:922c64590222798bb761d5b6d8e72950