forked from adysec/nuclei_poc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
backup-and-restore-for-wp-plugin-d41d8cd98f00b204e9800998ecf8427e.yaml
58 lines (51 loc) · 1.8 KB
/
backup-and-restore-for-wp-plugin-d41d8cd98f00b204e9800998ecf8427e.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
58
id: backup-and-restore-for-wp-plugin-d41d8cd98f00b204e9800998ecf8427e
info:
name: >
Backup and Restore plugin – WordPress <= 1.0.3 - Authenticated (Admin+) Arbitrary File Deletion
author: topscoder
severity: medium
description: >
The Backup and Restore plugin – WordPress plugin for WordPress is vulnerable to Arbitrary File Deletion via the 'folder_name' parameter in versions up to, and including, 1.0.3. This is due to insufficient sanitization and validation of user-supplied input. This makes it possible for authenticated attackers with admin-level privileges to arbitrarily delete files on the server.
reference:
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e758b973-dc2f-4bcf-9846-56ddd73f38db?source=api-prod
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
cvss-score: 5.5
cve-id:
metadata:
fofa-query: "wp-content/plugins/backup-and-restore-for-wp/"
google-query: inurl:"/wp-content/plugins/backup-and-restore-for-wp/"
shodan-query: 'vuln:'
tags: cve,wordpress,wp-plugin,backup-and-restore-for-wp,medium
http:
- method: GET
redirects: true
max-redirects: 3
path:
- "{{BaseURL}}/wp-content/plugins/backup-and-restore-for-wp/readme.txt"
extractors:
- type: regex
name: version
part: body
group: 1
internal: true
regex:
- "(?mi)Stable tag: ([0-9.]+)"
- type: regex
name: version
part: body
group: 1
regex:
- "(?mi)Stable tag: ([0-9.]+)"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "backup-and-restore-for-wp"
part: body
- type: dsl
dsl:
- compare_versions(version, '<= 1.0.3')