-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
apollo-default-login.yaml
57 lines (49 loc) · 1.25 KB
/
apollo-default-login.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
46
47
48
49
50
51
52
53
54
55
56
57
id: apollo-default-login
info:
name: Apollo Default Login
author: PaperPen
severity: high
description: An Apollo default login was discovered.
reference:
- https://github.com/apolloconfig/apollo
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
cvss-score: 8.3
cwe-id: CWE-522
metadata:
shodan-query: http.favicon.hash:11794165
tags: apollo,default-login
requests:
- raw:
- |
POST /signin HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
Origin: {{BaseURL}}
Referer: {{BaseURL}}/signin?
username={{user}}&password={{pass}}&login-submit=Login
- |
GET /user HTTP/1.1
Host: {{Hostname}}
attack: pitchfork
payloads:
user:
- apollo
pass:
- admin
cookie-reuse: true
req-condition: true
matchers-condition: and
matchers:
- type: word
part: body_2
words:
- '"userId":'
- '"email":'
condition: or
- type: dsl
dsl:
- "status_code_1 == 302 && status_code_2 == 200"
- "contains(tolower(all_headers_2), 'application/json')"
condition: and
# Enhanced by mp on 2022/03/22